-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
69 lines (59 loc) · 1.29 KB
/
style.css
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
/* Global variables for changing colours across the site */
:root {
--bg-color: #FFFBEA;
--text: #333;
--serif: "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
--sans: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir, "Nimbus Sans L", Roboto, Noto, "Segoe UI", Arial, Helvetica, "Helvetica Neue", sans-serif;
}
/* Make the website responsive */
@media screen and (max-width: 100%) {
.main {
width: 800px;
}
}
/* Format the main body of the website */
body {
background: var(--bg-color);
color: var(--text);
font-size: 1.25rem;
line-height: 1.5;
font-family: var(--serif);
}
.main {
float: center;
width: 100%;
max-width: 650px;
margin: 0 auto;
margin-top: 6rem;
border-left: 4px solid var(--text);
}
@media only screen and (max-width: 420px) {
.main {
margin-top: 1rem;
}
}
.footer {
float: center;
width: 100%;
max-width: 650px;
margin: 0 auto;
margin-top: 4em;
font-size: 1rem;
font-family: var(--sans);
}
/* Typography */
p {
margin: 1rem;
}
.faint {
opacity: 0.25;
}
/* Format Hyperlinks */
a, a:visited, a:active {
text-decoration: underline;
text-decoration-thickness: .15rem;
color: var(--text);
}
a:hover {
text-decoration-style: dotted;
}