forked from yairEO/photobox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
32 lines (29 loc) · 1.76 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
html{ height:100%; }
body{ min-height:100%; background:url('bg.jpg') repeat-x fixed; box-shadow:0 0 0 10px rgba(255,255,255,0.1) inset; }
@font-face {
font-family: 'Cuprum';
font-style: normal;
font-weight: 400;
src: local('Cuprum'), local('Cuprum-Regular'), url(http://themes.googleusercontent.com/static/fonts/cuprum/v4/sp1_LTSOMWWV0K5VTuZzvQ.woff) format('woff');
}
#wrap{ overflow:hidden; padding:3%; }
#pbOverlay.show ~ #wrap{ -webkit-filter:blur(2px) grayscale(.4);}
.main{ float:left; font-size:1.1em; width:36%; color:#FFF; text-shadow:2px 3px 4px rgba(0,0,0,.5); font-family:'Cuprum'; }
.main h1{ line-height:1; font-size:3em; }
.main small{ color:inherit; }
.main h2{ opacity:0.5; font-size:1.8em; line-height:1; }
.main p{ margin:10% 0; }
.main .btn{ box-shadow:0 0 4px rgba(0,0,0,0.4); }
.main footer{ margin-top:50px; text-shadow:none; font-size:0.9em; }
.main footer a{ color:#D8FF16; -webkit-transition:0.2s; -ms-transition:0.2s; transition:0.2s; }
.main footer a:hover{ text-decoration:none; color:#FF1668; }
#gallery{ float:right; width:60%; }
#gallery > a{ margin:1px; display:inline-block; xbackground:#F1F1F1; width:75px; height:75px; position:relative; vertical-align:bottom;
transition:.1s; -webkit-transition:0.1s; perspective:100px; -webkit-perspective:100px; }
#gallery > a img{ -webkit-transform:rotateX(90deg); transform:rotateX(90deg); transition:.4s ease-out; -webkit-transition:0.4s ease-out; }
#gallery > a.loaded img{ -webkit-transform:rotateX(0deg); transform:rotateX(0deg); }
#gallery > a.loaded:hover{ transform:scale(1.5); -webkit-transform:scale(1.5); box-shadow:0 0 0 3px #FFF, 0 0 20px 5px #000; z-index:2; }
/*------- media queries -----------*/
@media all and (max-width:700px){
#gallery > a{ width:45px; height:45px; }
}