| 1 |
* { |
| 2 |
box-sizing: border-box; |
| 3 |
margin: 0; |
| 4 |
padding: 0; |
| 5 |
} |
| 6 |
|
| 7 |
html { |
| 8 |
overflow-y: scroll; |
| 9 |
height: 100%; |
| 10 |
font: 100%/1.5 sans-serif; |
| 11 |
word-wrap: break-word; |
| 12 |
margin: 0 auto; |
| 13 |
padding: 1.5em; |
| 14 |
} |
| 15 |
|
| 16 |
@media (min-width: 768px) { |
| 17 |
html { |
| 18 |
font-size: 125%; |
| 19 |
max-width: 42em; |
| 20 |
} } |
| 21 |
|
| 22 |
h1, h2, h3, h4 { |
| 23 |
margin: 2.5rem 0 1.5rem 0; |
| 24 |
line-height: 1.25; |
| 25 |
color: #333; |
| 26 |
} |
| 27 |
|
| 28 |
a { |
| 29 |
color: #fa6432; |
| 30 |
text-decoration: none; |
| 31 |
} |
| 32 |
a:hover, a:focus, a:active { |
| 33 |
text-decoration: underline; |
| 34 |
} |
| 35 |
|
| 36 |
p { |
| 37 |
margin: 1em 0; |
| 38 |
line-height: 1.5; |
| 39 |
} |
| 40 |
p code { |
| 41 |
background-color: #eee; |
| 42 |
padding: 0.05em 0.2em; |
| 43 |
border: 1px solid #ccc; |
| 44 |
} |
| 45 |
|
| 46 |
ol, ul { |
| 47 |
margin: 1em; |
| 48 |
} |
| 49 |
ol li ol, ol li ul, ul li ol, ul li ul { |
| 50 |
margin: 0 2em; |
| 51 |
} |
| 52 |
ol li p, ul li p { |
| 53 |
margin: 0; |
| 54 |
} |
| 55 |
|
| 56 |
dl { |
| 57 |
font-family: monospace, monospace; |
| 58 |
} |
| 59 |
dl dt { |
| 60 |
font-weight: bold; |
| 61 |
} |
| 62 |
dl dd { |
| 63 |
margin: 1em; |
| 64 |
} |
| 65 |
|
| 66 |
img { |
| 67 |
max-width: 100%; |
| 68 |
display: block; |
| 69 |
margin: 0 auto; |
| 70 |
padding: 0.5em; |
| 71 |
} |
| 72 |
|
| 73 |
blockquote { |
| 74 |
padding-left: 1em; |
| 75 |
font-style: italic; |
| 76 |
border-left: solid 1px #fa6432; |
| 77 |
} |
| 78 |
|
| 79 |
table { |
| 80 |
font-size: 1rem; |
| 81 |
text-align: left; |
| 82 |
caption-side: bottom; |
| 83 |
margin-bottom: 2em; |
| 84 |
} |
| 85 |
table * { |
| 86 |
border: none; |
| 87 |
} |
| 88 |
table thead, table tr { |
| 89 |
display: table; |
| 90 |
table-layout: fixed; |
| 91 |
width: 100%; |
| 92 |
} |
| 93 |
table tr:nth-child(even) { |
| 94 |
background-color: rgba(200, 200, 200, 0.2); |
| 95 |
} |
| 96 |
table tbody { |
| 97 |
display: block; |
| 98 |
max-height: 70vh; |
| 99 |
overflow-y: auto; |
| 100 |
} |
| 101 |
table td, table th { |
| 102 |
padding: 0.25em; |
| 103 |
} |
| 104 |
|
| 105 |
table, .highlight > pre, pre.example { |
| 106 |
max-height: 70vh; |
| 107 |
margin: 1em 0; |
| 108 |
padding: 1em; |
| 109 |
overflow: auto; |
| 110 |
font-size: 0.85rem; |
| 111 |
font-family: monospace, monospace; |
| 112 |
border: 1px dashed rgba(250, 100, 50, 0.5); |
| 113 |
} |
| 114 |
|
| 115 |
.title { |
| 116 |
font-size: 2.5em; |
| 117 |
} |
| 118 |
|
| 119 |
.subtitle { |
| 120 |
font-weight: normal; |
| 121 |
font-size: 0.75em; |
| 122 |
color: #666; |
| 123 |
} |
| 124 |
|
| 125 |
.tags { |
| 126 |
margin-top: -1.5rem; |
| 127 |
padding-bottom: 1.5em; |
| 128 |
} |
| 129 |
.tags li { |
| 130 |
display: inline; |
| 131 |
margin-right: 0.5em; |
| 132 |
} |
| 133 |
|
| 134 |
figure { |
| 135 |
margin: 1em 0; |
| 136 |
} |
| 137 |
figure figcaption { |
| 138 |
font-family: monospace, monospace; |
| 139 |
font-size: 0.75em; |
| 140 |
text-align: center; |
| 141 |
color: grey; |
| 142 |
} |
| 143 |
|
| 144 |
.footnote-definition sup { |
| 145 |
margin-left: -1.5em; |
| 146 |
float: left; |
| 147 |
} |
| 148 |
|
| 149 |
.footnote-definition .footnote-body { |
| 150 |
margin: 1em 0; |
| 151 |
padding: 0 1em; |
| 152 |
border: 1px dashed rgba(250, 100, 50, 0.3); |
| 153 |
background-color: rgba(200, 200, 200, 0.2); |
| 154 |
} |
| 155 |
.footnote-definition .footnote-body p:only-child { |
| 156 |
margin: 0.2em 0; |
| 157 |
} |
| 158 |
|
| 159 |
header { |
| 160 |
display: flex; |
| 161 |
justify-content: space-between; |
| 162 |
} |
| 163 |
header nav { |
| 164 |
display: flex; |
| 165 |
align-items: center; |
| 166 |
justify-content: space-between; |
| 167 |
} |
| 168 |
header a + a { |
| 169 |
margin-left: 1rem; |
| 170 |
} |
| 171 |
|
| 172 |
.posts { |
| 173 |
margin: 0; |
| 174 |
list-style: none; |
| 175 |
} |
| 176 |
.posts .post a { |
| 177 |
display: block; |
| 178 |
padding: 0.5em 0; |
| 179 |
color: black; |
| 180 |
} |
| 181 |
.posts .post a:hover, .posts .post a:focus, .posts .post a:active { |
| 182 |
text-decoration: none; |
| 183 |
background: rgba(200, 200, 200, 0.2); |
| 184 |
} |
| 185 |
.posts .post date { |
| 186 |
font-family: monospace, monospace; |
| 187 |
font-size: 0.8rem; |
| 188 |
vertical-align: middle; |
| 189 |
padding-right: 2rem; |
| 190 |
color: grey; |
| 191 |
} |