summaryrefslogtreecommitdiff
path: root/includes/stylesheet.css
blob: 07cf18f1c1f76e70fe9be0395d76e12a81413f4a (plain) (blame)
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
@font-face {
  font-family: "Iosevka Slab";
  src: url("/includes/iosevka-slab-regular.woff2");
}

:root {
  --balboa: #195970;
  --ruby: #9b111e;
  --slate: #b9c2ca;
  --charcoal: #798d94;
  --white: white;
  --box-radius: 0.5em;
  --box-border: 0.5em solid var(--white);
}

body {
  font-family: "Iosevka Slab", monospace;
  font-size: 1.5em;
  background-color: var(--balboa);
  color: var(--white);
  max-width: 50em;
  margin: auto;
  padding: 1em;
}

nav {
  list-style-type: none;
  text-align: center;
}

nav ul {
  padding: 0;
  margin: 0;
}

nav li {
  display: inline-block;
  margin: 0.5em;
  padding: 0.5em;
}

nav img {
  padding-right: 0.5em;
}

nav a:link,
nav a:visited,
nav a:hover,
nav a:active {
  display: flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
}

a:link {
  color: var(--slate);
}

a:visited {
  color: var(--charcoal);
}

pre code {
  display: block;
  background-color: var(--charcoal);
  padding: 1em;
  border-radius: var(--box-radius);
  border-left: var(--box-border);
  border-right: var(--box-border);
}

.description {
  background-color: var(--ruby);
  padding: 1em;
  border-radius: var(--box-radius);
  border-left: var(--box-border);
  border-right: var(--box-border);
}

h1,
blockquote {
  font-style: oblique;
}

header {
  text-align: center;
}

article ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

article li {
  padding-left: 16px;
}

article li:before {
  content: "➙";
  padding-right: 8px;
}

p img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 25em;
  height: auto;
  border-radius: var(--box-radius);
}