summaryrefslogtreecommitdiff
path: root/src/index.css
blob: c0b25bd842d429187a11df821ca6114dbb18376a (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
body > div > * {
    width: 50%;
    display: inline-block;
    text-align: center;
    overflow: hidden;
    margin: 0;
    font-size: 225%;
    font-size: min(3.6vw,225%);
    position: relative;
    vertical-align: text-top;
}

body > div > span > * {
    padding: 0px 10px;
    line-height: 1.2em;
}

h1 {
    font-size: 2em;
}

h2, h3 {
    font-weight: normal;
    font-size: 120%;
}

p {
    font-size: 80%;
}

@font-face {
    font-family: 'Glacial';
    src: url("./glacr.otf");
}
@font-face {
    font-family: 'Glacial';
    font-weight: bold;
    src: url("./glacb.otf");
}

body {
    background-color: blue;
    background-image: url(mountains.jpg), linear-gradient(#eff,#cff);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100); /* fix for mobile Safari disobedience of web standards, with JS */
    margin: 0 auto;
    line-height: 0px;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    font-family: 'Glacial', sans-serif;
}

body > div {
    flex: 1;
}

footer {
    font-size: .9rem;
    line-height: .9rem;
    width: 100%;
    text-align: center;
}

body > div, footer {
    background-color: rgba(255,255,255,25%);
}

a, a:visited {
    color: navy;
}

a:hover {
    text-decoration: none;
}

@media print {
    footer {
        display: none;
    }
}