summaryrefslogtreecommitdiff
path: root/public/css.css
blob: 2bed6d943d4930a5ea18e10e4879422deb3a98b3 (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
html,body {
}
body.about,
body.entry,
body.submit {
  overflow: hidden;
}

#about, #entry, #submit {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #444;
  pointer-events: none;
  opacity: 0;
}
.about #about,
.entry #entry,
.submit #submit {
  opacity: 1;
  pointer-events: auto;
}

#header {
  width: 100%;
}

.cell {
  display: inline-block;
  width: 100vw;
  height: 20vw;
  color: white;
  text-shadow: 0 0 2px #000;
}

.media {
  width: 100%;
  max-height: 50vh;
}

.cell:nth-child(3n+1) { background: #800; }
.cell:nth-child(3n+2) { background: #880; }
.cell:nth-child(3n+3) { background: #808; }

@media screen and (max-width: 600px) {
  .cell {
    width: 100vw;
    height: 20vh;
  }
}