-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
90 lines (84 loc) · 2.2 KB
/
main.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
* {
box-sizing: border-box;
margin: 0;
padding: 0; }
a {
text-decoration: none; }
a {
color: #eeeeee; }
a:hover {
color: white; }
html, body {
width: 100%;
background: #222222;
height: 100%;
min-height: 100%;
max-height: 100%;
margin: 0;
padding: 0; }
footer {
text-align: right; }
.photo_gallery {
position: relative;
overflow: hidden;
height: 100%; }
.photo_gallery div {
position: absolute;
width: 100%;
-webkit-transition: -webkit-transform 0.7s ease-in-out;
-webkit-transform: translate3d(-100%, 0, 0);
-moz-transition: all 0.7s ease-in-out;
-moz-transform: translate(-100%, 0); }
.photo_gallery img {
width: 100%;
margin: 0 auto;
display: block; }
.photo_gallery .pos2 {
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate(0, 0); }
.photo_gallery .pos3, .photo_gallery .pos4 {
-webkit-transform: translate3d(100%, 0, 0);
-moz-transform: translate(100%, 0); }
.photo_gallery .close, .photo_gallery .next, .photo_gallery .prev, .photo_gallery .pause, .photo_gallery .loading, .photo_gallery .info {
position: absolute;
z-index: 4;
color: #cccccc;
background: rgba(70, 70, 70, 0.4);
cursor: pointer; }
.photo_gallery .close:hover, .photo_gallery .next:hover, .photo_gallery .prev:hover, .photo_gallery .pause:hover, .photo_gallery .loading:hover, .photo_gallery .info:hover {
color: white;
background: rgba(40, 40, 40, 0.6); }
.photo_gallery .close {
padding: 0px 9px 2px;
top: 0;
right: 0;
font-size: 1.6em;
color: #dddddd;
background: rgba(70, 70, 70, 0.5); }
.photo_gallery .next, .photo_gallery .prev {
padding: 3px 5px;
top: 47%;
font-size: 1.8em; }
.photo_gallery .prev {
left: 0; }
.photo_gallery .next {
right: 0; }
.photo_gallery .pause {
bottom: 0;
right: 0;
height: 30px;
font-size: 1.2em;
padding: 3px 0 3px 9px; }
.photo_gallery .pause.play {
padding: 0px 5px 5px;
font-size: 1.8em; }
.photo_gallery .loading {
font-size: 1.4em;
top: 10px;
margin: 0 20px;
z-index: 4;
padding: 3px 8px; }
.photo_gallery .info {
right: 0;
font-size: 0.8em;
padding: 1px 3px; }