891 lines
34 KiB
CSS
891 lines
34 KiB
CSS
|
/*
|
||
|
Stylesheet for use with Docutils/rst2html.
|
||
|
|
||
|
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
|
||
|
customize this style sheet.
|
||
|
|
||
|
Modified from Chad Skeeters' rst2html-style
|
||
|
https://bitbucket.org/cskeeters/rst2html-style/
|
||
|
|
||
|
Modified by Boyd Greenfield and narimiran
|
||
|
*/
|
||
|
|
||
|
:root {
|
||
|
--primary-background: #fff;
|
||
|
--secondary-background: ghostwhite;
|
||
|
--third-background: #e8e8e8;
|
||
|
--border: #dde;
|
||
|
--text: #222;
|
||
|
--anchor: #07b;
|
||
|
--anchor-focus: #607c9f;
|
||
|
--input-focus: #1fa0eb;
|
||
|
--strong: #3c3c3c;
|
||
|
--hint: #9A9A9A;
|
||
|
--nim-sprite-base64: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAN4AAAA9CAYAAADCt9ebAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFFmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYW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lltxnsdpbPMRMmd3lqTTumqMw7FZY5G5mSHw5dalreiRWYGWjbZ7gYUlFa0xOtIWA4vk1E6zWEoI+FvyYrjSAO1FG8DCmQGKd+DJFsGogWVVFiP/GWbga9Svg9NgtPQvnd04fUNCcriSBF+vqZ5nn9PQ+Xs4q401oI6EP0R+BkyXoAeAtcgBfwidnvkVaMVFTO6n1JoWTfqiONw1MVP8e6l3GVwO
|
||
|
|
||
|
--keyword: #5e8f60;
|
||
|
--identifier: #222;
|
||
|
--comment: #484a86;
|
||
|
--operator: #155da4;
|
||
|
--punctuation: black;
|
||
|
--other: black;
|
||
|
--escapeSequence: #c4891b;
|
||
|
--number: #252dbe;
|
||
|
--literal: #a4255b;
|
||
|
--raw-data: #a4255b;
|
||
|
}
|
||
|
|
||
|
[data-theme="dark"] {
|
||
|
--primary-background: #171921;
|
||
|
--secondary-background: #1e202a;
|
||
|
--third-background: #2b2e3b;
|
||
|
--border: #0e1014;
|
||
|
--text: #fff;
|
||
|
--anchor: #8be9fd;
|
||
|
--anchor-focus: #8be9fd;
|
||
|
--input-focus: #8be9fd;
|
||
|
--strong: #bd93f9;
|
||
|
--hint: #7A7C85;
|
||
|
--nim-sprite-base64: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARMAAABMCAYAAABOBlMuAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFFmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8c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CxCyrEZdLodDoQi8Ulx44de628NL/V1Pa8iERE8l2dHB2CJvpcq9Nqbt1qKURWj1Njxld0ZGTkAW9v70kLCQC8sEIC8O/HKx8fn2gmk8kHgCk7pRFmzrWyAikASE1tx0Jj2uH0EZHL/N7YtuvT4OBgzmz4OBYSeDweIiMjt2S++vtMP1YYEmmJsCCY8mNOIJtr6+zsHBcZGXmIw+G4mZubG8m0hU9HRwcUFxe/KxQKTyDRsQjznSmJCS9+dVRERMTfQ0NDo2xtbfUGiSFMjtHRUaitrc3Jzc09kHvxVLmp7UFAmC6oZQkvrZLL5RJhReHtiQb5scKIXC7371FRUX90dnYGIpE4JR8Jgn40Gg20t7fXFxYWfnr9+vWjz8sdYi+Osh4vzgUBwZSgtu94V+fs7Hx7YGCgr
|
||
|
|
||
|
--keyword: #ff79c6;
|
||
|
--identifier: #f8f8f2;
|
||
|
--comment: #6272a4;
|
||
|
--operator: #ff79c6;
|
||
|
--punctuation: #f8f8f2;
|
||
|
--other: #f8f8f2;
|
||
|
--escapeSequence: #bd93f9;
|
||
|
--number: #bd93f9;
|
||
|
--literal: #f1fa8c;
|
||
|
--raw-data: #8be9fd;
|
||
|
}
|
||
|
|
||
|
.theme-switch-wrapper {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
|
||
|
em {
|
||
|
margin-left: 10px;
|
||
|
font-size: 1rem;
|
||
|
}
|
||
|
}
|
||
|
.theme-switch {
|
||
|
display: inline-block;
|
||
|
height: 22px;
|
||
|
position: relative;
|
||
|
width: 50px;
|
||
|
}
|
||
|
|
||
|
.theme-switch input {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.slider {
|
||
|
background-color: #ccc;
|
||
|
bottom: 0;
|
||
|
cursor: pointer;
|
||
|
left: 0;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
transition: .4s;
|
||
|
}
|
||
|
|
||
|
.slider:before {
|
||
|
background-color: #fff;
|
||
|
bottom: 4px;
|
||
|
content: "";
|
||
|
height: 13px;
|
||
|
left: 4px;
|
||
|
position: absolute;
|
||
|
transition: .4s;
|
||
|
width: 13px;
|
||
|
}
|
||
|
|
||
|
input:checked + .slider {
|
||
|
background-color: #66bb6a;
|
||
|
}
|
||
|
|
||
|
input:checked + .slider:before {
|
||
|
transform: translateX(26px);
|
||
|
}
|
||
|
|
||
|
.slider.round {
|
||
|
border-radius: 17px;
|
||
|
}
|
||
|
|
||
|
.slider.round:before {
|
||
|
border-radius: 50%;
|
||
|
}
|
||
|
|
||
|
html {
|
||
|
font-size: 100%;
|
||
|
-webkit-text-size-adjust: 100%;
|
||
|
-ms-text-size-adjust: 100%; }
|
||
|
|
||
|
body {
|
||
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
|
||
|
font-weight: 400;
|
||
|
font-size: 1.125em;
|
||
|
line-height: 1.5;
|
||
|
color: var(--text);
|
||
|
background-color: var(--primary-background); }
|
||
|
|
||
|
/* Skeleton grid */
|
||
|
.container {
|
||
|
position: relative;
|
||
|
width: 100%;
|
||
|
max-width: 1050px;
|
||
|
margin: 0 auto;
|
||
|
padding: 0;
|
||
|
box-sizing: border-box; }
|
||
|
|
||
|
.column,
|
||
|
.columns {
|
||
|
width: 100%;
|
||
|
float: left;
|
||
|
box-sizing: border-box;
|
||
|
margin-left: 1%;
|
||
|
}
|
||
|
|
||
|
.column:first-child,
|
||
|
.columns:first-child {
|
||
|
margin-left: 0; }
|
||
|
|
||
|
.three.columns {
|
||
|
width: 19%; }
|
||
|
|
||
|
.nine.columns {
|
||
|
width: 80.0%; }
|
||
|
|
||
|
.twelve.columns {
|
||
|
width: 100%;
|
||
|
margin-left: 0; }
|
||
|
|
||
|
@media screen and (max-width: 860px) {
|
||
|
.three.columns {
|
||
|
display: none;
|
||
|
}
|
||
|
.nine.columns {
|
||
|
width: 98.0%;
|
||
|
}
|
||
|
body {
|
||
|
font-size: 1em;
|
||
|
line-height: 1.35;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
cite {
|
||
|
font-style: italic !important; }
|
||
|
|
||
|
|
||
|
/* Nim search input */
|
||
|
div#searchInputDiv {
|
||
|
margin-bottom: 1em;
|
||
|
}
|
||
|
input#searchInput {
|
||
|
width: 80%;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* Some custom formatting for input forms.
|
||
|
* This also fixes input form colors on Firefox with a dark system theme on Linux.
|
||
|
*/
|
||
|
input {
|
||
|
-moz-appearance: none;
|
||
|
background-color: var(--secondary-background);
|
||
|
color: var(--text);
|
||
|
border: 1px solid var(--border);
|
||
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
|
||
|
font-size: 0.9em;
|
||
|
padding: 6px;
|
||
|
}
|
||
|
|
||
|
input:focus {
|
||
|
border: 1px solid var(--input-focus);
|
||
|
box-shadow: 0 0 3px var(--input-focus);
|
||
|
}
|
||
|
|
||
|
select {
|
||
|
-moz-appearance: none;
|
||
|
background-color: var(--secondary-background);
|
||
|
color: var(--text);
|
||
|
border: 1px solid var(--border);
|
||
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
|
||
|
font-size: 0.9em;
|
||
|
padding: 6px;
|
||
|
}
|
||
|
|
||
|
select:focus {
|
||
|
border: 1px solid var(--input-focus);
|
||
|
box-shadow: 0 0 3px var(--input-focus);
|
||
|
}
|
||
|
|
||
|
/* Docgen styles */
|
||
|
/* Links */
|
||
|
a {
|
||
|
color: var(--anchor);
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
a span.Identifier {
|
||
|
text-decoration: underline;
|
||
|
text-decoration-color: #aab;
|
||
|
}
|
||
|
|
||
|
a.reference-toplevel {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
a.toc-backref {
|
||
|
text-decoration: none;
|
||
|
color: var(--text); }
|
||
|
|
||
|
a.link-seesrc {
|
||
|
color: #607c9f;
|
||
|
font-size: 0.9em;
|
||
|
font-style: italic; }
|
||
|
|
||
|
a:hover,
|
||
|
a:focus {
|
||
|
color: var(--anchor-focus);
|
||
|
text-decoration: underline; }
|
||
|
|
||
|
a:hover span.Identifier {
|
||
|
color: var(--anchor);
|
||
|
}
|
||
|
|
||
|
|
||
|
sub,
|
||
|
sup {
|
||
|
position: relative;
|
||
|
font-size: 75%;
|
||
|
line-height: 0;
|
||
|
vertical-align: baseline; }
|
||
|
|
||
|
sup {
|
||
|
top: -0.5em; }
|
||
|
|
||
|
sub {
|
||
|
bottom: -0.25em; }
|
||
|
|
||
|
img {
|
||
|
width: auto;
|
||
|
height: auto;
|
||
|
max-width: 100%;
|
||
|
vertical-align: middle;
|
||
|
border: 0;
|
||
|
-ms-interpolation-mode: bicubic; }
|
||
|
|
||
|
@media print {
|
||
|
* {
|
||
|
color: black !important;
|
||
|
text-shadow: none !important;
|
||
|
background: transparent !important;
|
||
|
box-shadow: none !important; }
|
||
|
|
||
|
a,
|
||
|
a:visited {
|
||
|
text-decoration: underline; }
|
||
|
|
||
|
a[href]:after {
|
||
|
content: " (" attr(href) ")"; }
|
||
|
|
||
|
abbr[title]:after {
|
||
|
content: " (" attr(title) ")"; }
|
||
|
|
||
|
.ir a:after,
|
||
|
a[href^="javascript:"]:after,
|
||
|
a[href^="#"]:after {
|
||
|
content: ""; }
|
||
|
|
||
|
pre,
|
||
|
blockquote {
|
||
|
border: 1px solid #999;
|
||
|
page-break-inside: avoid; }
|
||
|
|
||
|
thead {
|
||
|
display: table-header-group; }
|
||
|
|
||
|
tr,
|
||
|
img {
|
||
|
page-break-inside: avoid; }
|
||
|
|
||
|
img {
|
||
|
max-width: 100% !important; }
|
||
|
|
||
|
@page {
|
||
|
margin: 0.5cm; }
|
||
|
|
||
|
h1 {
|
||
|
page-break-before: always; }
|
||
|
|
||
|
h1.title {
|
||
|
page-break-before: avoid; }
|
||
|
|
||
|
p,
|
||
|
h2,
|
||
|
h3 {
|
||
|
orphans: 3;
|
||
|
widows: 3; }
|
||
|
|
||
|
h2,
|
||
|
h3 {
|
||
|
page-break-after: avoid; }
|
||
|
}
|
||
|
|
||
|
|
||
|
p {
|
||
|
margin-top: 0.5em;
|
||
|
margin-bottom: 0.5em;
|
||
|
}
|
||
|
|
||
|
small {
|
||
|
font-size: 85%; }
|
||
|
|
||
|
strong {
|
||
|
font-weight: 600;
|
||
|
font-size: 0.95em;
|
||
|
color: var(--strong);
|
||
|
}
|
||
|
|
||
|
em {
|
||
|
font-style: italic; }
|
||
|
|
||
|
h1 {
|
||
|
font-size: 1.8em;
|
||
|
font-weight: 400;
|
||
|
padding-bottom: .25em;
|
||
|
border-bottom: 6px solid var(--third-background);
|
||
|
margin-top: 2.5em;
|
||
|
margin-bottom: 1em;
|
||
|
line-height: 1.2em; }
|
||
|
|
||
|
h1.title {
|
||
|
padding-bottom: 1em;
|
||
|
border-bottom: 0px;
|
||
|
font-size: 2.5em;
|
||
|
text-align: center;
|
||
|
font-weight: 900;
|
||
|
margin-top: 0.75em;
|
||
|
margin-bottom: 0em;
|
||
|
}
|
||
|
|
||
|
h2 {
|
||
|
font-size: 1.3em;
|
||
|
margin-top: 2em; }
|
||
|
|
||
|
h2.subtitle {
|
||
|
text-align: center; }
|
||
|
|
||
|
h3 {
|
||
|
font-size: 1.125em;
|
||
|
font-style: italic;
|
||
|
margin-top: 1.5em; }
|
||
|
|
||
|
h4 {
|
||
|
font-size: 1.125em;
|
||
|
margin-top: 1em; }
|
||
|
|
||
|
h5 {
|
||
|
font-size: 1.125em;
|
||
|
margin-top: 0.75em; }
|
||
|
|
||
|
h6 {
|
||
|
font-size: 1.1em; }
|
||
|
|
||
|
|
||
|
ul,
|
||
|
ol {
|
||
|
padding: 0;
|
||
|
margin-top: 0.5em;
|
||
|
margin-left: 0.75em; }
|
||
|
|
||
|
ul ul,
|
||
|
ul ol,
|
||
|
ol ol,
|
||
|
ol ul {
|
||
|
margin-bottom: 0;
|
||
|
margin-left: 1.25em; }
|
||
|
|
||
|
li {
|
||
|
list-style-type: circle;
|
||
|
}
|
||
|
|
||
|
ul.simple-boot li {
|
||
|
list-style-type: none;
|
||
|
margin-left: 0em;
|
||
|
margin-bottom: 0.5em;
|
||
|
}
|
||
|
|
||
|
ol.simple > li, ul.simple > li {
|
||
|
margin-bottom: 0.25em;
|
||
|
margin-left: 0.4em }
|
||
|
|
||
|
ul.simple.simple-toc > li {
|
||
|
margin-top: 1em;
|
||
|
}
|
||
|
|
||
|
ul.simple-toc {
|
||
|
list-style: none;
|
||
|
font-size: 0.9em;
|
||
|
margin-left: -0.3em;
|
||
|
margin-top: 1em; }
|
||
|
|
||
|
ul.simple-toc > li {
|
||
|
list-style-type: none;
|
||
|
}
|
||
|
|
||
|
ul.simple-toc-section {
|
||
|
list-style-type: circle;
|
||
|
margin-left: 1em;
|
||
|
color: #6c9aae; }
|
||
|
|
||
|
|
||
|
ol.arabic {
|
||
|
list-style: decimal; }
|
||
|
|
||
|
ol.loweralpha {
|
||
|
list-style: lower-alpha; }
|
||
|
|
||
|
ol.upperalpha {
|
||
|
list-style: upper-alpha; }
|
||
|
|
||
|
ol.lowerroman {
|
||
|
list-style: lower-roman; }
|
||
|
|
||
|
ol.upperroman {
|
||
|
list-style: upper-roman; }
|
||
|
|
||
|
ul.auto-toc {
|
||
|
list-style-type: none; }
|
||
|
|
||
|
|
||
|
dl {
|
||
|
margin-bottom: 1.5em; }
|
||
|
|
||
|
dt {
|
||
|
margin-bottom: -0.5em;
|
||
|
margin-left: 0.0em; }
|
||
|
|
||
|
dd {
|
||
|
margin-left: 2.0em;
|
||
|
margin-bottom: 3.0em;
|
||
|
margin-top: 0.5em; }
|
||
|
|
||
|
|
||
|
hr {
|
||
|
margin: 2em 0;
|
||
|
border: 0;
|
||
|
border-top: 1px solid #aaa; }
|
||
|
|
||
|
blockquote {
|
||
|
font-size: 0.9em;
|
||
|
font-style: italic;
|
||
|
padding-left: 0.5em;
|
||
|
margin-left: 0;
|
||
|
border-left: 5px solid #bbc;
|
||
|
}
|
||
|
|
||
|
.pre {
|
||
|
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
|
||
|
font-weight: 500;
|
||
|
font-size: 0.85em;
|
||
|
color: var(--text);
|
||
|
background-color: var(--third-background);
|
||
|
padding-left: 3px;
|
||
|
padding-right: 3px;
|
||
|
border-radius: 4px;
|
||
|
}
|
||
|
|
||
|
pre {
|
||
|
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
|
||
|
color: var(--text);
|
||
|
font-weight: 500;
|
||
|
display: inline-block;
|
||
|
box-sizing: border-box;
|
||
|
min-width: 100%;
|
||
|
padding: 0.5em;
|
||
|
margin-top: 0.5em;
|
||
|
margin-bottom: 0.5em;
|
||
|
font-size: 0.85em;
|
||
|
white-space: pre !important;
|
||
|
overflow-y: hidden;
|
||
|
overflow-x: visible;
|
||
|
background-color: var(--secondary-background);
|
||
|
border: 1px solid var(--border);
|
||
|
-webkit-border-radius: 6px;
|
||
|
-moz-border-radius: 6px;
|
||
|
border-radius: 6px; }
|
||
|
|
||
|
.pre-scrollable {
|
||
|
max-height: 340px;
|
||
|
overflow-y: scroll; }
|
||
|
|
||
|
|
||
|
/* Nim line-numbered tables */
|
||
|
.line-nums-table {
|
||
|
width: 100%;
|
||
|
table-layout: fixed; }
|
||
|
|
||
|
table.line-nums-table {
|
||
|
border-radius: 4px;
|
||
|
border: 1px solid #cccccc;
|
||
|
background-color: ghostwhite;
|
||
|
border-collapse: separate;
|
||
|
margin-top: 15px;
|
||
|
margin-bottom: 25px; }
|
||
|
|
||
|
.line-nums-table tbody {
|
||
|
border: none; }
|
||
|
|
||
|
.line-nums-table td pre {
|
||
|
border: none;
|
||
|
background-color: transparent; }
|
||
|
|
||
|
.line-nums-table td.blob-line-nums {
|
||
|
width: 28px; }
|
||
|
|
||
|
.line-nums-table td.blob-line-nums pre {
|
||
|
color: #b0b0b0;
|
||
|
-webkit-filter: opacity(75%);
|
||
|
text-align: right;
|
||
|
border-color: transparent;
|
||
|
background-color: transparent;
|
||
|
padding-left: 0px;
|
||
|
margin-left: 0px;
|
||
|
padding-right: 0px;
|
||
|
margin-right: 0px; }
|
||
|
|
||
|
|
||
|
table {
|
||
|
max-width: 100%;
|
||
|
background-color: transparent;
|
||
|
margin-top: 0.5em;
|
||
|
margin-bottom: 1.5em;
|
||
|
border-collapse: collapse;
|
||
|
border-color: var(--third-background);
|
||
|
border-spacing: 0;
|
||
|
font-size: 0.9em;
|
||
|
}
|
||
|
|
||
|
table th, table td {
|
||
|
padding: 0px 0.5em 0px;
|
||
|
border-color: var(--third-background);
|
||
|
}
|
||
|
|
||
|
table th {
|
||
|
background-color: var(--third-background);
|
||
|
border-color: var(--third-background);
|
||
|
font-weight: bold; }
|
||
|
|
||
|
table th.docinfo-name {
|
||
|
background-color: transparent;
|
||
|
}
|
||
|
|
||
|
table tr:hover {
|
||
|
background-color: var(--third-background); }
|
||
|
|
||
|
|
||
|
/* rst2html default used to remove borders from tables and images */
|
||
|
.borderless, table.borderless td, table.borderless th {
|
||
|
border: 0; }
|
||
|
|
||
|
table.borderless td, table.borderless th {
|
||
|
/* Override padding for "table.docutils td" with "! important".
|
||
|
The right padding separates the table cells. */
|
||
|
padding: 0 0.5em 0 0 !important; }
|
||
|
|
||
|
.first {
|
||
|
/* Override more specific margin styles with "! important". */
|
||
|
margin-top: 0 !important; }
|
||
|
|
||
|
.last, .with-subtitle {
|
||
|
margin-bottom: 0 !important; }
|
||
|
|
||
|
.hidden {
|
||
|
display: none; }
|
||
|
|
||
|
blockquote.epigraph {
|
||
|
margin: 2em 5em; }
|
||
|
|
||
|
dl.docutils dd {
|
||
|
margin-bottom: 0.5em; }
|
||
|
|
||
|
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
||
|
overflow: hidden; }
|
||
|
|
||
|
|
||
|
div.figure {
|
||
|
margin-left: 2em;
|
||
|
margin-right: 2em; }
|
||
|
|
||
|
div.footer, div.header {
|
||
|
clear: both;
|
||
|
text-align: center;
|
||
|
color: #666;
|
||
|
font-size: smaller; }
|
||
|
|
||
|
div.footer {
|
||
|
padding-top: 5em;
|
||
|
}
|
||
|
|
||
|
div.line-block {
|
||
|
display: block;
|
||
|
margin-top: 1em;
|
||
|
margin-bottom: 1em; }
|
||
|
|
||
|
div.line-block div.line-block {
|
||
|
margin-top: 0;
|
||
|
margin-bottom: 0;
|
||
|
margin-left: 1.5em; }
|
||
|
|
||
|
div.topic {
|
||
|
margin: 2em; }
|
||
|
|
||
|
div.search_results {
|
||
|
background-color: antiquewhite;
|
||
|
margin: 3em;
|
||
|
padding: 1em;
|
||
|
border: 1px solid #4d4d4d;
|
||
|
}
|
||
|
|
||
|
div#global-links ul {
|
||
|
margin-left: 0;
|
||
|
list-style-type: none;
|
||
|
}
|
||
|
|
||
|
div#global-links > simple-boot {
|
||
|
margin-left: 3em;
|
||
|
}
|
||
|
|
||
|
hr.docutils {
|
||
|
width: 75%; }
|
||
|
|
||
|
img.align-left, .figure.align-left, object.align-left {
|
||
|
clear: left;
|
||
|
float: left;
|
||
|
margin-right: 1em; }
|
||
|
|
||
|
img.align-right, .figure.align-right, object.align-right {
|
||
|
clear: right;
|
||
|
float: right;
|
||
|
margin-left: 1em; }
|
||
|
|
||
|
img.align-center, .figure.align-center, object.align-center {
|
||
|
display: block;
|
||
|
margin-left: auto;
|
||
|
margin-right: auto; }
|
||
|
|
||
|
.align-left {
|
||
|
text-align: left; }
|
||
|
|
||
|
.align-center {
|
||
|
clear: both;
|
||
|
text-align: center; }
|
||
|
|
||
|
.align-right {
|
||
|
text-align: right; }
|
||
|
|
||
|
/* reset inner alignment in figures */
|
||
|
div.align-right {
|
||
|
text-align: inherit; }
|
||
|
|
||
|
p.attribution {
|
||
|
text-align: right;
|
||
|
margin-left: 50%; }
|
||
|
|
||
|
p.caption {
|
||
|
font-style: italic; }
|
||
|
|
||
|
p.credits {
|
||
|
font-style: italic;
|
||
|
font-size: smaller; }
|
||
|
|
||
|
p.label {
|
||
|
white-space: nowrap; }
|
||
|
|
||
|
p.rubric {
|
||
|
font-weight: bold;
|
||
|
font-size: larger;
|
||
|
color: maroon;
|
||
|
text-align: center; }
|
||
|
|
||
|
p.topic-title {
|
||
|
font-weight: bold; }
|
||
|
|
||
|
pre.address {
|
||
|
margin-bottom: 0;
|
||
|
margin-top: 0;
|
||
|
font: inherit; }
|
||
|
|
||
|
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
||
|
margin-left: 2em;
|
||
|
margin-right: 2em; }
|
||
|
|
||
|
pre.code .ln {
|
||
|
color: grey; }
|
||
|
|
||
|
/* line numbers */
|
||
|
pre.code, code {
|
||
|
background-color: #eeeeee; }
|
||
|
|
||
|
pre.code .comment, code .comment {
|
||
|
color: #5c6576; }
|
||
|
|
||
|
pre.code .keyword, code .keyword {
|
||
|
color: #3B0D06;
|
||
|
font-weight: bold; }
|
||
|
|
||
|
pre.code .literal.string, code .literal.string {
|
||
|
color: #0c5404; }
|
||
|
|
||
|
pre.code .name.builtin, code .name.builtin {
|
||
|
color: #352b84; }
|
||
|
|
||
|
pre.code .deleted, code .deleted {
|
||
|
background-color: #DEB0A1; }
|
||
|
|
||
|
pre.code .inserted, code .inserted {
|
||
|
background-color: #A3D289; }
|
||
|
|
||
|
span.classifier {
|
||
|
font-style: oblique; }
|
||
|
|
||
|
span.classifier-delimiter {
|
||
|
font-weight: bold; }
|
||
|
|
||
|
span.option {
|
||
|
white-space: nowrap; }
|
||
|
|
||
|
span.problematic {
|
||
|
color: #b30000; }
|
||
|
|
||
|
span.section-subtitle {
|
||
|
/* font-size relative to parent (h1..h6 element) */
|
||
|
font-size: 80%; }
|
||
|
|
||
|
span.DecNumber {
|
||
|
color: var(--number); }
|
||
|
|
||
|
span.BinNumber {
|
||
|
color: var(--number); }
|
||
|
|
||
|
span.HexNumber {
|
||
|
color: var(--number); }
|
||
|
|
||
|
span.OctNumber {
|
||
|
color: var(--number); }
|
||
|
|
||
|
span.FloatNumber {
|
||
|
color: var(--number); }
|
||
|
|
||
|
span.Identifier {
|
||
|
color: var(--identifier); }
|
||
|
|
||
|
span.Keyword {
|
||
|
font-weight: 600;
|
||
|
color: var(--keyword); }
|
||
|
|
||
|
span.StringLit {
|
||
|
color: var(--literal); }
|
||
|
|
||
|
span.LongStringLit {
|
||
|
color: var(--literal); }
|
||
|
|
||
|
span.CharLit {
|
||
|
color: var(--literal); }
|
||
|
|
||
|
span.EscapeSequence {
|
||
|
color: var(--escapeSequence); }
|
||
|
|
||
|
span.Operator {
|
||
|
color: var(--operator); }
|
||
|
|
||
|
span.Punctuation {
|
||
|
color: var(--punctuation); }
|
||
|
|
||
|
span.Comment, span.LongComment {
|
||
|
font-style: italic;
|
||
|
font-weight: 400;
|
||
|
color: var(--comment); }
|
||
|
|
||
|
span.RegularExpression {
|
||
|
color: darkviolet; }
|
||
|
|
||
|
span.TagStart {
|
||
|
color: darkviolet; }
|
||
|
|
||
|
span.TagEnd {
|
||
|
color: darkviolet; }
|
||
|
|
||
|
span.Key {
|
||
|
color: #252dbe; }
|
||
|
|
||
|
span.Value {
|
||
|
color: #252dbe; }
|
||
|
|
||
|
span.RawData {
|
||
|
color: var(--raw-data); }
|
||
|
|
||
|
span.Assembler {
|
||
|
color: #252dbe; }
|
||
|
|
||
|
span.Preprocessor {
|
||
|
color: #252dbe; }
|
||
|
|
||
|
span.Directive {
|
||
|
color: #252dbe; }
|
||
|
|
||
|
span.Command, span.Rule, span.Hyperlink, span.Label, span.Reference,
|
||
|
span.Other {
|
||
|
color: var(--other); }
|
||
|
|
||
|
/* Pop type, const, proc, and iterator defs in nim def blocks */
|
||
|
dt pre > span.Identifier, dt pre > span.Operator {
|
||
|
color: var(--identifier);
|
||
|
font-weight: 700; }
|
||
|
|
||
|
dt pre > span.Keyword ~ span.Identifier, dt pre > span.Identifier ~ span.Identifier,
|
||
|
dt pre > span.Operator ~ span.Identifier, dt pre > span.Other ~ span.Identifier {
|
||
|
color: var(--identifier);
|
||
|
font-weight: inherit; }
|
||
|
|
||
|
/* Nim sprite for the footer (taken from main page favicon) */
|
||
|
.nim-sprite {
|
||
|
display: inline-block;
|
||
|
width: 51px;
|
||
|
height: 14px;
|
||
|
background-position: 0 0;
|
||
|
background-size: 51px 14px;
|
||
|
-webkit-filter: opacity(50%);
|
||
|
background-repeat: no-repeat;
|
||
|
background-image: var(--nim-sprite-base64);
|
||
|
margin-bottom: 5px; }
|
||
|
|
||
|
span.pragmadots {
|
||
|
/* Position: relative frees us up to make the dots
|
||
|
look really nice without fucking up the layout and
|
||
|
causing bulging in the parent container */
|
||
|
position: relative;
|
||
|
/* 1px down looks slightly nicer */
|
||
|
top: 1px;
|
||
|
padding: 2px;
|
||
|
background-color: var(--third-background);
|
||
|
border-radius: 4px;
|
||
|
margin: 0 2px;
|
||
|
cursor: pointer;
|
||
|
font-size: 0.8em;
|
||
|
}
|
||
|
|
||
|
span.pragmadots:hover {
|
||
|
background-color: var(--hint);
|
||
|
}
|
||
|
span.pragmawrap {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
span.attachedType {
|
||
|
display: none;
|
||
|
visibility: hidden;
|
||
|
}
|