-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
388 lines (388 loc) · 5.79 KB
/
style.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
/* @override
http://eps.local/~ethan/mondrian/style.css
http://emac.local/~emac/mondrian/style.css
*/
/* @group Meyer's CSS Reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
line-height: 1;
color: black;
background: white;
font-family: Arvo, 'Helvetica Neue', Helvetica;
}
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
/* @end */
@font-face {
font-family: Distill;
src: url('DistillCdBd.otf');
font-weight: bold;
}
header {
background: #f0f0f0;
border-bottom: 6px solid #000;
overflow: hidden;
width: 100%;
padding: 16px 0 8px;
}
h1 {
font-size: 64px;
float: left;
margin-left: 32px;
font-family: Distill;
}
h1 a {
position: relative;
text-decoration: none;
color: #000;
}
.red {
color: #af1919;
}
.blue {
color: #1c18a0;
}
.yellow {
color: #f0cc16;
}
.black {
color: #120d0a;
}
.grey {
color: #bbbdc2;
}
h1 a:hover span {
color: #000;
}
#gal, #i {
display: block;
float: right;
text-indent: -9999px;
opacity: 0.5;
position: relative;
margin: 16px;
}
#gal {
width: 34px;
height: 25px;
margin-top: 18px;
margin-right: 32px;
background: url('gallery.png') no-repeat;
}
#i {
width: 28px;
height: 28px;
background: url('info.png') no-repeat;
}
#gal.current, #i.current {
opacity: 1;
}
h1 a:hover, #gal:hover, #i:hover {
opacity: 1.0;
}
header a:active {
top: 1px;
}
details {
z-index: 1;
display: none;
position: absolute;
right: 0;
top: 92px;
border-left: 6px solid #000;
border-bottom: 6px solid #000;
width: 320px;
background: #fff;
}
details p {
line-height: 1.5;
padding: 16px 16px 0;
}
details a, h2 a {
color: #1c18a0;
position: relative;
text-decoration: none;
}
details a:hover, h2 a:hover {
color: #af1919;
}
details a:active, h2 a:active {
top: 1px;
}
details:target {
opacity: 1;
}
#x {
margin-top: 16px;
display: block;
text-decoration: none;
background: #af1919;
float: left;
color: #fff;
padding: 8px;
font-weight: bold;
font-size: 32px;
position: relative;
}
#x:active {
top: 1px;
}
#content, #gallery {
padding: 16px;
margin: 16px auto;
}
h2 {
font-weight: bold;
font-size: 24px;
line-height: 1.5;
}
#content > h2 {
margin-left: 32px;
}
canvas {
position: relative;
display: block;
margin: 16px auto;
}
canvas, #images li a {
-webkit-transition: -webkit-box-shadow 0.2s linear;
}
canvas:hover, #images li a:hover {
cursor: pointer;
-webkit-box-shadow: 0px 0px 16px #00a5bf;
-moz-box-shadow: 0px 0px 16px #00a5bf;
box-shadow: 0px 0px 16px #00a5bf;
}
canvas:active, #cancel:active, #submit:active {
top: 2px;
}
#main > div {
display: none;
}
#images, #gallery ul {
overflow: hidden;
padding-top: 16px;
margin-bottom: 16px;
}
#images li, #gallery li {
float: left;
padding: 32px 48px;
overflow: hidden;
height: 480px;
}
#images li a {
-webkit-transition: opacity 0.2s linear;
opacity: 0;
position: absolute;
z-index: 1;
background: #00a5bf;
color: #fff;
text-decoration: none;
padding: 16px;
font-size: 18px;
text-align: center;
-webkit-border-radius: 16px;
-moz-border-radius: 16px;
border-radius: 16px;
margin: 32px;
}
#images li a:active {
margin-top: 33px;
}
#images li:hover a {
opacity: 1;
}
#gallery h3 {
font-size: 24px;
line-height: 2;
font-weight: bold;
margin-bottom: 16px;
}
#gallery .clicks {
margin-left: 16px;
font-size: 18px;
margin-top: 16px;
color: #00a5bf;
}
#upload {
z-index: 1;
position: fixed;
width: 100%;
height: 100%;
display: none;
background: rgba(0, 0, 0, 0.75);
}
#upload form {
position: fixed;
z-index: 2;
width: 480px;
padding: 16px;
background: #f0f0f0;
left: 50%;
top: 0;
margin-left: -256px;
}
#upload img {
display: block;
margin: 16px auto;
}
#upload input {
font-family: Arvo, 'Helvetica Neue', Helvetica;
}
#image_name {
color: #000;
display: block;
width: 460px;
border: 2px solid #666;
font-size: 20px;
padding: 4px 8px;
margin-bottom: 8px;
}
#image_name.error {
border-color: #af1919;
}
#image_name:focus {
border-color: #00a5bf;
}
#cancel, #submit {
position: relative;
border: none;
color: #fff;
cursor: pointer;
-webkit-border-radius: 16px;
-moz-border-radius: 16px;
border-radius: 16px;
}
#cancel {
float: right;
background: #af1919;
font-size: 16px;
padding: 4px 8px;
margin-top: 8px;
}
#cancel:hover {
-webkit-box-shadow: 0px 0px 16px #af1919;
-moz-box-shadow: 0px 0px 16px #af1919;
box-shadow: 0px 0px 16px #af1919;
}
#submit {
background: #00a5bf;
font-size: 20px;
padding: 8px 16px;
margin-right: 32px;
}
#submit:hover {
-webkit-box-shadow: 0px 0px 16px #00a5bf;
-moz-box-shadow: 0px 0px 16px #00a5bf;
box-shadow: 0px 0px 16px #00a5bf;
}
#errors {
display: none;
background: #af1919;
padding: 8px 16px;
color: #fff;
margin-bottom: -2px;
}
.rotate {
-webkit-transform: rotate(45deg) scale(0.65);
-moz-transform: rotate(45deg) scale(0.65);
transform: rotate(45deg) scale(0.65);
margin-left: 16px;
margin-right: 16px;
}
._480x320, ._480x240 {
margin-top: 96px;
}
._320x480.rotate {
margin: 48px 16px 0;
}