261 lines
9.2 KiB
CSS
261 lines
9.2 KiB
CSS
:root > * {
|
|
--md-primary-fg-color: #338574;
|
|
--md-primary-fg-color--light: #338574;
|
|
--md-primary-fg-color--dark: #338574;
|
|
--md-footer-bg-color: #353744;
|
|
--md-text-font: "Roboto";
|
|
--md-code-font: "Roboto Mono";
|
|
}
|
|
|
|
.md-header__button.md-logo :is(img, svg) {
|
|
width: unset !important;
|
|
}
|
|
|
|
.md-header__topic:first-child {
|
|
font-weight: 400;
|
|
}
|
|
|
|
.md-typeset h4 {
|
|
font-weight: 500 !important;
|
|
margin: 0 !important;
|
|
font-size: 1.1em !important;
|
|
}
|
|
|
|
.admonition {
|
|
font-size: .74rem !important;
|
|
}
|
|
|
|
article {
|
|
padding-bottom: 50px;
|
|
}
|
|
|
|
figure img, figure video {
|
|
border-radius: 7px;
|
|
}
|
|
|
|
header {
|
|
background: linear-gradient(150deg, rgba(51,133,116,1) 0%, rgba(86,189,168,1) 100%);
|
|
}
|
|
|
|
body[data-md-color-scheme="default"] header {
|
|
filter: drop-shadow(0 5px 10px #ccc);
|
|
}
|
|
|
|
body[data-md-color-scheme="slate"] header {
|
|
filter: drop-shadow(0 5px 10px #333);
|
|
}
|
|
|
|
body[data-md-color-scheme="default"] figure img,
|
|
body[data-md-color-scheme="default"] figure video,
|
|
body[data-md-color-scheme="default"] .screenshots img,
|
|
body[data-md-color-scheme="default"] .screenshots video {
|
|
filter: drop-shadow(3px 3px 3px #ccc);
|
|
}
|
|
|
|
body[data-md-color-scheme="slate"] figure img,
|
|
body[data-md-color-scheme="slate"] figure video,
|
|
body[data-md-color-scheme="slate"] .screenshots img,
|
|
body[data-md-color-scheme="slate"] .screenshots video {
|
|
filter: drop-shadow(3px 3px 3px #353744);
|
|
}
|
|
|
|
figure video {
|
|
width: 100%;
|
|
max-height: 450px;
|
|
}
|
|
|
|
.remove-md-box {
|
|
background: none;
|
|
border: none;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.remove-md-box td {
|
|
padding: 0 10px
|
|
}
|
|
|
|
/* Lightbox; thanks to https://yossiabramov.com/blog/vanilla-js-lightbox */
|
|
|
|
.screenshots {
|
|
text-align: center;
|
|
}
|
|
|
|
.screenshots img {
|
|
max-height: 230px;
|
|
max-width: 300px;
|
|
margin: 3px;
|
|
border-radius: 5px;
|
|
filter: drop-shadow(2px 2px 2px #ddd);
|
|
}
|
|
|
|
.screenshots .nowrap {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.lightbox {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
position: fixed;
|
|
left:0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: -1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.15s ease-in;
|
|
}
|
|
|
|
.lightbox.show {
|
|
background-color: rgba(0,0,0, 0.75);
|
|
opacity: 1;
|
|
visibility: visible;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.lightbox img {
|
|
max-width: 90%;
|
|
max-height: 90%;
|
|
filter: drop-shadow(5px 5px 10px #222);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.lightbox .close-lightbox {
|
|
cursor: pointer;
|
|
position: absolute;
|
|
top: 30px;
|
|
right: 30px;
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.lightbox .close-lightbox::after,
|
|
.lightbox .close-lightbox::before {
|
|
content: '';
|
|
width: 3px;
|
|
height: 20px;
|
|
background-color: #ddd;
|
|
position: absolute;
|
|
border-radius: 5px;
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.lightbox .close-lightbox::before {
|
|
transform: rotate(-45deg);
|
|
}
|
|
|
|
.lightbox .close-lightbox:hover::after,
|
|
.lightbox .close-lightbox:hover::before {
|
|
background-color: #fff;
|
|
}
|
|
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Roboto";
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
src: url("../fonts/roboto-v30-latin-300.eot");
|
|
src: url("../fonts/roboto-v30-latin-300.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-300.woff2") format("woff2"), url("../fonts/roboto-v30-latin-300.woff") format("woff"),
|
|
url("../fonts/roboto-v30-latin-300.ttf") format("truetype"), url("../fonts/roboto-v30-latin-300.svg#Roboto") format("svg");
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Roboto";
|
|
font-style: italic;
|
|
font-weight: 300;
|
|
src: url("../fonts/roboto-v30-latin-300italic.eot");
|
|
src: url("../fonts/roboto-v30-latin-300italic.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-300italic.woff2") format("woff2"), url("../fonts/roboto-v30-latin-300italic.woff") format("woff"),
|
|
url("../fonts/roboto-v30-latin-300italic.ttf") format("truetype"), url("../fonts/roboto-v30-latin-300italic.svg#Roboto") format("svg");
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Roboto";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url("../fonts/roboto-v30-latin-regular.eot");
|
|
src: url("../fonts/roboto-v30-latin-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-regular.woff2") format("woff2"), url("../fonts/roboto-v30-latin-regular.woff") format("woff"),
|
|
url("../fonts/roboto-v30-latin-regular.ttf") format("truetype"), url("../fonts/roboto-v30-latin-regular.svg#Roboto") format("svg");
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Roboto";
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
src: url("../fonts/roboto-v30-latin-italic.eot");
|
|
src: url("../fonts/roboto-v30-latin-italic.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-italic.woff2") format("woff2"), url("../fonts/roboto-v30-latin-italic.woff") format("woff"),
|
|
url("../fonts/roboto-v30-latin-italic.ttf") format("truetype"), url("../fonts/roboto-v30-latin-italic.svg#Roboto") format("svg");
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Roboto";
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
src: url("../fonts/roboto-v30-latin-500.eot");
|
|
src: url("../fonts/roboto-v30-latin-500.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-500.woff2") format("woff2"), url("../fonts/roboto-v30-latin-500.woff") format("woff"),
|
|
url("../fonts/roboto-v30-latin-500.ttf") format("truetype"), url("../fonts/roboto-v30-latin-500.svg#Roboto") format("svg");
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Roboto";
|
|
font-style: italic;
|
|
font-weight: 500;
|
|
src: url("../fonts/roboto-v30-latin-500italic.eot");
|
|
src: url("../fonts/roboto-v30-latin-500italic.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-500italic.woff2") format("woff2"), url("../fonts/roboto-v30-latin-500italic.woff") format("woff"),
|
|
url("../fonts/roboto-v30-latin-500italic.ttf") format("truetype"), url("../fonts/roboto-v30-latin-500italic.svg#Roboto") format("svg");
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Roboto";
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: url("../fonts/roboto-v30-latin-700.eot");
|
|
src: url("../fonts/roboto-v30-latin-700.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-700.woff2") format("woff2"), url("../fonts/roboto-v30-latin-700.woff") format("woff"),
|
|
url("../fonts/roboto-v30-latin-700.ttf") format("truetype"), url("../fonts/roboto-v30-latin-700.svg#Roboto") format("svg");
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Roboto";
|
|
font-style: italic;
|
|
font-weight: 700;
|
|
src: url("../fonts/roboto-v30-latin-700italic.eot");
|
|
src: url("../fonts/roboto-v30-latin-700italic.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-700italic.woff2") format("woff2"), url("../fonts/roboto-v30-latin-700italic.woff") format("woff"),
|
|
url("../fonts/roboto-v30-latin-700italic.ttf") format("truetype"), url("../fonts/roboto-v30-latin-700italic.svg#Roboto") format("svg");
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Roboto Mono";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url("../fonts/roboto-mono-v22-latin-regular.eot");
|
|
src: url("../fonts/roboto-mono-v22-latin-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-mono-v22-latin-regular.woff2") format("woff2"),
|
|
url("../fonts/roboto-mono-v22-latin-regular.woff") format("woff"), url("../fonts/roboto-mono-v22-latin-regular.ttf") format("truetype"), url("../fonts/roboto-mono-v22-latin-regular.svg#RobotoMono") format("svg");
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Roboto Mono";
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
src: url("../fonts/roboto-mono-v22-latin-italic.eot");
|
|
src: url("../fonts/roboto-mono-v22-latin-italic.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-mono-v22-latin-italic.woff2") format("woff2"),
|
|
url("../fonts/roboto-mono-v22-latin-italic.woff") format("woff"), url("../fonts/roboto-mono-v22-latin-italic.ttf") format("truetype"), url("../fonts/roboto-mono-v22-latin-italic.svg#RobotoMono") format("svg");
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Roboto Mono";
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: url("../fonts/roboto-mono-v22-latin-700.eot");
|
|
src: url("../fonts/roboto-mono-v22-latin-700.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-mono-v22-latin-700.woff2") format("woff2"), url("../fonts/roboto-mono-v22-latin-700.woff") format("woff"),
|
|
url("../fonts/roboto-mono-v22-latin-700.ttf") format("truetype"), url("../fonts/roboto-mono-v22-latin-700.svg#RobotoMono") format("svg");
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Roboto Mono";
|
|
font-style: italic;
|
|
font-weight: 700;
|
|
src: url("../fonts/roboto-mono-v22-latin-700italic.eot");
|
|
src: url("../fonts/roboto-mono-v22-latin-700italic.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-mono-v22-latin-700italic.woff2") format("woff2"),
|
|
url("../fonts/roboto-mono-v22-latin-700italic.woff") format("woff"), url("../fonts/roboto-mono-v22-latin-700italic.ttf") format("truetype"), url("../fonts/roboto-mono-v22-latin-700italic.svg#RobotoMono") format("svg");
|
|
}
|