aboutsummaryrefslogtreecommitdiff
path: root/styles.css
blob: 5778d176d31d92e782bc5f07fc0297005248aaea (about) (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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/* General declarations */

body {
  margin: 0px auto 0px auto;
  padding: 1%;
  max-width: 750px;
  font-family: sans-serif;
  text-rendering: optimizeLegibility;
  background-color: #f7f2f3;
}

.simple-icon {
  height: 22px;
  vertical-align: middle;
}


/* Navigation header */

header {
  border-bottom: 2px solid black;
  margin-bottom: 30px;
  padding: 12px 0px 12px 0px;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

nav a {
  color: maroon;
  font-size: 18px;
  margin: 12px;
  text-decoration: none;
}

nav ul, nav li {
  display: inline;
}

nav ul li a {
  color: black;
  font-size: 14px;
  margin: 6px;
}


/* Article bodies */

section.header {
  color: #555;
  font-size: 14px;
  font-style: italic;
}

blockquote {
  font-style: italic;
  color: dimgrey;
  padding-left: 10px;
  border-left: 3px solid #ccc;
}


/* Footer */

footer {
  border-top: solid 2px black;
  font-size: 14px;
  margin-top: 30px;
  padding: 12px 0px 12px 0px;
}

footer li {
  list-style-type: none;
  margin-top: 10px;
}

footer li a {
  margin-left: 5px;
}

section.post-footer, div.footnotes {
  border-top: 0.5px solid #555;
}


/* Code blocks */

/* The "lineno" class is the default generated by Rouge for table-row in code blocks, see:
   https://github.com/rouge-ruby/rouge */
pre.lineno {
  margin-right: 3px;
  padding-right: 3px;
  border-right: 1px solid;
  border-color: hsla(0, 0%, 0%, 0.3);
  text-align: right;
  user-select: none;
}

pre.highlight {
  border-top: 1px solid;
  border-bottom: 1px solid;
}

pre {
  overflow: auto;
}


/* Code block anchors */

a.code-line-anchor {
  color: black;
  text-decoration: none;
}

a.code-line-anchor:hover {
  text-decoration: underline;
}


/* Header anchor */

div.header-anchor {
  color: black;
  text-decoration: none;
  display: block;
  margin-bottom: 15px;
}

div.header-anchor h1,
div.header-anchor h2,
div.header-anchor h3,
div.header-anchor h4,
div.header-anchor h5,
div.header-anchor h6 {
  display: inline;
}


div.header-anchor img {
  visibility: hidden;
}

div.header-anchor:hover img {
  visibility: visible;
}

/* Plaintext code block links */

div.plaintext-link {
  margin: auto auto 0 auto;
  text-align: right;
  font-family: monospace;
}