| 1 |
/* |
| 2 |
* polexpr.css |
| 3 |
* ~~~~~~~~~~~ |
| 4 |
* |
| 5 |
* stylesheet for polexpr html documentation |
| 6 |
* Copyright (c) 2022 by Jean-François Burnol |
| 7 |
* |
| 8 |
* It has been obtained on May 13, 2022 by Jean-François Burnol via |
| 9 |
* copying selected extracts from the css files as found in the output |
| 10 |
* of a sphinx-build with "bizstyle" theme, enough for the styling the |
| 11 |
* html elements used in polexpr html documentation, and with a few |
| 12 |
* changes here and there. |
| 13 |
* |
| 14 |
* It also incorporate (essentially) the output of `pygmentize -S |
| 15 |
* friendly -f html` which specifies the behaviour of the highlighting, |
| 16 |
* and is produced by default by Sphinx on all sphinx-build runs. |
| 17 |
* |
| 18 |
*/ |
| 19 |
|
| 20 |
|
| 21 |
/* -- start of extracts from basic.css -------------------------------------- */ |
| 22 |
|
| 23 |
/* -- main layout ----------------------------------------------------------- */ |
| 24 |
|
| 25 |
div.section::after { |
| 26 |
display: block; |
| 27 |
content: ''; |
| 28 |
clear: left; |
| 29 |
} |
| 30 |
|
| 31 |
/* -- relbar ---------------------------------------------------------------- */ |
| 32 |
|
| 33 |
div.related { |
| 34 |
width: 100%; |
| 35 |
font-size: 90%; |
| 36 |
} |
| 37 |
|
| 38 |
div.related h3 { |
| 39 |
display: none; |
| 40 |
} |
| 41 |
|
| 42 |
div.related ul { |
| 43 |
margin: 0; |
| 44 |
padding: 0 0 0 10px; |
| 45 |
list-style: none; |
| 46 |
} |
| 47 |
|
| 48 |
div.related li { |
| 49 |
display: inline; |
| 50 |
} |
| 51 |
|
| 52 |
div.related li.right { |
| 53 |
float: right; |
| 54 |
margin-right: 5px; |
| 55 |
} |
| 56 |
|
| 57 |
/* -- sidebar --------------------------------------------------------------- */ |
| 58 |
|
| 59 |
div.sphinxsidebarwrapper { |
| 60 |
padding: 10px 5px 0 10px; |
| 61 |
} |
| 62 |
|
| 63 |
div.sphinxsidebar { |
| 64 |
float: left; |
| 65 |
width: 35%; /* polexpr */ |
| 66 |
margin-left: -100%; |
| 67 |
font-size: 90%; |
| 68 |
word-wrap: break-word; |
| 69 |
overflow-wrap : break-word; |
| 70 |
} |
| 71 |
|
| 72 |
div.sphinxsidebar ul { |
| 73 |
list-style: none; |
| 74 |
} |
| 75 |
|
| 76 |
div.sphinxsidebar ul ul, |
| 77 |
div.sphinxsidebar ul.want-points { |
| 78 |
margin-left: 20px; |
| 79 |
list-style: square; |
| 80 |
} |
| 81 |
|
| 82 |
div.sphinxsidebar ul ul { |
| 83 |
margin-top: 0; |
| 84 |
margin-bottom: 0; |
| 85 |
} |
| 86 |
|
| 87 |
/* -- general body styles --------------------------------------------------- */ |
| 88 |
|
| 89 |
div.body { |
| 90 |
min-width: 360px; |
| 91 |
max-width: 800px; |
| 92 |
} |
| 93 |
|
| 94 |
div.body p, div.body dd, div.body li, div.body blockquote { |
| 95 |
-moz-hyphens: auto; |
| 96 |
-ms-hyphens: auto; |
| 97 |
-webkit-hyphens: auto; |
| 98 |
hyphens: auto; |
| 99 |
} |
| 100 |
|
| 101 |
a.headerlink { |
| 102 |
visibility: hidden; |
| 103 |
} |
| 104 |
|
| 105 |
a.brackets:before, |
| 106 |
span.brackets > a:before{ |
| 107 |
content: "["; |
| 108 |
} |
| 109 |
|
| 110 |
a.brackets:after, |
| 111 |
span.brackets > a:after { |
| 112 |
content: "]"; |
| 113 |
} |
| 114 |
|
| 115 |
h1:hover > a.headerlink, |
| 116 |
h2:hover > a.headerlink, |
| 117 |
h3:hover > a.headerlink, |
| 118 |
h4:hover > a.headerlink, |
| 119 |
h5:hover > a.headerlink, |
| 120 |
h6:hover > a.headerlink, |
| 121 |
dt:hover > a.headerlink, |
| 122 |
caption:hover > a.headerlink, |
| 123 |
p.caption:hover > a.headerlink, |
| 124 |
div.code-block-caption:hover > a.headerlink { |
| 125 |
visibility: visible; |
| 126 |
} |
| 127 |
|
| 128 |
div.body p.caption { |
| 129 |
text-align: inherit; |
| 130 |
} |
| 131 |
|
| 132 |
div.body td { |
| 133 |
text-align: left; |
| 134 |
} |
| 135 |
|
| 136 |
.first { |
| 137 |
margin-top: 0 !important; |
| 138 |
} |
| 139 |
|
| 140 |
.align-left { |
| 141 |
text-align: left; |
| 142 |
} |
| 143 |
|
| 144 |
.align-center { |
| 145 |
text-align: center; |
| 146 |
} |
| 147 |
|
| 148 |
.align-default { |
| 149 |
text-align: center; |
| 150 |
} |
| 151 |
|
| 152 |
.align-right { |
| 153 |
text-align: right; |
| 154 |
} |
| 155 |
|
| 156 |
/* -- sidebars -------------------------------------------------------------- */ |
| 157 |
|
| 158 |
div.sidebar, |
| 159 |
aside.sidebar { |
| 160 |
margin: 0 0 0.5em 1em; |
| 161 |
border: 1px solid #ddb; |
| 162 |
padding: 7px; |
| 163 |
background-color: #ffe; |
| 164 |
width: 40%; |
| 165 |
float: right; |
| 166 |
clear: right; |
| 167 |
overflow-x: auto; |
| 168 |
} |
| 169 |
|
| 170 |
p.sidebar-title { |
| 171 |
font-weight: bold; |
| 172 |
} |
| 173 |
|
| 174 |
div.admonition, div.topic, blockquote { |
| 175 |
clear: left; |
| 176 |
} |
| 177 |
|
| 178 |
/* -- topics ---------------------------------------------------------------- */ |
| 179 |
|
| 180 |
div.topic { |
| 181 |
border: 1px solid #ccc; |
| 182 |
padding: 7px; |
| 183 |
margin: 10px 0 10px 0; |
| 184 |
} |
| 185 |
|
| 186 |
p.topic-title { |
| 187 |
font-size: 1.1em; |
| 188 |
font-weight: bold; |
| 189 |
margin-top: 10px; |
| 190 |
} |
| 191 |
|
| 192 |
/* -- admonitions ----------------------------------------------------------- */ |
| 193 |
|
| 194 |
div.admonition { |
| 195 |
margin-top: 10px; |
| 196 |
margin-bottom: 10px; |
| 197 |
padding: 7px; |
| 198 |
} |
| 199 |
|
| 200 |
div.admonition dt { |
| 201 |
font-weight: bold; |
| 202 |
} |
| 203 |
|
| 204 |
p.admonition-title { |
| 205 |
margin: 0px 10px 5px 0px; |
| 206 |
font-weight: bold; |
| 207 |
} |
| 208 |
|
| 209 |
div.body p.centered { |
| 210 |
text-align: center; |
| 211 |
margin-top: 25px; |
| 212 |
} |
| 213 |
|
| 214 |
/* -- content of sidebars/topics/admonitions -------------------------------- */ |
| 215 |
|
| 216 |
div.sidebar > :last-child, |
| 217 |
aside.sidebar > :last-child, |
| 218 |
div.topic > :last-child, |
| 219 |
div.admonition > :last-child { |
| 220 |
margin-bottom: 0; |
| 221 |
} |
| 222 |
|
| 223 |
div.sidebar::after, |
| 224 |
aside.sidebar::after, |
| 225 |
div.topic::after, |
| 226 |
div.admonition::after, |
| 227 |
blockquote::after { |
| 228 |
display: block; |
| 229 |
content: ''; |
| 230 |
clear: both; |
| 231 |
} |
| 232 |
|
| 233 |
.footnote { |
| 234 |
background-color: #f8f9de; /* polexpr.css */ |
| 235 |
} |
| 236 |
|
| 237 |
.footnote:target { |
| 238 |
background-color: #ffa; |
| 239 |
} |
| 240 |
|
| 241 |
/* -- code displays --------------------------------------------------------- */ |
| 242 |
|
| 243 |
pre { |
| 244 |
overflow: auto; |
| 245 |
overflow-y: hidden; /* fixes display issues on Chrome browsers */ |
| 246 |
} |
| 247 |
|
| 248 |
pre, div[class*="highlight-"] { |
| 249 |
clear: both; |
| 250 |
} |
| 251 |
|
| 252 |
span.pre { |
| 253 |
-moz-hyphens: none; |
| 254 |
-ms-hyphens: none; |
| 255 |
-webkit-hyphens: none; |
| 256 |
hyphens: none; |
| 257 |
white-space: nowrap; |
| 258 |
} |
| 259 |
|
| 260 |
div[class*="highlight-"] { |
| 261 |
margin: 1em 0; |
| 262 |
} |
| 263 |
|
| 264 |
td.linenos pre { |
| 265 |
border: 0; |
| 266 |
background-color: transparent; |
| 267 |
color: #aaa; |
| 268 |
} |
| 269 |
|
| 270 |
|
| 271 |
.highlight .hll { |
| 272 |
display: block; |
| 273 |
} |
| 274 |
|
| 275 |
div.highlight pre, |
| 276 |
table.highlighttable pre { |
| 277 |
margin: 0; |
| 278 |
} |
| 279 |
|
| 280 |
table.highlighttable td.linenos, |
| 281 |
span.linenos, |
| 282 |
div.highlight span.gp { /* gp: Generic.Prompt */ |
| 283 |
user-select: none; |
| 284 |
-webkit-user-select: text; /* Safari fallback only */ |
| 285 |
-webkit-user-select: none; /* Chrome/Safari */ |
| 286 |
-moz-user-select: none; /* Firefox */ |
| 287 |
-ms-user-select: none; /* IE10+ */ |
| 288 |
} |
| 289 |
|
| 290 |
div.code-block-caption span.caption-number { |
| 291 |
padding: 0.1em 0.3em; |
| 292 |
font-style: italic; |
| 293 |
} |
| 294 |
|
| 295 |
div.code-block-caption span.caption-text { |
| 296 |
} |
| 297 |
|
| 298 |
div.literal-block-wrapper { |
| 299 |
margin: 1em 0; |
| 300 |
} |
| 301 |
|
| 302 |
code.xref, a code { |
| 303 |
background-color: transparent; |
| 304 |
font-weight: bold; |
| 305 |
} |
| 306 |
|
| 307 |
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { |
| 308 |
background-color: transparent; |
| 309 |
} |
| 310 |
|
| 311 |
/* -- printout stylesheet --------------------------------------------------- */ |
| 312 |
|
| 313 |
@media print { |
| 314 |
div.document, |
| 315 |
div.documentwrapper, |
| 316 |
div.bodywrapper { |
| 317 |
margin: 0 !important; |
| 318 |
width: 100%; |
| 319 |
} |
| 320 |
|
| 321 |
div.sphinxsidebar, |
| 322 |
div.related, |
| 323 |
div.footer, |
| 324 |
#top-link { |
| 325 |
display: none; |
| 326 |
} |
| 327 |
} |
| 328 |
|
| 329 |
/* -- end of extracts from basic.css ---------------------------------------- */ |
| 330 |
|
| 331 |
/* -- start of extracts from bizstyle.css ----------------------------------- */ |
| 332 |
|
| 333 |
/* -- page layout ----------------------------------------------------------- */ |
| 334 |
|
| 335 |
body { |
| 336 |
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', |
| 337 |
'Verdana', sans-serif; |
| 338 |
/* font-size: 14px; not for polexpr.css */ |
| 339 |
letter-spacing: -0.01em; |
| 340 |
line-height: 150%; |
| 341 |
text-align: center; |
| 342 |
background-color: white; |
| 343 |
background-image: url(background_b01.png); |
| 344 |
color: black; |
| 345 |
padding: 0; |
| 346 |
border-right: 1px solid #336699; |
| 347 |
border-left: 1px solid #336699; |
| 348 |
|
| 349 |
margin: 0px 40px 0px 40px; |
| 350 |
} |
| 351 |
|
| 352 |
div.document { |
| 353 |
background-color: white; |
| 354 |
text-align: left; |
| 355 |
background-repeat: repeat-x; |
| 356 |
|
| 357 |
-moz-box-shadow: 2px 2px 5px #000; |
| 358 |
-webkit-box-shadow: 2px 2px 5px #000; |
| 359 |
} |
| 360 |
|
| 361 |
div.documentwrapper { |
| 362 |
float: left; |
| 363 |
width: 100%; |
| 364 |
} |
| 365 |
|
| 366 |
div.bodywrapper { |
| 367 |
margin: 0 0 0 240px; |
| 368 |
border-left: 1px solid #ccc; |
| 369 |
} |
| 370 |
|
| 371 |
div.body { |
| 372 |
margin: 0; |
| 373 |
padding: 0.5em 20px 20px 20px; |
| 374 |
} |
| 375 |
div.bodywrapper { |
| 376 |
margin: 0 calc(35% + 30px) 0 0; /* polexpr */ |
| 377 |
border-right: 1px solid #ccc; |
| 378 |
} |
| 379 |
|
| 380 |
div.related { |
| 381 |
font-size: 1em; |
| 382 |
|
| 383 |
-moz-box-shadow: 2px 2px 5px #000; |
| 384 |
-webkit-box-shadow: 2px 2px 5px #000; |
| 385 |
} |
| 386 |
|
| 387 |
div.related ul { |
| 388 |
background-color: #336699; |
| 389 |
height: 100%; |
| 390 |
overflow: hidden; |
| 391 |
border-top: 1px solid #ddd; |
| 392 |
border-bottom: 1px solid #ddd; |
| 393 |
} |
| 394 |
|
| 395 |
div.related ul li { |
| 396 |
color: white; |
| 397 |
margin: 0; |
| 398 |
padding: 0; |
| 399 |
height: 2em; |
| 400 |
float: left; |
| 401 |
} |
| 402 |
|
| 403 |
div.related ul li.right { |
| 404 |
float: right; |
| 405 |
margin-right: 5px; |
| 406 |
} |
| 407 |
|
| 408 |
div.related ul li a { |
| 409 |
margin: 0; |
| 410 |
padding: 0 5px 0 5px; |
| 411 |
line-height: 1.75em; |
| 412 |
color: #fff; |
| 413 |
} |
| 414 |
|
| 415 |
div.related ul li a:hover { |
| 416 |
color: #fff; |
| 417 |
text-decoration: underline; |
| 418 |
} |
| 419 |
|
| 420 |
div.sphinxsidebarwrapper { |
| 421 |
padding: 0; |
| 422 |
} |
| 423 |
|
| 424 |
div.sphinxsidebar { |
| 425 |
padding: 0.5em 12px 12px 12px; |
| 426 |
width: 35%; /* polexpr */ |
| 427 |
float: right; |
| 428 |
font-size: 1em; |
| 429 |
text-align: left; |
| 430 |
} |
| 431 |
|
| 432 |
div.sphinxsidebar h3, div.sphinxsidebar h4 { |
| 433 |
margin: 1em 0 0.5em 0; |
| 434 |
font-size: 1em; |
| 435 |
padding: 0.1em 0 0.1em 0.5em; |
| 436 |
color: white; |
| 437 |
border: 1px solid #336699; |
| 438 |
background-color: #336699; |
| 439 |
} |
| 440 |
|
| 441 |
div.sphinxsidebar h3 a { |
| 442 |
color: white; |
| 443 |
} |
| 444 |
|
| 445 |
div.sphinxsidebar ul { |
| 446 |
padding-left: 1.5em; |
| 447 |
margin-top: 7px; |
| 448 |
padding: 0; |
| 449 |
line-height: 130%; |
| 450 |
} |
| 451 |
|
| 452 |
div.sphinxsidebar ul ul { |
| 453 |
margin-left: 20px; |
| 454 |
} |
| 455 |
|
| 456 |
div.sphinxsidebar input { |
| 457 |
border: 1px solid #336699; |
| 458 |
} |
| 459 |
|
| 460 |
div.footer { |
| 461 |
background-color: white; |
| 462 |
color: #336699; |
| 463 |
padding: 3px 8px 3px 0; |
| 464 |
clear: both; |
| 465 |
font-size: 0.8em; |
| 466 |
text-align: right; |
| 467 |
border-bottom: 1px solid #336699; |
| 468 |
|
| 469 |
-moz-box-shadow: 2px 2px 5px #000; |
| 470 |
-webkit-box-shadow: 2px 2px 5px #000; |
| 471 |
} |
| 472 |
|
| 473 |
div.footer a { |
| 474 |
color: #336699; |
| 475 |
text-decoration: underline; |
| 476 |
} |
| 477 |
|
| 478 |
/* -- body styles ----------------------------------------------------------- */ |
| 479 |
|
| 480 |
p { |
| 481 |
margin: 0.8em 0 0.5em 0; |
| 482 |
} |
| 483 |
|
| 484 |
a { |
| 485 |
color: #336699; |
| 486 |
text-decoration: none; |
| 487 |
} |
| 488 |
|
| 489 |
a:hover { |
| 490 |
color: #336699; |
| 491 |
text-decoration: underline; |
| 492 |
} |
| 493 |
|
| 494 |
div.body a { |
| 495 |
text-decoration: underline; |
| 496 |
} |
| 497 |
|
| 498 |
h1, h2, h3 { |
| 499 |
color: #336699; |
| 500 |
} |
| 501 |
|
| 502 |
h1 { |
| 503 |
margin: 0; |
| 504 |
padding: 0.7em 0 0.3em 0; |
| 505 |
font-size: 1.5em; |
| 506 |
} |
| 507 |
|
| 508 |
h2 { |
| 509 |
margin: 1.3em 0 0.2em 0; |
| 510 |
font-size: 1.35em; |
| 511 |
padding-bottom: .5em; |
| 512 |
border-bottom: 1px solid #336699; |
| 513 |
} |
| 514 |
|
| 515 |
h3 { |
| 516 |
margin: 1em 0 -0.3em 0; |
| 517 |
font-size: 1.2em; |
| 518 |
padding-bottom: .3em; |
| 519 |
border-bottom: 1px solid #CCCCCC; |
| 520 |
} |
| 521 |
|
| 522 |
div.body h1 a, div.body h2 a, div.body h3 a, |
| 523 |
div.body h4 a, div.body h5 a, div.body h6 a { |
| 524 |
color: black!important; |
| 525 |
} |
| 526 |
|
| 527 |
h1 a.anchor, h2 a.anchor, h3 a.anchor, |
| 528 |
h4 a.anchor, h5 a.anchor, h6 a.anchor { |
| 529 |
display: none; |
| 530 |
margin: 0 0 0 0.3em; |
| 531 |
padding: 0 0.2em 0 0.2em; |
| 532 |
color: #aaa!important; |
| 533 |
} |
| 534 |
|
| 535 |
h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, |
| 536 |
h5:hover a.anchor, h6:hover a.anchor { |
| 537 |
display: inline; |
| 538 |
} |
| 539 |
|
| 540 |
h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover, |
| 541 |
h5 a.anchor:hover, h6 a.anchor:hover { |
| 542 |
color: #777; |
| 543 |
background-color: #eee; |
| 544 |
} |
| 545 |
|
| 546 |
a.headerlink { |
| 547 |
color: #c60f0f!important; |
| 548 |
font-size: 1em; |
| 549 |
margin-left: 6px; |
| 550 |
padding: 0 4px 0 4px; |
| 551 |
text-decoration: none!important; |
| 552 |
} |
| 553 |
|
| 554 |
a.headerlink:hover { |
| 555 |
background-color: #ccc; |
| 556 |
color: white!important; |
| 557 |
} |
| 558 |
|
| 559 |
cite, code, tt { |
| 560 |
font-family: 'Consolas', 'Deja Vu Sans Mono', |
| 561 |
'Bitstream Vera Sans Mono', monospace; |
| 562 |
/* font-size: 0.95em; not for polexpr */ |
| 563 |
letter-spacing: 0.01em; |
| 564 |
} |
| 565 |
|
| 566 |
code { |
| 567 |
background-color: #F2F2F2; |
| 568 |
border-bottom: 1px solid #ddd; |
| 569 |
color: #333; |
| 570 |
} |
| 571 |
|
| 572 |
code.descname, code.descclassname, code.xref { |
| 573 |
border: 0; |
| 574 |
} |
| 575 |
|
| 576 |
hr { |
| 577 |
border: 1px solid #abc; |
| 578 |
margin: 2em; |
| 579 |
} |
| 580 |
|
| 581 |
a code { |
| 582 |
border: 0; |
| 583 |
color: #CA7900; |
| 584 |
} |
| 585 |
|
| 586 |
a code:hover { |
| 587 |
color: #2491CF; |
| 588 |
} |
| 589 |
|
| 590 |
pre { |
| 591 |
background-color: transparent !important; |
| 592 |
font-family: 'Consolas', 'Deja Vu Sans Mono', |
| 593 |
'Bitstream Vera Sans Mono', monospace; |
| 594 |
/* font-size: 0.95em; not for polexpr */ |
| 595 |
letter-spacing: 0.015em; |
| 596 |
line-height: 120%; |
| 597 |
padding: 0.5em; |
| 598 |
border-right: 5px solid #ccc; |
| 599 |
border-left: 5px solid #ccc; |
| 600 |
} |
| 601 |
|
| 602 |
pre a { |
| 603 |
color: inherit; |
| 604 |
text-decoration: underline; |
| 605 |
} |
| 606 |
|
| 607 |
td.linenos pre { |
| 608 |
padding: 0.5em 0; |
| 609 |
} |
| 610 |
|
| 611 |
div.quotebar { |
| 612 |
background-color: #f8f8f8; |
| 613 |
max-width: 250px; |
| 614 |
float: right; |
| 615 |
padding: 2px 7px; |
| 616 |
border: 1px solid #ccc; |
| 617 |
} |
| 618 |
|
| 619 |
div.topic { |
| 620 |
background-color: #f8f8f8; |
| 621 |
} |
| 622 |
|
| 623 |
div.admonition { |
| 624 |
/* font-size: 0.9em; not for polexpr */ |
| 625 |
margin: 1em 0 1em 0; |
| 626 |
border: 3px solid #cccccc; |
| 627 |
background-color: #f7f7f7; |
| 628 |
padding: 0; |
| 629 |
} |
| 630 |
|
| 631 |
div.admonition p { |
| 632 |
margin: 0.5em 1em 0.5em 1em; |
| 633 |
padding: 0; |
| 634 |
} |
| 635 |
|
| 636 |
div.admonition li p { |
| 637 |
margin-left: 0; |
| 638 |
} |
| 639 |
|
| 640 |
div.admonition pre, div.warning pre { |
| 641 |
margin: 0; |
| 642 |
} |
| 643 |
|
| 644 |
div.highlight { |
| 645 |
margin: 0.4em 1em; |
| 646 |
} |
| 647 |
|
| 648 |
div.admonition p.admonition-title { |
| 649 |
margin: 0; |
| 650 |
padding: 0.1em 0 0.1em 0.5em; |
| 651 |
color: white; |
| 652 |
border-bottom: 3px solid #cccccc; |
| 653 |
font-weight: bold; |
| 654 |
background-color: #165e83; |
| 655 |
} |
| 656 |
|
| 657 |
div.danger { border: 3px solid #f0908d; background-color: #f0cfa0; } |
| 658 |
div.error { border: 3px solid #f0908d; background-color: #ede4cd; } |
| 659 |
div.warning { border: 3px solid #f8b862; background-color: #f0cfa0; } |
| 660 |
div.caution { border: 3px solid #f8b862; background-color: #ede4cd; } |
| 661 |
div.attention { border: 3px solid #f8b862; background-color: #f3f3f3; } |
| 662 |
div.important { border: 3px solid #f0cfa0; background-color: #ede4cd; } |
| 663 |
div.note { border: 3px solid #f0cfa0; background-color: #f3f3f3; } |
| 664 |
div.hint { border: 3px solid #bed2c3; background-color: #f3f3f3; } |
| 665 |
div.tip { border: 3px solid #bed2c3; background-color: #f3f3f3; } |
| 666 |
|
| 667 |
div.danger p.admonition-title, div.error p.admonition-title { |
| 668 |
background-color: #b7282e; |
| 669 |
border-bottom: 3px solid #f0908d; |
| 670 |
} |
| 671 |
|
| 672 |
div.caution p.admonition-title, |
| 673 |
div.warning p.admonition-title, |
| 674 |
div.attention p.admonition-title { |
| 675 |
background-color: #f19072; |
| 676 |
border-bottom: 3px solid #f8b862; |
| 677 |
} |
| 678 |
|
| 679 |
div.note p.admonition-title, div.important p.admonition-title { |
| 680 |
background-color: #f8b862; |
| 681 |
border-bottom: 3px solid #f0cfa0; |
| 682 |
} |
| 683 |
|
| 684 |
div.hint p.admonition-title, div.tip p.admonition-title { |
| 685 |
background-color: #7ebea5; |
| 686 |
border-bottom: 3px solid #bed2c3; |
| 687 |
} |
| 688 |
|
| 689 |
div.admonition ul, div.admonition ol, |
| 690 |
div.warning ul, div.warning ol { |
| 691 |
margin: 0.1em 0.5em 0.5em 3em; |
| 692 |
padding: 0; |
| 693 |
} |
| 694 |
|
| 695 |
div.versioninfo { |
| 696 |
margin: 1em 0 0 0; |
| 697 |
border: 1px solid #ccc; |
| 698 |
background-color: #DDEAF0; |
| 699 |
padding: 8px; |
| 700 |
line-height: 1.3em; |
| 701 |
font-size: 0.9em; |
| 702 |
} |
| 703 |
|
| 704 |
div.literal-block-wrapper div.code-block-caption { |
| 705 |
background-color: #EEE; |
| 706 |
border-style: solid; |
| 707 |
border-color: #CCC; |
| 708 |
border-width: 1px 5px; |
| 709 |
} |
| 710 |
|
| 711 |
/* WIDE DESKTOP STYLE */ |
| 712 |
@media only screen and (min-width: 1176px) { |
| 713 |
body { |
| 714 |
margin: 0 40px 0 40px; |
| 715 |
} |
| 716 |
} |
| 717 |
|
| 718 |
/* TABLET STYLE */ |
| 719 |
@media only screen and (min-width: 768px) and (max-width: 991px) { |
| 720 |
body { |
| 721 |
margin: 0 40px 0 40px; |
| 722 |
} |
| 723 |
} |
| 724 |
|
| 725 |
/* MOBILE LAYOUT (PORTRAIT/320px) */ |
| 726 |
@media only screen and (max-width: 767px) { |
| 727 |
body { |
| 728 |
margin: 0; |
| 729 |
} |
| 730 |
div.bodywrapper { |
| 731 |
margin: 0; |
| 732 |
width: 100%; |
| 733 |
border: none; |
| 734 |
} |
| 735 |
div.sphinxsidebar { |
| 736 |
display: none; |
| 737 |
} |
| 738 |
} |
| 739 |
|
| 740 |
/* MOBILE LAYOUT (LANDSCAPE/480px) */ |
| 741 |
@media only screen and (min-width: 480px) and (max-width: 767px) { |
| 742 |
body { |
| 743 |
margin: 0 20px 0 20px; |
| 744 |
} |
| 745 |
} |
| 746 |
|
| 747 |
/* RETINA OVERRIDES */ |
| 748 |
@media |
| 749 |
only screen and (-webkit-min-device-pixel-ratio: 2), |
| 750 |
only screen and (min-device-pixel-ratio: 2) { |
| 751 |
} |
| 752 |
|
| 753 |
/* -- end ------------------------------------------------------------------- */ |
| 754 |
|
| 755 |
/* -- pygments styling from `pygmentize -S friendly -f html` ---------------- */ |
| 756 |
|
| 757 |
pre { line-height: 125%; } |
| 758 |
td.linenos .normal { color: #666666; background-color: transparent; padding-left: 5px; padding-right: 5px; } |
| 759 |
span.linenos { color: #666666; background-color: transparent; padding-left: 5px; padding-right: 5px; } |
| 760 |
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } |
| 761 |
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } |
| 762 |
.highlight .hll { background-color: #ffffcc } |
| 763 |
.highlight { background: #f0f0f0; } |
| 764 |
.highlight .c { color: #60a0b0; font-style: italic } /* Comment */ |
| 765 |
.highlight .err { border: 1px solid #FF0000 } /* Error */ |
| 766 |
.highlight .k { color: #007020; font-weight: bold } /* Keyword */ |
| 767 |
.highlight .o { color: #666666 } /* Operator */ |
| 768 |
.highlight .ch { color: #60a0b0; font-style: italic } /* Comment.Hashbang */ |
| 769 |
.highlight .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */ |
| 770 |
.highlight .cp { color: #007020 } /* Comment.Preproc */ |
| 771 |
.highlight .cpf { color: #60a0b0; font-style: italic } /* Comment.PreprocFile */ |
| 772 |
.highlight .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */ |
| 773 |
.highlight .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */ |
| 774 |
.highlight .gd { color: #A00000 } /* Generic.Deleted */ |
| 775 |
.highlight .ge { font-style: italic } /* Generic.Emph */ |
| 776 |
.highlight .gr { color: #FF0000 } /* Generic.Error */ |
| 777 |
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ |
| 778 |
.highlight .gi { color: #00A000 } /* Generic.Inserted */ |
| 779 |
.highlight .go { color: #888888 } /* Generic.Output */ |
| 780 |
.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ |
| 781 |
.highlight .gs { font-weight: bold } /* Generic.Strong */ |
| 782 |
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ |
| 783 |
.highlight .gt { color: #0044DD } /* Generic.Traceback */ |
| 784 |
.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ |
| 785 |
.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ |
| 786 |
.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ |
| 787 |
.highlight .kp { color: #007020 } /* Keyword.Pseudo */ |
| 788 |
.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ |
| 789 |
.highlight .kt { color: #902000 } /* Keyword.Type */ |
| 790 |
.highlight .m { color: #40a070 } /* Literal.Number */ |
| 791 |
.highlight .s { color: #4070a0 } /* Literal.String */ |
| 792 |
.highlight .na { color: #4070a0 } /* Name.Attribute */ |
| 793 |
.highlight .nb { color: #007020 } /* Name.Builtin */ |
| 794 |
.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ |
| 795 |
.highlight .no { color: #60add5 } /* Name.Constant */ |
| 796 |
.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ |
| 797 |
.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ |
| 798 |
.highlight .ne { color: #007020 } /* Name.Exception */ |
| 799 |
.highlight .nf { color: #06287e } /* Name.Function */ |
| 800 |
.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ |
| 801 |
.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ |
| 802 |
.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ |
| 803 |
.highlight .nv { color: #bb60d5 } /* Name.Variable */ |
| 804 |
.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ |
| 805 |
.highlight .w { color: #bbbbbb } /* Text.Whitespace */ |
| 806 |
.highlight .mb { color: #40a070 } /* Literal.Number.Bin */ |
| 807 |
.highlight .mf { color: #40a070 } /* Literal.Number.Float */ |
| 808 |
.highlight .mh { color: #40a070 } /* Literal.Number.Hex */ |
| 809 |
.highlight .mi { color: #40a070 } /* Literal.Number.Integer */ |
| 810 |
.highlight .mo { color: #40a070 } /* Literal.Number.Oct */ |
| 811 |
.highlight .sa { color: #4070a0 } /* Literal.String.Affix */ |
| 812 |
.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ |
| 813 |
.highlight .sc { color: #4070a0 } /* Literal.String.Char */ |
| 814 |
.highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */ |
| 815 |
.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ |
| 816 |
.highlight .s2 { color: #4070a0 } /* Literal.String.Double */ |
| 817 |
.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ |
| 818 |
.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ |
| 819 |
.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ |
| 820 |
.highlight .sx { color: #c65d09 } /* Literal.String.Other */ |
| 821 |
.highlight .sr { color: #235388 } /* Literal.String.Regex */ |
| 822 |
.highlight .s1 { color: #4070a0 } /* Literal.String.Single */ |
| 823 |
.highlight .ss { color: #517918 } /* Literal.String.Symbol */ |
| 824 |
.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ |
| 825 |
.highlight .fm { color: #06287e } /* Name.Function.Magic */ |
| 826 |
.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ |
| 827 |
.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ |
| 828 |
.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ |
| 829 |
.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */ |
| 830 |
.highlight .il { color: #40a070 } /* Literal.Number.Integer.Long */ |