1/* 2 * classic.css_t 3 * ~~~~~~~~~~~~~ 4 * 5 * Sphinx stylesheet -- classic theme. 6 * 7 * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. 8 * :license: BSD, see LICENSE for details. 9 * 10 */ 11 12@import url("basic.css"); 13 14/* -- page layout ----------------------------------------------------------- */ 15 16html { 17 /* CSS hack for macOS's scrollbar (see #1125) */ 18 background-color: #FFFFFF; 19} 20 21body { 22 font-family: {{ theme_bodyfont }}; 23 font-size: 100%; 24 background-color: {{ theme_footerbgcolor }}; 25 color: #000; 26 margin: 0; 27 padding: 0; 28} 29 30div.document { 31 background-color: {{ theme_sidebarbgcolor }}; 32} 33 34div.documentwrapper { 35 float: left; 36 width: 100%; 37} 38 39div.bodywrapper { 40 margin: 0 0 0 {{ theme_sidebarwidth|todim }}; 41} 42 43div.body { 44 background-color: {{ theme_bgcolor }}; 45 color: {{ theme_textcolor }}; 46 padding: 0 20px 30px 20px; 47} 48 49{%- if theme_rightsidebar|tobool %} 50div.bodywrapper { 51 margin: 0 {{ theme_sidebarwidth|todim }} 0 0; 52} 53{%- endif %} 54 55div.footer { 56 color: {{ theme_footertextcolor }}; 57 width: 100%; 58 padding: 9px 0 9px 0; 59 text-align: center; 60 font-size: 75%; 61} 62 63div.footer a { 64 color: {{ theme_footertextcolor }}; 65 text-decoration: underline; 66} 67 68div.related { 69 background-color: {{ theme_relbarbgcolor }}; 70 line-height: 30px; 71 color: {{ theme_relbartextcolor }}; 72} 73 74div.related a { 75 color: {{ theme_relbarlinkcolor }}; 76} 77 78div.sphinxsidebar { 79 {%- if theme_stickysidebar|tobool %} 80 top: 30px; 81 bottom: 0; 82 margin: 0; 83 position: fixed; 84 overflow: auto; 85 height: auto; 86 {%- endif %} 87 {%- if theme_rightsidebar|tobool %} 88 float: right; 89 {%- if theme_stickysidebar|tobool %} 90 right: 0; 91 {%- endif %} 92 {%- endif %} 93} 94 95{%- if theme_stickysidebar|tobool %} 96/* this is nice, but it it leads to hidden headings when jumping 97 to an anchor */ 98/* 99div.related { 100 position: fixed; 101} 102 103div.documentwrapper { 104 margin-top: 30px; 105} 106*/ 107{%- endif %} 108 109div.sphinxsidebar h3 { 110 font-family: {{ theme_headfont }}; 111 color: {{ theme_sidebartextcolor }}; 112 font-size: 1.4em; 113 font-weight: normal; 114 margin: 0; 115 padding: 0; 116} 117 118div.sphinxsidebar h3 a { 119 color: {{ theme_sidebartextcolor }}; 120} 121 122div.sphinxsidebar h4 { 123 font-family: {{ theme_headfont }}; 124 color: {{ theme_sidebartextcolor }}; 125 font-size: 1.3em; 126 font-weight: normal; 127 margin: 5px 0 0 0; 128 padding: 0; 129} 130 131div.sphinxsidebar p { 132 color: {{ theme_sidebartextcolor }}; 133} 134 135div.sphinxsidebar p.topless { 136 margin: 5px 10px 10px 10px; 137} 138 139div.sphinxsidebar ul { 140 margin: 10px; 141 padding: 0; 142 color: {{ theme_sidebartextcolor }}; 143} 144 145div.sphinxsidebar a { 146 color: {{ theme_sidebarlinkcolor }}; 147} 148 149div.sphinxsidebar input { 150 border: 1px solid {{ theme_sidebarlinkcolor }}; 151 font-family: sans-serif; 152 font-size: 1em; 153} 154 155{% if theme_collapsiblesidebar|tobool %} 156/* for collapsible sidebar */ 157div#sidebarbutton { 158 background-color: {{ theme_sidebarbtncolor }}; 159} 160{% endif %} 161 162/* -- hyperlink styles ------------------------------------------------------ */ 163 164a { 165 color: {{ theme_linkcolor }}; 166 text-decoration: none; 167} 168 169a:visited { 170 color: {{ theme_visitedlinkcolor }}; 171 text-decoration: none; 172} 173 174a:hover { 175 text-decoration: underline; 176} 177 178{% if theme_externalrefs|tobool %} 179a.external { 180 text-decoration: none; 181 border-bottom: 1px dashed {{ theme_linkcolor }}; 182} 183 184a.external:hover { 185 text-decoration: none; 186 border-bottom: none; 187} 188 189a.external:visited { 190 text-decoration: none; 191 border-bottom: 1px dashed {{ theme_visitedlinkcolor }}; 192} 193{% endif %} 194 195/* -- body styles ----------------------------------------------------------- */ 196 197div.body h1, 198div.body h2, 199div.body h3, 200div.body h4, 201div.body h5, 202div.body h6 { 203 font-family: {{ theme_headfont }}; 204 background-color: {{ theme_headbgcolor }}; 205 font-weight: normal; 206 color: {{ theme_headtextcolor }}; 207 border-bottom: 1px solid #ccc; 208 margin: 20px -20px 10px -20px; 209 padding: 3px 0 3px 10px; 210} 211 212div.body h1 { margin-top: 0; font-size: 200%; } 213div.body h2 { font-size: 160%; } 214div.body h3 { font-size: 140%; } 215div.body h4 { font-size: 120%; } 216div.body h5 { font-size: 110%; } 217div.body h6 { font-size: 100%; } 218 219a.headerlink { 220 color: {{ theme_headlinkcolor }}; 221 font-size: 0.8em; 222 padding: 0 4px 0 4px; 223 text-decoration: none; 224} 225 226a.headerlink:hover { 227 background-color: {{ theme_headlinkcolor }}; 228 color: white; 229} 230 231div.body p, div.body dd, div.body li, div.body blockquote { 232 text-align: justify; 233 line-height: 130%; 234} 235 236div.admonition p.admonition-title + p { 237 display: inline; 238} 239 240div.admonition p { 241 margin-bottom: 5px; 242} 243 244div.admonition pre { 245 margin-bottom: 5px; 246} 247 248div.admonition ul, div.admonition ol { 249 margin-bottom: 5px; 250} 251 252div.note { 253 background-color: #eee; 254 border: 1px solid #ccc; 255} 256 257div.seealso { 258 background-color: #ffc; 259 border: 1px solid #ff6; 260} 261 262div.topic { 263 background-color: #eee; 264} 265 266div.warning { 267 background-color: #ffe4e4; 268 border: 1px solid #f66; 269} 270 271p.admonition-title { 272 display: inline; 273} 274 275p.admonition-title:after { 276 content: ":"; 277} 278 279pre { 280 padding: 5px; 281 background-color: {{ theme_codebgcolor }}; 282 color: {{ theme_codetextcolor }}; 283 line-height: 120%; 284 border: 1px solid #ac9; 285 border-left: none; 286 border-right: none; 287} 288 289code { 290 background-color: #ecf0f3; 291 padding: 0 1px 0 1px; 292 font-size: 0.95em; 293} 294 295th, dl.field-list > dt { 296 background-color: #ede; 297} 298 299.warning code { 300 background: #efc2c2; 301} 302 303.note code { 304 background: #d6d6d6; 305} 306 307.viewcode-back { 308 font-family: {{ theme_bodyfont }}; 309} 310 311div.viewcode-block:target { 312 background-color: #f4debf; 313 border-top: 1px solid #ac9; 314 border-bottom: 1px solid #ac9; 315} 316 317div.code-block-caption { 318 color: #efefef; 319 background-color: #1c4e63; 320} 321