|
| 1 | +/* Base Layout */ |
| 2 | +body { |
| 3 | + background-color: #121212; |
| 4 | + color: #e0e0e0; |
| 5 | +} |
| 6 | + |
| 7 | +a, ul>li>a, ol>li>a { |
| 8 | + color: #81D4FA; |
| 9 | +} |
| 10 | +a:hover, ul>li>a:hover, ol>li>a:hover { |
| 11 | + color: #66BB6A; |
| 12 | +} |
| 13 | + |
| 14 | +/* Headers */ |
| 15 | +h1, h2, h3, h4, h5, h6 { |
| 16 | + color: #ffffff; |
| 17 | +} |
| 18 | +h1 { |
| 19 | + background-color: #303F9F; |
| 20 | + border-color: #1A237E; |
| 21 | +} |
| 22 | +h2, h3 { |
| 23 | + background-color: #1A237E; |
| 24 | + border-color: #303F9F !important; |
| 25 | +} |
| 26 | + |
| 27 | +/* Tables and Lines */ |
| 28 | +thead, caption { |
| 29 | + background-color: #1A237E; |
| 30 | + color: #ffffff; |
| 31 | +} |
| 32 | +hr { |
| 33 | + border-top: 1px solid #333; |
| 34 | +} |
| 35 | +.table-striped > tbody > tr:nth-of-type(odd), |
| 36 | +tr.row-even { |
| 37 | + background-color: #1E1E1E; |
| 38 | +} |
| 39 | +.table-bordered th, .table-bordered td { |
| 40 | + border-color: #424242; |
| 41 | +} |
| 42 | + |
| 43 | +/* Code Blocks */ |
| 44 | +code, kbd, pre, samp { |
| 45 | + background-color: #1E1E1E; |
| 46 | + color: #ECEFF1; |
| 47 | +} |
| 48 | +.linenodiv pre { |
| 49 | + background-color: #303F9F; |
| 50 | + color: #ECEFF1; |
| 51 | +} |
| 52 | + |
| 53 | +/* Highlighting */ |
| 54 | +.highlighted { |
| 55 | + background-color: #FBC02D; |
| 56 | + color: #212121; |
| 57 | +} |
| 58 | + |
| 59 | +/* Sidebar and Navigation */ |
| 60 | +#page-sidebar, |
| 61 | +#sidebar-top, |
| 62 | +#wrapper-page-sidebar, |
| 63 | +#wrapper-sidebar-bottom, |
| 64 | +#sidebar-bottom, |
| 65 | +#sidebar-bottom-versions { |
| 66 | + background-color: #263238; |
| 67 | + color: #ffffff; |
| 68 | +} |
| 69 | +#sidebar-top-title a, |
| 70 | +#sidebar-top-links a { |
| 71 | + color: #B3E5FC; |
| 72 | +} |
| 73 | +#sidebar-top-title a:hover, |
| 74 | +#sidebar-top-links a:hover { |
| 75 | + color: #80CBC4; |
| 76 | +} |
| 77 | +#navigation-toggle { |
| 78 | + background-color: #263238; |
| 79 | +} |
| 80 | +#input-search { |
| 81 | + color: #e0e0e0; |
| 82 | + box-shadow: inset 0 -1px 0 #80CBC4; |
| 83 | +} |
| 84 | + |
| 85 | +/* Top and Footer */ |
| 86 | +#body-top { |
| 87 | + color: #90CAF9; |
| 88 | + border-bottom-color: #333; |
| 89 | +} |
| 90 | +#body-btn a { |
| 91 | + background-color: #303F9F; |
| 92 | +} |
| 93 | +#body-btn a:hover { |
| 94 | + background-color: #66BB6A; |
| 95 | +} |
| 96 | +#body-footer { |
| 97 | + background-color: #1A237E; |
| 98 | + color: #e0e0e0; |
| 99 | +} |
| 100 | + |
| 101 | +/* Back to Top */ |
| 102 | +.back-to-top { |
| 103 | + color: #90CAF9; |
| 104 | +} |
| 105 | + |
| 106 | +/* Sidebar Block */ |
| 107 | +.sidebar { |
| 108 | + background-color: #263238; |
| 109 | + border-color: #37474F; |
| 110 | +} |
| 111 | +.sidebar .sidebar-title { |
| 112 | + background-color: #303F9F; |
| 113 | +} |
| 114 | + |
| 115 | +/* Contents Tree Navigation */ |
| 116 | +.contents.topic li > a, |
| 117 | +.toctree-wrapper li > a { |
| 118 | + background-color: #37474F; |
| 119 | + color: #ffffff; |
| 120 | +} |
| 121 | +.contents.topic li > a:hover, |
| 122 | +.toctree-wrapper li > a:hover { |
| 123 | + background-color: #546E7A; |
| 124 | +} |
| 125 | +.contents.topic li > ul > li > a, |
| 126 | +.toctree-wrapper li > ul > li > a { |
| 127 | + background-color: #455A64; |
| 128 | + color: #ffffff; |
| 129 | +} |
| 130 | +.contents.topic li > ul > li > a:hover, |
| 131 | +.toctree-wrapper li > ul > li > a:hover { |
| 132 | + background-color: #546E7A; |
| 133 | +} |
| 134 | + |
| 135 | +/* Selection */ |
| 136 | +::selection { |
| 137 | + background-color: #3949AB; |
| 138 | + color: #FAFAFA; |
| 139 | +} |
| 140 | + |
| 141 | +/* === Admonitions (Dark Theme Adjusted) === */ |
| 142 | +.admonition { |
| 143 | + background-color: #263238; |
| 144 | + color: #e0e0e0; |
| 145 | +} |
| 146 | +.admonition .admonition-title { |
| 147 | + color: #ffffff; |
| 148 | +} |
| 149 | + |
| 150 | +/* NOTE & ATTENTION */ |
| 151 | +.admonition.note, |
| 152 | +.admonition.attention { |
| 153 | + background-color: #263238; |
| 154 | +} |
| 155 | +.admonition.note .admonition-title, |
| 156 | +.admonition.attention .admonition-title { |
| 157 | + background-color: #42A5F5; |
| 158 | +} |
| 159 | + |
| 160 | +/* TIP & IMPORTANT */ |
| 161 | +.admonition.tip, |
| 162 | +.admonition.important { |
| 163 | + background-color: #263238; |
| 164 | +} |
| 165 | +.admonition.tip .admonition-title, |
| 166 | +.admonition.important .admonition-title { |
| 167 | + background-color: #26A69A; |
| 168 | +} |
| 169 | + |
| 170 | +/* HINT & WARNING */ |
| 171 | +.admonition.hint, |
| 172 | +.admonition.warning { |
| 173 | + background-color: #263238; |
| 174 | +} |
| 175 | +.admonition.hint .admonition-title, |
| 176 | +.admonition.warning .admonition-title { |
| 177 | + background-color: #F57C00; |
| 178 | +} |
| 179 | + |
| 180 | +/* ERROR & DANGER */ |
| 181 | +.admonition.error, |
| 182 | +.admonition.danger { |
| 183 | + background-color: #263238; |
| 184 | +} |
| 185 | +.admonition.error .admonition-title, |
| 186 | +.admonition.danger .admonition-title { |
| 187 | + background-color: #E53935; |
| 188 | +} |
| 189 | + |
| 190 | +/* CAUTION */ |
| 191 | +.admonition.caution { |
| 192 | + background-color: #263238; |
| 193 | +} |
| 194 | +.admonition.caution .admonition-title { |
| 195 | + background-color: #C0CA33; |
| 196 | +} |
| 197 | + |
| 198 | +/* Generic fallback */ |
| 199 | +.admonition:not( |
| 200 | + .note, |
| 201 | + .attention, |
| 202 | + .tip, |
| 203 | + .important, |
| 204 | + .hint, |
| 205 | + .warning, |
| 206 | + .error, |
| 207 | + .danger, |
| 208 | + .caution |
| 209 | +) { |
| 210 | + background-color: #37474F; |
| 211 | +} |
| 212 | +.admonition:not( |
| 213 | + .note, |
| 214 | + .attention, |
| 215 | + .tip, |
| 216 | + .important, |
| 217 | + .hint, |
| 218 | + .warning, |
| 219 | + .error, |
| 220 | + .danger, |
| 221 | + .caution |
| 222 | +) .admonition-title { |
| 223 | + background-color: #78909C; |
| 224 | +} |
0 commit comments