summaryrefslogtreecommitdiff
path: root/static-html/index.css
blob: eb1340b387ca33a4396393b1392d04d1e34702c3 (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
84
85
86
87
88
89
90
/*:root {
    --bg-color: #A1EEBD;
    --site-header-color: #7BD3EA;
    --main-bg-color: #fff;
    --border-color: #F6D6D6;
    --main-width: 800px;
}*/
:root {
    --blue: #7BD3EA;
    --green: #A1EEBD;
    --pink:  #F6D6D6;
    --bg-color: #ffffeb;
    --code-color: white;
    --border-color: var(--pink);
    --article-border-color: var(--green);
    --article-border-outset-color: var(--blue);
    --main-width: 800px;
}

html, body {
    margin: 0;
    background-color: var(--bg-color);
}

/* NAV */

#site-header {
    margin: 16px;
    text-align: center;
}

#site-title {
    font-size: 3em;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-color: var(--pink);
    color: #000;
    font-family: monospace;
}

#cursor {
    color: #444;
}

nav {
    margin: 4px 0;
}

nav a:not(:first-child){
    margin-left: 4px;
}

/* MAIN */
main {
    max-width: var(--main-width);
    margin: auto auto;
    border-color: var(--article-border-color);
    border-right-color: var(--article-border-outset-color);
    border-bottom-color: var(--article-border-outset-color);
    border-radius: 4px;
    border-style: solid;
}
main article {
    margin: 16px;
    line-height: 1.5em;
}

main article h1 {
    text-align: center;
}

main footer {
    background-color: var(--pink);
    margin: 16px 0;
    padding: 2px 16px;
}


footer {
    font-size: .8em;
    padding: 16px;
}
#copyright {
    text-align: center;
}

pre, code {
    background-color: var(--code-color);
    padding: 4px 16px;
}