/
gallery.css
146 lines (121 loc) · 2.22 KB
/
gallery.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
.toppings {
background: url('bg.jpg') no-repeat center top fixed;
background-size: cover;
}
.filler {
height: 258px;
}
.bacon.boxedin {
min-height: 100px;
}
body, .meat {
max-width: none;
height: 100%;
padding: 0;
}
.bottombun .content {
position: fixed;
z-index: 2;
}
.immersive {
height: 100%;
width: 100%;
padding-top: 52px;
padding-bottom: 32px;
box-sizing: border-box;
max-width: 1600px;
max-height: 900px;
margin: 0 auto;
}
.immersive > div {
height: 100%;
}
.preview {
height: 75%;
overflow: hidden;
white-space: nowrap;
position: relative;
}
.preview > div {
width: 100%;
height: 100%;
display: inline-block;
position: relative;
}
.preview > div img {
width: 100%;
height: 100%;
}
.preview > div p {
font-size: 20pt;
background: rgba(255, 215, 0, 0.7);
position: absolute;
right: 0;
top: 0;
bottom: 0;
margin: 0;
width: 400px;
max-width: 100%;
box-sizing: border-box;
padding: 10px;
}
.ie8 .preview > div p {
/* 1x1 PNG pixel for rgba(255, 215, 0, 0.7); */
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP4f51hEwAHOAKJ/MdPHQAAAABJRU5ErkJggg==');
}
.thumbnails {
list-style-type: none;
padding: 0;
margin: 0;
height: 25%;
overflow-y: hidden;
overflow-x: scroll;
white-space: nowrap;
font-size: .01pt;
}
.thumbnails a {
position: relative;
display: inline-block;
height: 100%;
font-size: initial;
margin: 0 1px;
/* FIXME: need workaround for width problems with Firefox: see https://bugzilla.mozilla.org/show_bug.cgi?id=1187172 */
text-align: center;
}
.thumbnails a, .thumbnails a:hover, .thumbnails a:active, .thumbnails a:focus, img {
outline: none;
border: none;
}
.thumbnails a:after {
display: block;
content: " ";
color: transparent;
font-size: 0;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: none;
transition: background 0.1s linear;
}
.thumbnails a:hover:after {
background: rgba(200, 100, 0, 0.8);
content: " ";
}
.thumbnails a img {
height: 100%;
position: relative;
box-sizing: border-box;
vertical-align: bottom;
}
.ie8 .thumbnails a {
display: inline;
font-size: 48px;
}
.ie8 .thumbnails a img {
z-index: -1;
}
.ie8 .thumbnails a:hover img {
border: 5px solid #C86400;
}