Improve CSS
0feaa9b7c4a5980ed8500035f37c5855c426269a
1 parent
0b15fe55
css/base.css
+12 -6
| 107 | 107 | body > footer { |
|
| 108 | 108 | display: none; |
|
| 109 | 109 | padding: 1rem 1rem 0 1rem; |
|
| 110 | 110 | } |
|
| 111 | 111 | ||
| 112 | + | blockquote { |
|
| 113 | + | margin-left: 1rem; |
|
| 114 | + | color: grey; |
|
| 115 | + | font-style: italic; |
|
| 116 | + | } |
|
| 117 | + | ||
| 112 | 118 | /* |
|
| 113 | 119 | * HEADERS |
|
| 114 | 120 | */ |
|
| 115 | 121 | ||
| 116 | 122 | h1, h2, h3, h4 { |
| 142 | 148 | /* |
|
| 143 | 149 | * CODE |
|
| 144 | 150 | */ |
|
| 145 | 151 | ||
| 146 | 152 | pre { |
|
| 147 | - | padding: 1.5rem 1.75rem calc(1.5rem - var(--scrollbar-width)) 1.75rem; |
|
| 153 | + | padding: 1rem; |
|
| 148 | 154 | background-color: #060f11; |
|
| 149 | 155 | border-radius: 4px; |
|
| 150 | 156 | overflow-x: scroll !important; |
|
| 151 | 157 | } |
|
| 152 | 158 | pre code { |
| 154 | 160 | } |
|
| 155 | 161 | ||
| 156 | 162 | code { |
|
| 157 | 163 | color: #a1fde6; |
|
| 158 | 164 | white-space: nowrap; |
|
| 159 | - | font-style: italic; |
|
| 165 | + | font-style: normal; |
|
| 160 | 166 | } |
|
| 161 | 167 | code.language-rust { |
|
| 162 | 168 | color: #ddd; |
|
| 163 | 169 | font-style: normal; |
|
| 164 | 170 | } |
| 168 | 174 | } |
|
| 169 | 175 | code.language-rust .op { |
|
| 170 | 176 | color: #8b9297; |
|
| 171 | 177 | } |
|
| 172 | 178 | code.language-rust .keyword { |
|
| 173 | - | color: white; |
|
| 179 | + | color: #eee; |
|
| 174 | 180 | font-weight: bold; |
|
| 175 | 181 | } |
|
| 176 | 182 | code.language-rust .trait { |
|
| 177 | 183 | color: #8b9297; |
|
| 178 | 184 | font-weight: bold; |
|
| 179 | 185 | } |
|
| 180 | 186 | code.language-rust .ref { |
|
| 181 | 187 | color: #9bb2b7; |
|
| 182 | 188 | } |
|
| 183 | 189 | code.language-rust .macro { |
|
| 184 | - | color: white; |
|
| 190 | + | color: #eee; |
|
| 185 | 191 | font-weight: bold; |
|
| 186 | 192 | } |
|
| 187 | 193 | code.language-rust .special { |
|
| 188 | - | color: white; |
|
| 194 | + | color: #eee; |
|
| 189 | 195 | font-weight: bold; |
|
| 190 | 196 | } |
|
| 191 | 197 | code.language-rust .attr { |
|
| 192 | 198 | color: #4b6267; |
|
| 193 | 199 | font-weight: bold; |
| 392 | 398 | } |
|
| 393 | 399 | h1, h2, h3, h4, h5, h6, p, nav { |
|
| 394 | 400 | padding: 0 1rem; |
|
| 395 | 401 | } |
|
| 396 | 402 | pre { |
|
| 397 | - | padding: 1rem 1rem calc(1rem - var(--scrollbar-width)) 1rem; |
|
| 403 | + | padding: 1rem; |
|
| 398 | 404 | } |
|
| 399 | 405 | body > footer { |
|
| 400 | 406 | display: block; |
|
| 401 | 407 | } |
|
| 402 | 408 | .footnotes { |