blob: e73a15b123e9c14998e597829725ea6ac98aa5e3 (
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
|
/* Utility classes to prevent blocks from expanding unreasonably. */
.wide-enough {
max-width: 400px;
}
.wider {
max-width: 600px;
}
/* Links become blue inside of <hN> elements otherwise. */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
color: inherit;
}
/* Link captions might become too close to badges on the sidebar. */
span.badge {
margin-left: .5em;
}
/* Add horizontal scrollbars to <pre>s and don't wrap the code inside. */
pre {
overflow-x: auto;
}
pre code {
white-space: pre;
word-wrap: normal;
}
/* Fixup syntax.css, which sets the code background to white. */
.highlight {
background-color: #fafafa !important;
}
/* Prevent <code> elements from standing out from alerts. */
.alert code {
padding: 0;
background-color: inherit;
}
/* Don't color category links blue. */
.text-muted a.category {
color: inherit;
}
/* This is a relatively popular workaround to align side-by-side columns.
* I use it for post headers. */
.post-header {
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
column-gap: 1em;
}
.post-date {
text-align: right;
}
|