This repository has been archived by the owner on Jun 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.css
89 lines (72 loc) · 3.53 KB
/
default.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/*
Default.css
*/
/* Fundamental layout */
body { min-width: 240px; margin: 0 auto; padding: 24px; }
@media (max-width: 767px) { /* 'Compact width' (corresponding to a content width less than 720px) */
body { max-width: 480px; }
[in-the-margin] * { width: 192px; text-align: left !important; }
[in-the-margin] { width: 192px; display: block; margin-top: 24px; margin-bottom: 0; }
}
@media (min-width: 768px) { /* 'Regular width' (corresponding to a content width greater than 720px) */
body { width: 720px; }
body > main { width: 480px; margin-left: 240px; }
[in-the-margin] * { width: 216px; }
[in-the-margin] { width: 216px; display: block; float: left; margin-left: -240px; }
}
body > main { margin-top: 48px; margin-bottom: 48px; }
body > footer { margin-bottom: 96px; }
/* Colour */
body { background-color: #fafafb; color: #3f3f3f; }
a { color: #d92b00; }
body > header { border-bottom: 1px solid #5f5f5f; }
body > footer { border-top: 1px solid #5f5f5f; }
[pale] { color: #7f7f7f; }
h1 { color: ffffff; }
h3 { color: #7f7f7f; }
p aside { color: #7f7f7f; }
blockquote { padding-left: 23px; }
blockquote { border-left: 1px solid #9f9f9f; }
.padded { padding-top: 72px; padding-bottom: 72px; }
.shifted-up { margin-top: -24px; }
.expanded { margin-top: 48px; margin-bottom: 48px; }
hr { border: 0; border-bottom: 1px solid #9f9f9f; height: 0; margin: 0; margin-top: -1; }
hr[asterism] { display: block; border: 0; content: "hi"; height: 24px; margin: 0;}
hr[asterism]::before { content: "\2042"; text-align: center; display: block; position: relative; top: 5px; }
/* Typography */
body { font-family: 'Hoefler Text', Georgia, sans-serif; }
p, td, blockquote, ol, ul, li, h1, h2, h3 { line-height: 24px; }
p, td, blockquote, ol, ul, li, h3 { font-size: 16px; }
h1 { font-size: 21px; }
h2 { font-size: 18px; }
h2, h3 { font-weight: bold; }
p, blockquote, ol, ul, h3 { margin: 24px 0; }
h1 { margin: 120px 0 48px 0; }
h2 { margin: 24px 0; }
h3 { margin: 24px 0 -24px 0; }
em, i { font-style: italic; }
strong, b { font-weight: bold; }
a { text-decoration: none; }
code { white-space: pre; }
sup { vertical-align: super; line-height: 0; font-size: smaller; }
ul > li::before { content: "-"; display: inline-block; width: 0; position: relative; top: 0px; left: -12px; }
ol.notes::before { content: ""; display: block; width: 72px; height: 23px; border-top: 1px solid #5f5f5f; }
ol.notes { line-height: 18px; font-size: 14px; list-style: decimal outside; margin-top: 18px; }
ol.notes > li { line-height: 18px; font-size: 14px; margin-left: 36px; }
blockquote.featured { position: relative; border: 0; padding: 0; max-width: 50%; margin: 112px auto; }
blockquote.featured::before { content: "\201C"; position: absolute; left: -16px; top: 0px; font-size:32px; font-family: serif; }
blockquote.featured cite { display: block; text-align: right; }
blockquote.featured cite::before { content: "\2014 \2009"; }
.centered-text { text-align: center; }
/* Misc */
img[with-border] { border: 1px solid #9f9f9f; border-left: 0; border-right: 0; }
img[special] { background-color: #efeff1; }
p[delete-line] { margin-top: -24px; }
[without-margins] { margin: 0; }
[without-vertical-margins] { margin-top: 0; margin-bottom: 0; }
[without-top-margin] { margin-top: 0; }
[like-paragraph-text] { line-height: 24px; font-size: 16px; }
[italic] { font-style: italic; }
[special-tabular] { font-feature-settings: "tnum"; }
[right-aligned] { text-align: right; }
html { -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust: none; text-size-adjust: none; }