aboutsummaryrefslogtreecommitdiffstats
path: root/style2.css
blob: dfeaee56716dc8d579faf553f95eaedf93eac5b9 (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
body {
  text-align: center;
  max-width: 960px;
  font-family: "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  padding: 0;
  margin: 0 auto;
  height: 100vh;
  --margin-y: 1em;
  --margin-x: 0;
}
#wrapper {
  height: 100%;
  display: flex;
  flex-flow: column;
  margin: 0 var(--margin-x);
}
#desc {
  margin: var(--margin-y) 0;
}
#desc > p:first-child {
  margin-top: 0;
}
#desc > p:last-child {
  margin-bottom: 0;
}
#map {
  border: 1px solid black;
  width: 500px;
  max-height: 600px;
  margin: 0 auto var(--margin-y) auto;
  flex: 1;
}
@media screen and (max-width: 500px) {
  body {
    --margin-x: .25em;
  }
  #map {
    width: 100%;
  }
}
@media screen and (max-height: 1280px) {
  body {
    --margin-y: .5em;
  }
}
@media screen and (max-height: 600px) {
  body {
    --margin-y: .25em;
  }
}