deploy.py auto-commit
This commit is contained in:
commit
520b18c751
292 changed files with 4568 additions and 5617 deletions
445
style.css
Normal file
445
style.css
Normal file
|
|
@ -0,0 +1,445 @@
|
|||
|
||||
@font-face {
|
||||
font-family: "Manuskript Gothisch";
|
||||
src: url("/fonts/manuskript_gothisch/Manuskript%20Gothisch%20UNZ1A.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Roboto Slab";
|
||||
src: url("/fonts/roboto_slab/RobotoSlab-VariableFont_wght.ttf") format("truetype-variations");
|
||||
font-weight: 100 200 300 400 500 600 700 800 900;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Bodoni Moda";
|
||||
src: url("/fonts/bodoni_moda/static/BodoniModa_9pt/BodoniModa_9pt-MediumItalic.ttf");
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Bodoni Moda";
|
||||
src: url("/fonts/bodoni_moda/static/BodoniModa_18pt/BodoniModa_18pt-Medium.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Fira Code";
|
||||
src: url("/fonts/fira_code/FiraCode-VariableFont_wght.ttf") format("truetype-variations");
|
||||
font-weight: 300 400 500 600 700;
|
||||
}
|
||||
|
||||
html, body {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
font-family: "Roboto Slab";
|
||||
font-weight: 350;
|
||||
color: #d0d0d0;
|
||||
background-color: #0d1015;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-family: "Bodoni Moda";
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
a:hover, a:visited, a:active, a:link {
|
||||
color: #ff9449;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background: #fc0daf;
|
||||
color: #d0d0d0;
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: scroll;
|
||||
background-color: #272c35;
|
||||
box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.8);
|
||||
padding: 0 10px 0 10px;
|
||||
}
|
||||
html, body {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
font-family: "Roboto Slab";
|
||||
font-weight: 350;
|
||||
color: #d0d0d0;
|
||||
background-color: #0d1015;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-family: "Bodoni Moda";
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
a:hover, a:visited, a:active, a:link {
|
||||
color: #ff9449;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background: #fc0daf;
|
||||
color: #d0d0d0;
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
background-color: #272c35;
|
||||
box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.8);
|
||||
padding: 0 10px 0 10px;
|
||||
}
|
||||
|
||||
nav > a:link, nav > a:active, nav > a:visited, nav > a:hover {
|
||||
flex-grow: 1;
|
||||
color: inherit;
|
||||
padding: 10px 10px 10px 10px;
|
||||
}
|
||||
|
||||
nav > a:hover {
|
||||
background: #fc0daf;
|
||||
}
|
||||
|
||||
nav > .spacer {
|
||||
flex-grow: 100;
|
||||
}
|
||||
|
||||
.breadcrumbs {
|
||||
max-width: 40em;
|
||||
text-align: center;
|
||||
align-self: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.breadcrumbs li {
|
||||
list-style: none;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.breadcrumbs li + li::before {
|
||||
content: "/";
|
||||
margin: 0 5px 0 5px;
|
||||
}
|
||||
|
||||
main {
|
||||
align-self: center;
|
||||
margin-top: -100px;
|
||||
padding: 100px 100px 40px 100px;
|
||||
max-width: min(100%, 60em);
|
||||
box-sizing: border-box;
|
||||
background-color: #272c35;
|
||||
box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.5);
|
||||
text-align: justify;
|
||||
hyphens: auto;
|
||||
}
|
||||
|
||||
@media (max-width: 30em) {
|
||||
main {
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
main > .intro {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 50px;
|
||||
margin-bottom: 8px;
|
||||
font-family: "Bodoni Moda";
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: "Manuskript Gothisch";
|
||||
}
|
||||
|
||||
body > header {
|
||||
z-index: 1;
|
||||
margin-top: 100px;
|
||||
margin-bottom: 0;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
body > header > h1 {
|
||||
text-align: center;
|
||||
background-image: linear-gradient(to right, #fc00b9, #ff9449);
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
color: transparent;
|
||||
filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
body > header > h1::first-line {
|
||||
/* https://css-tricks.com/linearly-scale-font-size-with-css-clamp-based-on-the-viewport/ */
|
||||
--min-fs: 3;
|
||||
--max-fs: 10;
|
||||
--min-vw: 20;
|
||||
--max-vw: 40;
|
||||
|
||||
--min-fs-rem: var(--min-fs) * 1rem;
|
||||
--max-fs-rem: var(--max-fs) * 1rem;
|
||||
--min-vw-rem: var(--min-vw) * 1rem;
|
||||
|
||||
--slope: (var(--max-fs) - var(--min-fs)) * (100vw - var(--min-vw-rem)) / (var(--max-vw) - var(--min-vw));
|
||||
|
||||
font-size: clamp(var(--min-fs-rem), var(--min-fs-rem) + var(--slope), var(--max-fs-rem));
|
||||
}
|
||||
|
||||
|
||||
main.cards {
|
||||
background-color: #1f232a;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: #272c35;
|
||||
box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.2);
|
||||
padding: 30px 20px 30px 20px;
|
||||
margin-top: 50px;
|
||||
|
||||
}
|
||||
|
||||
.card > .links {
|
||||
margin-left: -20px;
|
||||
margin-bottom: -30px;
|
||||
border-top: 0.5px dotted rgba(255, 255, 255, 0.3);
|
||||
margin-top: 20px;
|
||||
width: calc(100% + 40px);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.card > .links > a {
|
||||
padding: 10px 10px 10px 10px;
|
||||
flex-grow: 1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* un-mess-up rst2html output */
|
||||
.card > .summary > .document, .card > .summary > .document > p {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.card > h1,
|
||||
.card > h2,
|
||||
.card > h3,
|
||||
.card > h4,
|
||||
.card > h5,
|
||||
.card > h6 {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
tt {
|
||||
font-family: "Fira Code";
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
cite {
|
||||
font-family: "Fira Code";
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin-top: 2em;
|
||||
margin-bottom: 2em;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
background-color: #b5bcc8;
|
||||
box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.subfigure {
|
||||
margin-top: 2em;
|
||||
margin-bottom: 2em;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
justify-items: stretch;
|
||||
align-items: stretch;
|
||||
column-gap: 40px;
|
||||
row-gap: 40px;
|
||||
}
|
||||
|
||||
.subfigure > figure {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
figure.side-by-side {
|
||||
min-width: 15em;
|
||||
margin: 0 0 0 0;
|
||||
padding: 0 40px 0 0;
|
||||
}
|
||||
|
||||
figure img, figure video {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
background-color: #383f4c;
|
||||
line-height: 16pt;
|
||||
padding: 1em;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
|
||||
figure.header {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
margin: 40px auto 40px auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.code {
|
||||
font-family: "Fira Code";
|
||||
font-size: 13px;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
overflow-x: auto;
|
||||
display: grid;
|
||||
align-items: start;
|
||||
grid-template-columns: min-content 1fr;
|
||||
}
|
||||
|
||||
.code > .line {
|
||||
padding-left: calc(2em + 5px);
|
||||
text-indent: -2em;
|
||||
padding-top: 2px;
|
||||
min-width: 15em;
|
||||
}
|
||||
|
||||
/* Make individual syntax tokens wrap anywhere */
|
||||
.code > .line > span {
|
||||
overflow-wrap: anywhere;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.code > .lineno {
|
||||
counter-increment: lineno;
|
||||
word-break: keep-all;
|
||||
margin: 0;
|
||||
padding-left: 15px;
|
||||
padding-right: 5px;
|
||||
overflow: clip;
|
||||
position: relative;
|
||||
text-align: right;
|
||||
color: #a0a0a0;
|
||||
border-right: 1px solid #e0e0e0;
|
||||
align-self: stretch;
|
||||
}
|
||||
|
||||
.code > .lineno::after {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
content: "\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳";
|
||||
white-space: pre;
|
||||
color: #a0a0a0;
|
||||
}
|
||||
|
||||
.code > .lineno::before {
|
||||
content: counter(lineno);
|
||||
}
|
||||
|
||||
.code::before {
|
||||
counter-reset: lineno;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: 30px;
|
||||
align-self: center;
|
||||
margin-bottom: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
body .hll { background-color: #404040 }
|
||||
body .c { color: #d0d0d0 } /* Comment */
|
||||
body .err { color: #ffffff } /* Error */
|
||||
body .k { color: #ffffff } /* Keyword */
|
||||
body .l { color: #ffffff } /* Literal */
|
||||
body .n { color: #d0d0d0 } /* Name */
|
||||
body .o { color: #d0d0d0 } /* Operator */
|
||||
body .cm { color: #d0d0d0 } /* Comment.Multiline */
|
||||
body .cp { color: #d0d0d0 } /* Comment.Preproc */
|
||||
body .c1 { color: #d0d0d0 } /* Comment.Single */
|
||||
body .cs { color: #d0d0d0 } /* Comment.Special */
|
||||
body .kc { color: #ffffff } /* Keyword.Constant */
|
||||
body .kd { color: #ffffff } /* Keyword.Declaration */
|
||||
body .kn { color: #ffffff } /* Keyword.Namespace */
|
||||
body .kp { color: #ffffff } /* Keyword.Pseudo */
|
||||
body .kr { color: #ffffff } /* Keyword.Reserved */
|
||||
body .kt { color: #ffffff } /* Keyword.Type */
|
||||
body .na { color: #ffffff } /* Name.Attribute */
|
||||
body .nb { color: #ffffff } /* Name.Builtin */
|
||||
body .nc { color: #ffffff } /* Name.Class */
|
||||
body .no { color: #ffffff } /* Name.Constant */
|
||||
body .nd { color: #d0d0d0 } /* Name.Decorator */
|
||||
body .ni { color: #ffffff } /* Name.Entity */
|
||||
body .ne { color: #ffffff } /* Name.Exception */
|
||||
body .nf { color: #ffffff } /* Name.Function */
|
||||
body .nl { color: #ffffff } /* Name.Label */
|
||||
body .nn { color: #d0d0d0 } /* Name.Namespace */
|
||||
body .nx { color: #ffffff } /* Name.Other */
|
||||
body .py { color: #ffffff } /* Name.Property */
|
||||
body .nt { color: #ffffff } /* Name.Tag */
|
||||
body .nv { color: #ffffff } /* Name.Variable */
|
||||
body .ow { color: #ffffff } /* Operator.Word */
|
||||
body .bp { color: #ffffff } /* Name.Builtin.Pseudo */
|
||||
body .vc { color: #d0d0d0 } /* Name.Variable.Class */
|
||||
body .vg { color: #d0d0d0 } /* Name.Variable.Global */
|
||||
body .vi { color: #d0d0d0 } /* Name.Variable.Instance */
|
||||
body .ld { color: #d0d0d0; font-weight: 600 } /* Literal.Date */
|
||||
body .m { color: #d0d0d0; font-weight: 600 } /* Literal.Number */
|
||||
body .s { color: #d0d0d0; font-weight: 600 } /* Literal.String */
|
||||
body .mb { color: #d0d0d0; font-weight: 600 } /* Literal.Number.Bin */
|
||||
body .mf { color: #d0d0d0; font-weight: 600 } /* Literal.Number.Float */
|
||||
body .mh { color: #d0d0d0; font-weight: 600 } /* Literal.Number.Hex */
|
||||
body .mi { color: #d0d0d0; font-weight: 600 } /* Literal.Number.Integer */
|
||||
body .mo { color: #d0d0d0; font-weight: 600 } /* Literal.Number.Oct */
|
||||
body .sb { color: #d0d0d0; font-weight: 600 } /* Literal.String.Backtick */
|
||||
body .sc { color: #d0d0d0; font-weight: 600 } /* Literal.String.Char */
|
||||
body .sd { color: #d0d0d0; font-weight: 600 } /* Literal.String.Doc */
|
||||
body .s2 { color: #d0d0d0; font-weight: 600 } /* Literal.String.Double */
|
||||
body .se { color: #d0d0d0; font-weight: 600 } /* Literal.String.Escape */
|
||||
body .sh { color: #d0d0d0; font-weight: 600 } /* Literal.String.Heredoc */
|
||||
body .si { color: #d0d0d0; font-weight: 600 } /* Literal.String.Interpol */
|
||||
body .sx { color: #d0d0d0; font-weight: 600 } /* Literal.String.Other */
|
||||
body .sr { color: #d0d0d0; font-weight: 600 } /* Literal.String.Regex */
|
||||
body .s1 { color: #d0d0d0; font-weight: 600 } /* Literal.String.Single */
|
||||
body .ss { color: #d0d0d0; font-weight: 600 } /* Literal.String.Symbol */
|
||||
body .il { color: #d0d0d0; font-weight: 600 } /* Literal.Number.Integer.Long */
|
||||
Loading…
Add table
Add a link
Reference in a new issue