blob: 51a750e7df829301851350749dfc4c1f4a52c258 (
plain)
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
|
html,body {
padding: 0;
margin: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body.about,
body.entry,
body.submit {
overflow: hidden;
}
#about, #entry, #submit {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: #fff;
pointer-events: none;
opacity: 0;
}
.about #about,
.entry #entry,
.submit #submit {
opacity: 1;
pointer-events: auto;
}
#header {
width: 100%;
}
.cell {
display: inline-block;
width: 25vw;
height: 20vw;
color: white;
text-shadow: 0 0 2px #000;
cursor: pointer;
background-size: cover;
background-position: center center;
}
.media {
width: 100%;
max-height: 50vh;
}
.cell:nth-child(2n+1) { background-color: #ddd; }
.cell:nth-child(2n+2) { background-color: #eee; }
.close {
position: absolute;
top: 10px;
right: 10px;
padding: 5px;
font-size: 24px;
color: white;
background: black;
border: 2px solid;
cursor: pointer;
}
@media (max-width: 700px) {
.cell {
width: 100vw;
height: 20vh;
}
}
|