1111 lines
34 KiB
CSS
1111 lines
34 KiB
CSS
/* Minimal style sheet for the HTML output of Docutils. */
|
|
/* */
|
|
/* :Author: Günter Milde, based on html4css1.css by David Goodger */
|
|
/* :Id: $Id: minimal.css 9079 2022-06-19 14:00:56Z milde $ */
|
|
/* :Copyright: © 2015, 2021 Günter Milde. */
|
|
/* :License: Released under the terms of the `2-Clause BSD license`_, */
|
|
/* in short: */
|
|
/* */
|
|
/* Copying and distribution of this file, with or without modification, */
|
|
/* are permitted in any medium without royalty provided the copyright */
|
|
/* notice and this notice are preserved. */
|
|
/* */
|
|
/* This file is offered as-is, without any warranty. */
|
|
/* */
|
|
/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
|
|
|
|
/* This CSS3 stylesheet defines rules for Docutils elements without */
|
|
/* HTML equivalent. It is required to make the document semantics visible. */
|
|
/* */
|
|
/* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */
|
|
|
|
/* titles */
|
|
p.topic-title,
|
|
p.admonition-title,
|
|
p.system-message-title {
|
|
font-weight: bold;
|
|
}
|
|
p.sidebar-title,
|
|
p.rubric {
|
|
font-weight: bold;
|
|
font-size: larger;
|
|
}
|
|
p.rubric {
|
|
color: maroon;
|
|
}
|
|
p.subtitle,
|
|
p.section-subtitle,
|
|
p.sidebar-subtitle {
|
|
font-weight: bold;
|
|
margin-top: -0.5em;
|
|
}
|
|
h1 + p.subtitle {
|
|
font-size: 1.6em;
|
|
}
|
|
a.toc-backref {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Warnings, Errors */
|
|
.system-messages h2,
|
|
.system-message-title,
|
|
span.problematic {
|
|
color: red;
|
|
}
|
|
|
|
/* Inline Literals */
|
|
.docutils.literal {
|
|
font-family: monospace;
|
|
white-space: pre-wrap;
|
|
}
|
|
/* do not wrap at hyphens and similar: */
|
|
.literal > span.pre { white-space: nowrap; }
|
|
|
|
/* Lists */
|
|
|
|
/* compact and simple lists: no margin between items */
|
|
.simple li, .simple ul, .simple ol,
|
|
.compact li, .compact ul, .compact ol,
|
|
.simple > li p, dl.simple > dd,
|
|
.compact > li p, dl.compact > dd {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
/* Nested Paragraphs */
|
|
p:first-child { margin-top: 0; }
|
|
p:last-child { margin-bottom: 0; }
|
|
details > p:last-child { margin-bottom: 1em; }
|
|
|
|
/* Table of Contents */
|
|
.contents ul.auto-toc { /* section numbers present */
|
|
list-style-type: none;
|
|
}
|
|
|
|
/* Enumerated Lists */
|
|
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 }
|
|
|
|
/* Definition Lists and Derivatives */
|
|
dt .classifier { font-style: italic }
|
|
dt .classifier:before {
|
|
font-style: normal;
|
|
margin: 0.5em;
|
|
content: ":";
|
|
}
|
|
/* Field Lists and similar */
|
|
/* bold field name, content starts on the same line */
|
|
dl.field-list,
|
|
dl.option-list,
|
|
dl.docinfo,
|
|
dl.footnote,
|
|
dl.citation {
|
|
display: flow-root;
|
|
}
|
|
dl.field-list > dt,
|
|
dl.option-list > dt,
|
|
dl.docinfo > dt,
|
|
dl.footnote > dt,
|
|
dl.citation > dt {
|
|
font-weight: bold;
|
|
clear: left;
|
|
float: left;
|
|
margin: 0;
|
|
padding: 0;
|
|
padding-right: 0.2em;
|
|
}
|
|
/* Offset for field content (corresponds to the --field-name-limit option) */
|
|
dl.field-list > dd,
|
|
dl.option-list > dd,
|
|
dl.docinfo > dd {
|
|
margin-left: 9em; /* ca. 14 chars in the test examples, fit all Docinfo fields */
|
|
}
|
|
/* start nested lists on new line */
|
|
dd > dl:first-child,
|
|
dd > ul:first-child,
|
|
dd > ol:first-child {
|
|
clear: left;
|
|
}
|
|
/* start field-body on a new line after long field names */
|
|
dl.field-list > dd > *:first-child,
|
|
dl.option-list > dd > *:first-child
|
|
{
|
|
display: inline-block;
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Bibliographic Fields (docinfo) */
|
|
dl.docinfo pre.address {
|
|
font: inherit;
|
|
margin: 0.5em 0;
|
|
}
|
|
dl.docinfo > dd.authors > p { margin: 0; }
|
|
|
|
/* Option Lists */
|
|
dl.option-list > dt { font-weight: normal; }
|
|
span.option { white-space: nowrap; }
|
|
|
|
/* Footnotes and Citations */
|
|
|
|
.footnote, .citation { margin: 1em 0; } /* default paragraph skip (Firefox) */
|
|
/* hanging indent */
|
|
.citation { padding-left: 2em; }
|
|
.footnote { padding-left: 1.7em; }
|
|
.footnote.superscript { padding-left: 1.0em; }
|
|
.citation > .label { margin-left: -2em; }
|
|
.footnote > .label { margin-left: -1.7em; }
|
|
.footnote.superscript > .label { margin-left: -1.0em; }
|
|
|
|
.footnote > .label + *,
|
|
.citation > .label + * {
|
|
display: inline-block;
|
|
margin-top: 0;
|
|
vertical-align: top;
|
|
}
|
|
.footnote > .backrefs + *,
|
|
.citation > .backrefs + * {
|
|
margin-top: 0;
|
|
}
|
|
.footnote > .label + p, .footnote > .backrefs + p,
|
|
.citation > .label + p, .citation > .backrefs + p {
|
|
display: inline;
|
|
vertical-align: inherit;
|
|
}
|
|
|
|
.backrefs { user-select: none; }
|
|
.backrefs > a { font-style: italic; }
|
|
|
|
/* superscript footnotes */
|
|
a[role="doc-noteref"].superscript,
|
|
.footnote.superscript > .label,
|
|
.footnote.superscript > .backrefs {
|
|
vertical-align: super;
|
|
font-size: smaller;
|
|
line-height: 1;
|
|
}
|
|
a[role="doc-noteref"].superscript > .fn-bracket,
|
|
.footnote.superscript > .label > .fn-bracket {
|
|
/* hide brackets in display but leave for copy/paste */
|
|
display: inline-block;
|
|
width: 0;
|
|
overflow: hidden;
|
|
}
|
|
[role="doc-noteref"].superscript + [role="doc-noteref"].superscript {
|
|
padding-left: 0.15em; /* separate consecutive footnote references */
|
|
/* TODO: unfortunately, "+" also selects with text between the references. */
|
|
}
|
|
|
|
/* Legacy Footnotes and Citations */
|
|
dl.footnote.superscript > dd { margin-left: 1em; }
|
|
dl.footnote.brackets > dd { margin-left: 2em; }
|
|
dl.footnote > dt { font-weight: normal; }
|
|
dt.label > span.brackets:before { content: "["; }
|
|
dt.label > span.brackets:after { content: "]"; }
|
|
a.footnote-reference.superscript,
|
|
dl.footnote.superscript > dt.label {
|
|
vertical-align: super;
|
|
font-size: small;
|
|
}
|
|
dt.label > span.fn-backref {
|
|
margin-left: 0.2em;
|
|
font-weight: normal;
|
|
}
|
|
dt.label > span.fn-backref > a { font-style: italic; }
|
|
|
|
/* Alignment */
|
|
.align-left {
|
|
text-align: left;
|
|
margin-right: auto;
|
|
}
|
|
.align-center {
|
|
text-align: center;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
.align-right {
|
|
text-align: right;
|
|
margin-left: auto;
|
|
}
|
|
.align-top { vertical-align: top; }
|
|
.align-middle { vertical-align: middle; }
|
|
.align-bottom { vertical-align: bottom; }
|
|
|
|
img.align-left, img.align-center, img.align-right,
|
|
.figure.align-left, .figure.align-center, .figure.align-right,
|
|
object.align-left, object.align-center, object.align-right {
|
|
display: block;
|
|
}
|
|
|
|
/* reset inner alignment in figures and tables */
|
|
figure.align-left, figure.align-right,
|
|
table.align-left, table.align-center, table.align-right {
|
|
text-align: inherit;
|
|
}
|
|
|
|
/* Text Blocks */
|
|
.topic { margin: 1em 2em; }
|
|
.sidebar,
|
|
.admonition,
|
|
.system-message {
|
|
margin: 1em 2em;
|
|
border: thin solid;
|
|
padding: 0.5em 1em;
|
|
}
|
|
div.line-block { display: block; }
|
|
div.line-block div.line-block, pre { margin-left: 2em; }
|
|
|
|
/* Code line numbers: dropped when copying text from the page */
|
|
pre.code .ln { display: none; }
|
|
pre.code code:before {
|
|
content: attr(data-lineno); /* …, none) fallback not supported by any browser */
|
|
color: gray;
|
|
}
|
|
|
|
/* Tables */
|
|
td > p:first-child, th > p:first-child { margin-top: 0; }
|
|
td > p, th > p { margin-bottom: 0; }
|
|
|
|
.borderless td, .borderless th {
|
|
border: 0;
|
|
padding: 0;
|
|
padding-right: 0.5em /* separate table cells */
|
|
}
|
|
|
|
table > caption {
|
|
text-align: left;
|
|
margin-top: 0.2em;
|
|
margin-bottom: 0.2em;
|
|
}
|
|
table.captionbelow {
|
|
caption-side: bottom;
|
|
}
|
|
|
|
/* CSS31_ style sheet for the output of Docutils HTML writers. */
|
|
/* Rules for easy reading and pre-defined style variants. */
|
|
/* */
|
|
/* :Author: Günter Milde, based on html4css1.css by David Goodger */
|
|
/* :Id: $Id: plain.css 9081 2022-06-19 20:23:12Z milde $ */
|
|
/* :Copyright: © 2015 Günter Milde. */
|
|
/* :License: Released under the terms of the `2-Clause BSD license`_, */
|
|
/* in short: */
|
|
/* */
|
|
/* Copying and distribution of this file, with or without modification, */
|
|
/* are permitted in any medium without royalty provided the copyright */
|
|
/* notice and this notice are preserved. */
|
|
/* */
|
|
/* This file is offered as-is, without any warranty. */
|
|
/* */
|
|
/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
|
|
/* .. _CSS3: https://www.w3.org/Style/CSS/ */
|
|
|
|
|
|
/* Document Structure */
|
|
/* ****************** */
|
|
|
|
/* Table of Contents */
|
|
ul.auto-toc > li > p {
|
|
padding-left: 1em;
|
|
text-indent: -1em;
|
|
}
|
|
nav.contents ul {
|
|
padding-left: 1em;
|
|
}
|
|
main > nav.contents ul ul ul ul:not(.auto-toc) {
|
|
list-style-type: '\2B29\ ';
|
|
}
|
|
main > nav.contents ul ul ul ul ul:not(.auto-toc) {
|
|
list-style-type: '\2B1D\ ';
|
|
}
|
|
|
|
/* Transitions */
|
|
hr.docutils {
|
|
width: 80%;
|
|
margin-top: 1em;
|
|
margin-bottom: 1em;
|
|
clear: both;
|
|
}
|
|
|
|
dl > dd {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
/* Lists */
|
|
/* ===== */
|
|
|
|
/* Definition Lists */
|
|
/* Indent lists nested in definition lists */
|
|
dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
|
|
|
|
/* Description Lists */
|
|
/* styled like in most dictionaries, encyclopedias etc. */
|
|
dl.description {
|
|
display: flow-root;
|
|
}
|
|
dl.description > dt {
|
|
font-weight: bold;
|
|
clear: left;
|
|
float: left;
|
|
margin: 0;
|
|
padding: 0;
|
|
padding-right: 0.3em;
|
|
}
|
|
dl.description > dd:after {
|
|
display: table;
|
|
content: "";
|
|
clear: left; /* clearfix for empty descriptions */
|
|
}
|
|
|
|
/* Field Lists */
|
|
|
|
dl.field-list > dd,
|
|
dl.docinfo > dd {
|
|
margin-left: var(--field-indent); /* adapted in media queries or HTML */
|
|
}
|
|
|
|
/* example for custom field-name width */
|
|
dl.field-list.narrow > dd {
|
|
--field-indent: 5em;
|
|
}
|
|
/* run-in: start field-body on same line after long field names */
|
|
dl.field-list.run-in > dd p {
|
|
display: block;
|
|
}
|
|
|
|
/* Bibliographic Fields */
|
|
|
|
/* generally, bibliographic fields use dl.docinfo */
|
|
/* but dedication and abstract are placed into divs */
|
|
div.abstract p.topic-title {
|
|
text-align: center;
|
|
}
|
|
div.dedication {
|
|
margin: 2em 5em;
|
|
text-align: center;
|
|
font-style: italic;
|
|
}
|
|
div.dedication p.topic-title {
|
|
font-style: normal;
|
|
}
|
|
|
|
/* disclosures */
|
|
details { padding-left: 1em; }
|
|
summary { margin-left: -1em; }
|
|
|
|
/* Text Blocks */
|
|
/* =========== */
|
|
|
|
/* Literal Blocks */
|
|
pre.literal-block, pre.doctest-block,
|
|
pre.math, pre.code {
|
|
font-family: monospace;
|
|
}
|
|
|
|
/* Block Quotes and Topics */
|
|
blockquote p.attribution,
|
|
.topic p.attribution {
|
|
text-align: right;
|
|
margin-left: 20%;
|
|
}
|
|
|
|
/* Tables */
|
|
/* ====== */
|
|
|
|
/* th { vertical-align: bottom; } */
|
|
|
|
table tr { text-align: left; }
|
|
|
|
/* "booktabs" style (no vertical lines) */
|
|
table.booktabs {
|
|
border: 0;
|
|
border-top: 2px solid;
|
|
border-bottom: 2px solid;
|
|
border-collapse: collapse;
|
|
}
|
|
table.booktabs * {
|
|
border: 0;
|
|
}
|
|
table.booktabs th {
|
|
border-bottom: thin solid;
|
|
}
|
|
|
|
/* numbered tables (counter defined in div.document) */
|
|
table.numbered > caption:before {
|
|
counter-increment: table;
|
|
content: "Table " counter(table) ": ";
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Explicit Markup Blocks */
|
|
/* ====================== */
|
|
|
|
/* Footnotes and Citations */
|
|
/* ----------------------- */
|
|
|
|
/* line on the left */
|
|
.footnote-list {
|
|
border-left: solid thin;
|
|
padding-left: 0.25em;
|
|
}
|
|
|
|
/* same thing for old docutils versions */
|
|
dl.footnote {
|
|
padding-left: 1ex;
|
|
border-left: solid;
|
|
border-left-width: thin;
|
|
}
|
|
|
|
/* Directives */
|
|
/* ---------- */
|
|
|
|
/* Body Elements */
|
|
/* ~~~~~~~~~~~~~ */
|
|
|
|
/* Images and Figures */
|
|
|
|
/* let content flow to the side of aligned images and figures */
|
|
figure.align-left,
|
|
img.align-left,
|
|
video.align-left,
|
|
object.align-left {
|
|
clear: left;
|
|
float: left;
|
|
margin-right: 1em;
|
|
}
|
|
figure.align-right,
|
|
img.align-right,
|
|
video.align-right,
|
|
object.align-right {
|
|
clear: right;
|
|
float: right;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
/* Numbered figures */
|
|
figure.numbered > figcaption > p:before {
|
|
counter-increment: figure;
|
|
content: "Figure " counter(figure) ": ";
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Admonitions and System Messages */
|
|
.caution p.admonition-title,
|
|
.attention p.admonition-title,
|
|
.danger p.admonition-title,
|
|
.error p.admonition-title,
|
|
.warning p.admonition-title,
|
|
div.error {
|
|
color: red;
|
|
}
|
|
|
|
/* Sidebar */
|
|
/* Move right. In a layout with fixed margins, */
|
|
/* it can be moved into the margin. */
|
|
aside.sidebar {
|
|
width: 30%;
|
|
max-width: 26em;
|
|
float: right;
|
|
clear: right;
|
|
margin-left: 1em;
|
|
margin-right: -1%;
|
|
background-color: #fffffa;
|
|
}
|
|
|
|
div.admonition, div.attention, div.caution, div.danger, div.error,
|
|
div.hint, div.important, div.note, div.tip, div.warning, div.sidebar,
|
|
div.system-message {
|
|
/* stolen from Boostrap 4 (.card) */
|
|
margin-bottom: 2rem;
|
|
position: relative;
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
word-wrap: break-word;
|
|
background-color: #fff;
|
|
color: #212529;
|
|
background-clip: border-box;
|
|
border: 1px solid rgba(0,0,0,.125);
|
|
border-radius: .25rem;
|
|
padding: 0;
|
|
}
|
|
|
|
div.attention, div.caution, div.danger, div.error, div.warning {
|
|
/* stolen from Boostrap 3 (.border-danger) */
|
|
border-color: #dc3545!important;
|
|
}
|
|
|
|
div.admonition p, div.hint p,
|
|
div.important p, div.note p,
|
|
div.tip p, div.sidebar p,
|
|
div.attention p, div.caution p,
|
|
div.danger p, div.error p,
|
|
div.warning p, div.system-message p {
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
div.admonition p.admonition-title, div.hint p.admonition-title,
|
|
div.important p.admonition-title, div.note p.admonition-title,
|
|
div.tip p.admonition-title, div.sidebar p.sidebar-title,
|
|
div.attention p.admonition-title, div.caution p.admonition-title,
|
|
div.danger p.admonition-title, div.error p.admonition-title,
|
|
div.warning p.admonition-title, div.system-message p.system-message-title {
|
|
/* stolen from Boostrap 4 (.card .card-header) */
|
|
font-weight: 400;
|
|
font-size: 1.25rem;
|
|
padding: .75rem 1.25rem;
|
|
margin-bottom: 1rem;
|
|
background-color: rgba(0,0,0,.03);
|
|
border-bottom: 1px solid rgba(0,0,0,.125);
|
|
}
|
|
|
|
div.attention p.admonition-title, div.caution p.admonition-title,
|
|
div.danger p.admonition-title, div.error p.admonition-title,
|
|
div.warning p.admonition-title, div.system-message p.system-message-title {
|
|
/* stolen from Boostrap 4 (.card .card-header .bg-danger) */
|
|
background-color: #dc3545;
|
|
color: white;
|
|
}
|
|
|
|
div.sidebar {
|
|
margin-right: 0;
|
|
}
|
|
|
|
/* Improved margin overrides */
|
|
div.topic,
|
|
pre.literal-block,
|
|
pre.doctest-block,
|
|
pre.math,
|
|
pre.code,
|
|
div.code {
|
|
margin-left: 1rem;
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
div.code {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* code.css file generated by Nikola */
|
|
pre { line-height: 125%; }
|
|
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
|
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
|
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
|
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
|
pre.code .hll, .code .codetable .hll, .highlight pre .hll { background-color: #ffffcc }
|
|
pre.code , .code .codetable , .highlight pre { background: #f8f8f8; }
|
|
pre.code .c, .code .codetable .c, .highlight pre .c { color: #3D7B7B; font-style: italic } /* Comment */
|
|
pre.code .err, .code .codetable .err, .highlight pre .err { border: 1px solid #FF0000 } /* Error */
|
|
pre.code .k, .code .codetable .k, .highlight pre .k { color: #008000; font-weight: bold } /* Keyword */
|
|
pre.code .o, .code .codetable .o, .highlight pre .o { color: #666666 } /* Operator */
|
|
pre.code .ch, .code .codetable .ch, .highlight pre .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
|
|
pre.code .cm, .code .codetable .cm, .highlight pre .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
|
|
pre.code .cp, .code .codetable .cp, .highlight pre .cp { color: #9C6500 } /* Comment.Preproc */
|
|
pre.code .cpf, .code .codetable .cpf, .highlight pre .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
|
|
pre.code .c1, .code .codetable .c1, .highlight pre .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
|
|
pre.code .cs, .code .codetable .cs, .highlight pre .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
|
|
pre.code .gd, .code .codetable .gd, .highlight pre .gd { color: #A00000 } /* Generic.Deleted */
|
|
pre.code .ge, .code .codetable .ge, .highlight pre .ge { font-style: italic } /* Generic.Emph */
|
|
pre.code .ges, .code .codetable .ges, .highlight pre .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
|
|
pre.code .gr, .code .codetable .gr, .highlight pre .gr { color: #E40000 } /* Generic.Error */
|
|
pre.code .gh, .code .codetable .gh, .highlight pre .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
|
pre.code .gi, .code .codetable .gi, .highlight pre .gi { color: #008400 } /* Generic.Inserted */
|
|
pre.code .go, .code .codetable .go, .highlight pre .go { color: #717171 } /* Generic.Output */
|
|
pre.code .gp, .code .codetable .gp, .highlight pre .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
|
pre.code .gs, .code .codetable .gs, .highlight pre .gs { font-weight: bold } /* Generic.Strong */
|
|
pre.code .gu, .code .codetable .gu, .highlight pre .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
|
pre.code .gt, .code .codetable .gt, .highlight pre .gt { color: #0044DD } /* Generic.Traceback */
|
|
pre.code .kc, .code .codetable .kc, .highlight pre .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
|
pre.code .kd, .code .codetable .kd, .highlight pre .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
|
pre.code .kn, .code .codetable .kn, .highlight pre .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
|
pre.code .kp, .code .codetable .kp, .highlight pre .kp { color: #008000 } /* Keyword.Pseudo */
|
|
pre.code .kr, .code .codetable .kr, .highlight pre .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
|
|
pre.code .kt, .code .codetable .kt, .highlight pre .kt { color: #B00040 } /* Keyword.Type */
|
|
pre.code .m, .code .codetable .m, .highlight pre .m { color: #666666 } /* Literal.Number */
|
|
pre.code .s, .code .codetable .s, .highlight pre .s { color: #BA2121 } /* Literal.String */
|
|
pre.code .na, .code .codetable .na, .highlight pre .na { color: #687822 } /* Name.Attribute */
|
|
pre.code .nb, .code .codetable .nb, .highlight pre .nb { color: #008000 } /* Name.Builtin */
|
|
pre.code .nc, .code .codetable .nc, .highlight pre .nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
|
pre.code .no, .code .codetable .no, .highlight pre .no { color: #880000 } /* Name.Constant */
|
|
pre.code .nd, .code .codetable .nd, .highlight pre .nd { color: #AA22FF } /* Name.Decorator */
|
|
pre.code .ni, .code .codetable .ni, .highlight pre .ni { color: #717171; font-weight: bold } /* Name.Entity */
|
|
pre.code .ne, .code .codetable .ne, .highlight pre .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
|
|
pre.code .nf, .code .codetable .nf, .highlight pre .nf { color: #0000FF } /* Name.Function */
|
|
pre.code .nl, .code .codetable .nl, .highlight pre .nl { color: #767600 } /* Name.Label */
|
|
pre.code .nn, .code .codetable .nn, .highlight pre .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
|
pre.code .nt, .code .codetable .nt, .highlight pre .nt { color: #008000; font-weight: bold } /* Name.Tag */
|
|
pre.code .nv, .code .codetable .nv, .highlight pre .nv { color: #19177C } /* Name.Variable */
|
|
pre.code .ow, .code .codetable .ow, .highlight pre .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
|
pre.code .w, .code .codetable .w, .highlight pre .w { color: #bbbbbb } /* Text.Whitespace */
|
|
pre.code .mb, .code .codetable .mb, .highlight pre .mb { color: #666666 } /* Literal.Number.Bin */
|
|
pre.code .mf, .code .codetable .mf, .highlight pre .mf { color: #666666 } /* Literal.Number.Float */
|
|
pre.code .mh, .code .codetable .mh, .highlight pre .mh { color: #666666 } /* Literal.Number.Hex */
|
|
pre.code .mi, .code .codetable .mi, .highlight pre .mi { color: #666666 } /* Literal.Number.Integer */
|
|
pre.code .mo, .code .codetable .mo, .highlight pre .mo { color: #666666 } /* Literal.Number.Oct */
|
|
pre.code .sa, .code .codetable .sa, .highlight pre .sa { color: #BA2121 } /* Literal.String.Affix */
|
|
pre.code .sb, .code .codetable .sb, .highlight pre .sb { color: #BA2121 } /* Literal.String.Backtick */
|
|
pre.code .sc, .code .codetable .sc, .highlight pre .sc { color: #BA2121 } /* Literal.String.Char */
|
|
pre.code .dl, .code .codetable .dl, .highlight pre .dl { color: #BA2121 } /* Literal.String.Delimiter */
|
|
pre.code .sd, .code .codetable .sd, .highlight pre .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
|
pre.code .s2, .code .codetable .s2, .highlight pre .s2 { color: #BA2121 } /* Literal.String.Double */
|
|
pre.code .se, .code .codetable .se, .highlight pre .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
|
|
pre.code .sh, .code .codetable .sh, .highlight pre .sh { color: #BA2121 } /* Literal.String.Heredoc */
|
|
pre.code .si, .code .codetable .si, .highlight pre .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
|
|
pre.code .sx, .code .codetable .sx, .highlight pre .sx { color: #008000 } /* Literal.String.Other */
|
|
pre.code .sr, .code .codetable .sr, .highlight pre .sr { color: #A45A77 } /* Literal.String.Regex */
|
|
pre.code .s1, .code .codetable .s1, .highlight pre .s1 { color: #BA2121 } /* Literal.String.Single */
|
|
pre.code .ss, .code .codetable .ss, .highlight pre .ss { color: #19177C } /* Literal.String.Symbol */
|
|
pre.code .bp, .code .codetable .bp, .highlight pre .bp { color: #008000 } /* Name.Builtin.Pseudo */
|
|
pre.code .fm, .code .codetable .fm, .highlight pre .fm { color: #0000FF } /* Name.Function.Magic */
|
|
pre.code .vc, .code .codetable .vc, .highlight pre .vc { color: #19177C } /* Name.Variable.Class */
|
|
pre.code .vg, .code .codetable .vg, .highlight pre .vg { color: #19177C } /* Name.Variable.Global */
|
|
pre.code .vi, .code .codetable .vi, .highlight pre .vi { color: #19177C } /* Name.Variable.Instance */
|
|
pre.code .vm, .code .codetable .vm, .highlight pre .vm { color: #19177C } /* Name.Variable.Magic */
|
|
pre.code .il, .code .codetable .il, .highlight pre .il { color: #666666 } /* Literal.Number.Integer.Long */
|
|
.highlight table, .highlight tr, .highlight td, .code table, .code tr, .code td { border-spacing: 0; border-collapse: separate; padding: 0 }
|
|
.highlight pre, .code pre { white-space: pre-wrap; line-height: normal }
|
|
.highlighttable td.linenos, .codetable td.linenos { vertical-align: top; padding-left: 10px; padding-right: 10px; user-select: none; -webkit-user-select: none }
|
|
.highlighttable td.linenos code:before, .codetable td.linenos code:before { content: attr(data-line-number) }
|
|
.highlighttable td.code, .codetable td.code { overflow-wrap: normal; border-collapse: collapse }
|
|
.highlighttable td.code code, .codetable td.code code { overflow: unset; border: none; padding: 0; margin: 0; white-space: pre-wrap; line-height: unset; background: none }
|
|
.highlight .lineno.nonumber, .code .lineno.nonumber { list-style: none }
|
|
table.codetable, table.highlighttable { width: 100%;}
|
|
.codetable td.linenos, td.linenos { text-align: right; width: 3.5em; padding-right: 0.5em; background: rgba(127, 127, 127, 0.2) }
|
|
.codetable td.code, td.code { padding-left: 0.5em; }
|
|
|
|
@charset "UTF-8";
|
|
|
|
/*
|
|
Copyright © 2014-2023 Daniel Aleksandersen and others.
|
|
|
|
Permission is hereby granted, free of charge, to any
|
|
person obtaining a copy of this software and associated
|
|
documentation files (the "Software"), to deal in the
|
|
Software without restriction, including without limitation
|
|
the rights to use, copy, modify, merge, publish,
|
|
distribute, sublicense, and/or sell copies of the
|
|
Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice
|
|
shall be included in all copies or substantial portions of
|
|
the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
|
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
|
|
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
*/
|
|
|
|
body {
|
|
color: #4F5151;
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
font-size: 17px;
|
|
line-height: 1.4;
|
|
padding: 1em;
|
|
}
|
|
|
|
#container {
|
|
margin: 1em auto;
|
|
max-width: 770px;
|
|
}
|
|
#menu ul,
|
|
#menu ul li,
|
|
.postpromonav .tags,
|
|
.postpromonav .tags li,
|
|
.pager,
|
|
.pager li,
|
|
#toptranslations ul,
|
|
#toptranslations ul li {
|
|
list-style: none;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
#toptranslations ul {
|
|
display: inline;
|
|
}
|
|
|
|
#menu ul li,
|
|
#toptranslations ul li {
|
|
display: inline-block;
|
|
margin-right: 1.5em;
|
|
}
|
|
|
|
#toptranslations h2 {
|
|
display: inline;
|
|
font-size: 1em;
|
|
margin-right: 1.5em;
|
|
}
|
|
|
|
html[dir="rtl"] #menu ul li,
|
|
html[dir="rtl"] #toptranslations ul li,
|
|
html[dir="rtl"] #toptranslations h2 {
|
|
margin-left: 1.5em;
|
|
margin-right: 0;
|
|
}
|
|
|
|
#toptranslations {
|
|
text-align: right;
|
|
float: right;
|
|
}
|
|
|
|
html[dir="rtl"] #toptranslations {
|
|
text-align: left;
|
|
float: left;
|
|
}
|
|
|
|
.posttranslations h3, .translationslist h3 {
|
|
display: inline;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.entry-title {
|
|
font-size: 2em;
|
|
}
|
|
|
|
.posttranslations h3:last-child, .translationslist h3:last-child {
|
|
display: none;
|
|
}
|
|
|
|
.postindex article {
|
|
border-bottom: 1px solid #4F5151;
|
|
padding-bottom: 1em;
|
|
}
|
|
#header {
|
|
border-bottom: 1px solid #4F5151;
|
|
}
|
|
#footer {
|
|
border-top: 1px solid #4F5151;
|
|
}
|
|
|
|
/* Tags */
|
|
.postpromonav {
|
|
border-bottom: 1px solid #4F5151;
|
|
border-top: 1px solid #4F5151;
|
|
margin-top: 1em;
|
|
padding: .5em 0;
|
|
}
|
|
.postpromonav .tags {
|
|
text-align: center;
|
|
}
|
|
.metadata p:before,
|
|
.postpromonav .tags li:before,
|
|
.postlist .listdate:after,
|
|
.translationslist p:before {
|
|
content: " — ";
|
|
}
|
|
.postlist li {
|
|
margin-bottom: .33em;
|
|
}
|
|
.byline a:not(:last-child):after {
|
|
content: ",";
|
|
}
|
|
|
|
/* Post and archive pagers */
|
|
.postindexpager .pager .next:before {
|
|
content: "↓ ";
|
|
}
|
|
.postindexpager .pager .previous:before,
|
|
.archivenav .pager .up:before {
|
|
content: "↑ ";
|
|
}
|
|
.postpromonav .pager .next:after,
|
|
.archivenav .pager .next:after {
|
|
content: " →";
|
|
}
|
|
html[dir="rtl"] .postpromonav .pager .previous:after,
|
|
html[dir="rtl"] .archivenav .pager .previous:after {
|
|
content: " →";
|
|
}
|
|
.postpromonav .pager .previous:before,
|
|
.archivenav .pager .previous:before {
|
|
content: "← ";
|
|
}
|
|
html[dir="rtl"] .postpromonav .pager .next:before,
|
|
html[dir="rtl"] .archivenav .pager .next:before {
|
|
content: "← ";
|
|
}
|
|
html[dir="rtl"] .postpromonav .pager .next:after,
|
|
html[dir="rtl"] .archivenav .pager .next:after,
|
|
html[dir="rtl"] .postpromonav .pager .previous:before,
|
|
html[dir="rtl"] .archivenav .pager .previous:before {
|
|
content: "";
|
|
}
|
|
.metadata p:first-of-type:before,
|
|
.postpromonav .tags li:first-of-type:before,
|
|
.translationslist p:first-of-type:before {
|
|
content: "";
|
|
}
|
|
.postpromonav .pager {
|
|
clear: both;
|
|
height: 1em;
|
|
}
|
|
.postpromonav .tags li,
|
|
.postpromonav .pager li,
|
|
.archivenav .pager li {
|
|
display: inline-block;
|
|
}
|
|
.archivenav .pager {
|
|
text-align: center
|
|
}
|
|
.postpromonav .pager .next,
|
|
.archivenav .pager .next {
|
|
float: right;
|
|
}
|
|
html[dir="rtl"] .postpromonav .pager .next,
|
|
html[dir="rtl"] .archivenav .pager .next {
|
|
float: left;
|
|
}
|
|
|
|
.postpromonav .pager .previous,
|
|
.archivenav .pager .previous {
|
|
float: left;
|
|
}
|
|
html[dir="rtl"] .postpromonav .pager .previous,
|
|
html[dir="rtl"] .archivenav .pager .previous {
|
|
float: right;
|
|
}
|
|
|
|
.archivenav .pager .disabled,
|
|
.archivenav .pager .disabled a,
|
|
.archivenav .pager .disabled:link {
|
|
color: #888;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.metadata p,
|
|
.translationslist p {
|
|
display: inline;
|
|
}
|
|
|
|
#brand {
|
|
font-size: 3em;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* Links */
|
|
:link {
|
|
color: #1168CC;
|
|
text-decoration: none;
|
|
}
|
|
:visited {
|
|
color: #6830BB;
|
|
}
|
|
:link:hover, :visited:hover {
|
|
color: #0d53a3;
|
|
}
|
|
|
|
#brand :link,
|
|
#brand :visited {
|
|
color: inherit;
|
|
}
|
|
|
|
/* Images */
|
|
img {
|
|
border: none;
|
|
line-height: 1;
|
|
}
|
|
|
|
.postpage img,
|
|
.postpage object,
|
|
.postindex article img,
|
|
.postindex article object {
|
|
height: auto;
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* Comment helpers */
|
|
#disqus_thread {
|
|
min-height: 325px;
|
|
}
|
|
|
|
.breadcrumb {
|
|
padding: 8px 15px;
|
|
margin-bottom: 20px;
|
|
list-style: none;
|
|
}
|
|
|
|
.breadcrumb > li {
|
|
display: inline-block;
|
|
margin-right: 0;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.breadcrumb > li:after {
|
|
content: ' / ';
|
|
color: #888;
|
|
}
|
|
|
|
.breadcrumb > li:last-of-type:after {
|
|
content: '';
|
|
margin-left: 0;
|
|
}
|
|
|
|
.thumbnails {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.thumbnails > li {
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.thumbnails > li:last-of-type {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
border: 0;
|
|
}
|
|
|
|
.sr-only-focusable:active,
|
|
.sr-only-focusable:focus {
|
|
position: static;
|
|
width: auto;
|
|
height: auto;
|
|
margin: 0;
|
|
overflow: visible;
|
|
clip: auto;
|
|
}
|
|
|
|
pre.code, code {
|
|
white-space: pre-wrap;
|
|
word-wrap: normal;
|
|
overflow: auto;
|
|
}
|
|
|
|
/* Set a minimum logo height to ensure .svg are displayed if there is no brand text (#3493) */
|
|
#logo {
|
|
min-height: 25px;
|
|
}
|
|
|
|
/* SOURCE: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
|
|
@media print {
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
background: transparent !important;
|
|
color: #000 !important; /* Black prints faster: http://www.sanbeiji.com/archives/953 */
|
|
box-shadow: none !important;
|
|
text-shadow: none !important;
|
|
font-family: Garamond, Junicode, serif;
|
|
}
|
|
|
|
body {
|
|
font-size: 12pt;
|
|
}
|
|
|
|
a,
|
|
a:visited {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
a[href]:after {
|
|
content: " (" attr(href) ")";
|
|
}
|
|
|
|
abbr[title]:after {
|
|
content: " (" attr(title) ")";
|
|
}
|
|
|
|
/*
|
|
* Don't show links that are fragment identifiers,
|
|
* or use the `javascript:` pseudo protocol
|
|
*/
|
|
|
|
a[href^="#"]:after,
|
|
a[href^="data:"]:after,
|
|
a[href^="javascript:"]:after {
|
|
content: "";
|
|
}
|
|
|
|
pre,
|
|
blockquote {
|
|
border: 1px solid #999;
|
|
page-break-inside: avoid;
|
|
}
|
|
|
|
/*
|
|
* Printing Tables:
|
|
* http://css-discuss.incutio.com/wiki/Printing_Tables
|
|
*/
|
|
|
|
thead {
|
|
display: table-header-group;
|
|
}
|
|
|
|
tr,
|
|
img {
|
|
page-break-inside: avoid;
|
|
}
|
|
|
|
img {
|
|
max-width: 100% !important;
|
|
}
|
|
|
|
p,
|
|
h2,
|
|
h3 {
|
|
orphans: 3;
|
|
widows: 3;
|
|
}
|
|
|
|
h2,
|
|
h3 {
|
|
page-break-after: avoid;
|
|
}
|
|
|
|
.hidden-print {
|
|
display: none !important;
|
|
}
|
|
|
|
article .entry-title a[href]:after,
|
|
article .metadata a[href]:after,
|
|
article .tags a[href]:after {
|
|
content: "";
|
|
}
|
|
|
|
article .metadata .sourceline {
|
|
display: none;
|
|
}
|
|
|
|
article .metadata .linkline a[href]:after {
|
|
content: " (" attr(href) ")";
|
|
}
|
|
|
|
#header {
|
|
display: none;
|
|
}
|
|
|
|
.postpromonav {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
/*!
|
|
* baguetteBox.js
|
|
* @author feimosi
|
|
* @version 1.11.1
|
|
* @url https://github.com/feimosi/baguetteBox.js
|
|
*/#baguetteBox-overlay{display:none;opacity:0;position:fixed;overflow:hidden;top:0;left:0;width:100%;height:100%;z-index:1000000;background-color:#222;background-color:rgba(0,0,0,.8);-webkit-transition:opacity .5s ease;transition:opacity .5s ease}#baguetteBox-overlay.visible{opacity:1}#baguetteBox-overlay .full-image{display:inline-block;position:relative;width:100%;height:100%;text-align:center}#baguetteBox-overlay .full-image figure{display:inline;margin:0;height:100%}#baguetteBox-overlay .full-image img{display:inline-block;width:auto;height:auto;max-height:100%;max-width:100%;vertical-align:middle;-webkit-box-shadow:0 0 8px rgba(0,0,0,.6);-moz-box-shadow:0 0 8px rgba(0,0,0,.6);box-shadow:0 0 8px rgba(0,0,0,.6)}#baguetteBox-overlay .full-image figcaption{display:block;position:absolute;bottom:0;width:100%;text-align:center;line-height:1.8;white-space:normal;color:#ccc;background-color:#000;background-color:rgba(0,0,0,.6);font-family:sans-serif}#baguetteBox-overlay .full-image:before{content:"";display:inline-block;height:50%;width:1px;margin-right:-1px}#baguetteBox-slider{position:absolute;left:0;top:0;height:100%;width:100%;white-space:nowrap;-webkit-transition:left .4s ease,-webkit-transform .4s ease;transition:left .4s ease,-webkit-transform .4s ease;transition:left .4s ease,transform .4s ease;transition:left .4s ease,transform .4s ease,-webkit-transform .4s ease,-moz-transform .4s ease}#baguetteBox-slider.bounce-from-right{-webkit-animation:bounceFromRight .4s ease-out;animation:bounceFromRight .4s ease-out}#baguetteBox-slider.bounce-from-left{-webkit-animation:bounceFromLeft .4s ease-out;animation:bounceFromLeft .4s ease-out}@-webkit-keyframes bounceFromRight{0%,100%{margin-left:0}50%{margin-left:-30px}}@keyframes bounceFromRight{0%,100%{margin-left:0}50%{margin-left:-30px}}@-webkit-keyframes bounceFromLeft{0%,100%{margin-left:0}50%{margin-left:30px}}@keyframes bounceFromLeft{0%,100%{margin-left:0}50%{margin-left:30px}}.baguetteBox-button#next-button,.baguetteBox-button#previous-button{top:50%;top:calc(50% - 30px);width:44px;height:60px}.baguetteBox-button{position:absolute;cursor:pointer;outline:0;padding:0;margin:0;border:0;-moz-border-radius:15%;border-radius:15%;background-color:#323232;background-color:rgba(50,50,50,.5);color:#ddd;font:1.6em sans-serif;-webkit-transition:background-color .4s ease;transition:background-color .4s ease}.baguetteBox-button:focus,.baguetteBox-button:hover{background-color:rgba(50,50,50,.9)}.baguetteBox-button#next-button{right:2%}.baguetteBox-button#previous-button{left:2%}.baguetteBox-button#close-button{top:20px;right:2%;right:calc(2% + 6px);width:30px;height:30px}.baguetteBox-button svg{position:absolute;left:0;top:0}.baguetteBox-spinner{width:40px;height:40px;display:inline-block;position:absolute;top:50%;left:50%;margin-top:-20px;margin-left:-20px}.baguetteBox-double-bounce1,.baguetteBox-double-bounce2{width:100%;height:100%;-moz-border-radius:50%;border-radius:50%;background-color:#fff;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:bounce 2s infinite ease-in-out;animation:bounce 2s infinite ease-in-out}.baguetteBox-double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes bounce{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounce{0%,100%{-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}}
|