|
20 | 20 | --successAlerts: #dff0d8; |
21 | 21 | --contentWidthRegular: 660px; |
22 | 22 | --contentWidthWide: 1060px; |
| 23 | + --componentBgColor: #f0f8ff; |
| 24 | + --componentBorderColor: #000000; |
| 25 | + --questionBgColor: rgb(217, 233, 235); |
23 | 26 | } |
24 | 27 |
|
25 | 28 | [data-theme="dark"] { |
26 | | - --background: #000000; |
27 | | - --outerBackground: #3d3d3d; |
28 | | - --links: #1165f0; |
29 | | - --bodyFont: #ffffff; |
| 29 | + --background: #2c2f33; |
| 30 | + --outerBackground: #23272a; |
| 31 | + --links: #7289da; |
| 32 | + --bodyFont: #99aab5; |
30 | 33 | --tooltip: #000000; |
31 | 34 | --grayToWhite: #ffffff; |
32 | 35 | --navbar: #3d3d3d; |
|
37 | 40 | --completionButtonHover: #560073; |
38 | 41 | --admonition: #3d3d3d; |
39 | 42 | --admonitionBorder: #262626; |
40 | | - --codeButtons: #2c0aa6; |
| 43 | + --codeButtons: #7289da; |
41 | 44 | --codeButtonsBorder: #ffffff; |
42 | 45 | --dangerAlerts: #8c2626; |
43 | 46 | --successAlerts: #217300; |
| 47 | + --componentBgColor: #07467d; |
| 48 | + --componentBorderColor: #939090; |
| 49 | + --questionBgColor: rgb(23, 85, 93); |
44 | 50 | } |
45 | 51 |
|
46 | 52 | /* custom modification of basic.css for color-contrast (AA compliant) */ |
@@ -225,13 +231,21 @@ div.container { |
225 | 231 |
|
226 | 232 | .runestone { |
227 | 233 | clear: both; |
228 | | -} |
| 234 | + background-color: var(--componentBgColor); |
| 235 | + padding: 10px; |
| 236 | + border-style: solid; |
| 237 | + border-color: var(--componentBorderColor); |
| 238 | + border-radius: 10px; |
| 239 | + margin-bottom: 20px; |
| 240 | + margin-top: 20px; |
| 241 | + } |
229 | 242 |
|
230 | 243 | /* Sets width of content "column" */ |
231 | 244 | #main-content section > *:not(section) { |
232 | 245 | max-width: var(--contentWidthRegular); |
233 | 246 | margin-left: auto; |
234 | 247 | margin-right: auto; |
| 248 | + |
235 | 249 | } |
236 | 250 |
|
237 | 251 | /* Handle content in nested sections by allowing them to grow*/ |
|
0 commit comments