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