aboutsummaryrefslogtreecommitdiff
path: root/build/main.css
blob: 3291e54502ad3d76ee7895cc7352b186e57836cb (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
* {
    box-sizing: border-box;
}
body {
    font-family: sans-serif;
    line-height: 1.45;
    margin: 0 auto;
    max-width: 45rem;
    padding: 0 15px;
}
hr {
    background-color: grey;
    border: 0;
    height: 1px;
    margin: 2rem 0;
}
nav {
    margin: 2rem 0 0;
}
main p {
    margin: 1rem;
}
h1,h2,h3,h4 {
    margin: 2rem 0 0;
}
h1 {
    margin-bottom: 0.5rem;
}
h1 + p {
    margin: 0 0 1rem;
}
img {
    border: 1px solid lightgrey;
    height: auto;
    max-width: 100%;
    width: auto;
}
blockquote {
    background-color: linen;
    border-left: 4px solid lightcoral;
    margin: 2rem 0;
    padding: 10px;
}
blockquote p {
    margin: 0;
}
figure {
    margin: 2rem 0;
}
figcaption {
    color: slategrey;
}
code {
    background: #eee;
    padding: 0.3rem;
    tab-size: 4;
}
pre {
    background: #eee;
}
pre code {
    background: none;
    display: block;
    overflow-x: auto;
    padding: 0.3rem 0.6rem;
}
table {
    border-collapse: collapse;
    margin: 2rem 0;
    text-align: left;
    width: 100%;
}
tr {
    border-bottom: 1px solid lightgrey;
}
tr:nth-of-type(odd) td {
    background-color: #f8f8f8;
}
th,td {
    padding: 6px;
}
footer {
    border-top: 1px dashed grey;
    margin: 2rem 0;
    padding: 1rem 15px;
}