2022-04-01 21:29:18 +02:00
|
|
|
@font-face {
|
2022-04-06 05:59:24 +02:00
|
|
|
font-family: 'Bagnard';
|
|
|
|
src: url("/assets/fonts/bagnard/Bagnard.woff") format("woff");
|
|
|
|
font-display: swap;
|
2022-04-01 21:29:18 +02:00
|
|
|
}
|
|
|
|
|
2022-04-06 05:59:24 +02:00
|
|
|
@font-face {
|
|
|
|
font-family: 'Public Sans';
|
|
|
|
src: url('/assets/fonts/public_sans/PublicSans-Bold.woff2') format('woff2');
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: normal;
|
|
|
|
font-display: swap;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Public Sans';
|
|
|
|
src: url('/assets/fonts/public_sans/PublicSans-BoldItalic.woff2') format('woff2');
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: italic;
|
|
|
|
font-display: swap;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Public Sans';
|
|
|
|
src: url('/assets/fonts/public_sans/PublicSans-Light.woff2') format('woff2');
|
|
|
|
font-weight: 300;
|
|
|
|
font-style: normal;
|
|
|
|
font-display: swap;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Public Sans';
|
|
|
|
src: url('/assets/fonts/public_sans/PublicSans-Italic.woff2') format('woff2');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: italic;
|
|
|
|
font-display: swap;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Public Sans';
|
|
|
|
src: url('/assets/fonts/public_sans/PublicSans-Regular.woff2') format('woff2');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
font-display: swap;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'DM Mono';
|
|
|
|
src: url('/assets/fonts/dm_mono/DMMono-Regular.woff2') format('woff2');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
font-display: swap;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'DM Mono';
|
|
|
|
src: url('/assets/fonts/dm_mono/DMMono-Medium.woff2') format('woff2');
|
|
|
|
font-weight: 500;
|
|
|
|
font-style: normal;
|
|
|
|
font-display: swap;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Define brand */
|
2022-04-29 17:21:37 +02:00
|
|
|
:root, [data-md-color-scheme="default"] {
|
2022-04-01 21:29:18 +02:00
|
|
|
--md-primary-fg-color: #FFD06F;
|
|
|
|
--md-primary-fg-color--light: #ffdd98;
|
|
|
|
--md-primary-fg-color--dark: #db9d21;
|
|
|
|
--md-primary-bg-color: rgba(0,0,0,.75);
|
|
|
|
--md-primary-bg-color--light: rgba(0,0,0,.54);
|
2022-04-06 05:59:24 +02:00
|
|
|
--md-text-font: "Public Sans", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
|
|
|
|
--md-code-font: "DM Mono", SFMono-Regular, Consolas, Menlo, monospace;
|
2022-04-01 21:29:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide shadow under navigation */
|
|
|
|
.md-header[data-md-state="shadow"],
|
|
|
|
.md-header--shadow {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Better contrast link colors */
|
2022-04-29 17:21:37 +02:00
|
|
|
[data-md-color-scheme="default"] > * {
|
2022-04-01 21:29:18 +02:00
|
|
|
--md-typeset-a-color: #3C00E0;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-md-color-scheme="slate"] {
|
|
|
|
--md-typeset-a-color: #CBBDFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Purple buttons */
|
|
|
|
.md-typeset .md-button {
|
|
|
|
color: var(--md-typeset-a-color);
|
2022-04-02 05:24:25 +02:00
|
|
|
margin-bottom: 5px;
|
2022-04-01 21:29:18 +02:00
|
|
|
}
|
|
|
|
.md-typeset .md-button--primary {
|
|
|
|
color: white;
|
|
|
|
background-color: var(--md-typeset-a-color);
|
|
|
|
border-color: var(--md-typeset-a-color);
|
|
|
|
}
|
|
|
|
[data-md-color-scheme="slate"] .md-typeset .md-button--primary {
|
|
|
|
color: var(--md-primary-bg-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, .md-header__topic {
|
2022-04-06 05:59:24 +02:00
|
|
|
font-family: "Bagnard", serif;
|
2022-04-01 21:29:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Recommendation cards */
|
|
|
|
.md-typeset .admonition.recommendation,
|
|
|
|
.md-typeset details.recommendation {
|
|
|
|
border: none;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
.md-typeset .recommendation > .admonition-title,
|
|
|
|
.md-typeset .recommendation > summary {
|
|
|
|
background-color: rgba(43, 155, 70, 0.0);
|
|
|
|
border: none;
|
|
|
|
padding-left: 0.6rem;
|
|
|
|
}
|
|
|
|
.md-typeset .recommendation > .admonition-title::before,
|
|
|
|
.md-typeset .recommendation > .admonition-title,
|
|
|
|
.md-typeset .recommendation > summary::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.md-typeset .recommendation img[align="right"], .md-typeset svg[align="right"] {
|
2022-05-04 17:42:34 +02:00
|
|
|
width: 150px;
|
2022-04-01 21:29:18 +02:00
|
|
|
}
|
|
|
|
|
2022-04-23 03:12:10 +02:00
|
|
|
.md-typeset .admonition.downloads,
|
|
|
|
.md-typeset details.downloads {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.md-typeset .downloads > .admonition-title,
|
|
|
|
.md-typeset .downloads > summary {
|
|
|
|
background-color: rgba(43, 155, 70, 0.0);
|
|
|
|
border: none;
|
|
|
|
padding-left: 0.6rem;
|
|
|
|
}
|
|
|
|
.md-typeset .downloads > .admonition-title::before,
|
|
|
|
.md-typeset .downloads > .admonition-title,
|
|
|
|
.md-typeset .downloads > summary::before {
|
|
|
|
background-color: var( --md-typeset-a-color);
|
|
|
|
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-arrow-down-circle-fill' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z'/%3E%3C/svg%3E");
|
|
|
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-arrow-down-circle-fill' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z'/%3E%3C/svg%3E");
|
|
|
|
}
|
|
|
|
.md-typeset .downloads > summary::after {
|
|
|
|
right:auto;
|
2022-04-01 21:29:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Correct page icon size */
|
|
|
|
.md-nav__link svg {
|
|
|
|
width: 22px;
|
|
|
|
}
|
2022-04-12 05:45:22 +02:00
|
|
|
|
2022-05-22 03:25:41 +02:00
|
|
|
/* Un-sticky sidebar without JS */
|
2022-04-12 05:45:22 +02:00
|
|
|
.no-js .md-sidebar {
|
|
|
|
align-self: auto;
|
|
|
|
}
|
2022-05-15 06:34:16 +02:00
|
|
|
|
|
|
|
/* Maintain 16:9 aspect ratio on embedded YT videos */
|
|
|
|
.yt-embed {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
padding-bottom: 56.25%;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.yt-embed iframe {
|
|
|
|
position: absolute;
|
|
|
|
top:0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2022-05-21 23:55:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Badge colors */
|
|
|
|
.pg-purple {
|
2022-05-22 03:58:24 +02:00
|
|
|
color: #603aa0;
|
|
|
|
}
|
|
|
|
[data-md-color-scheme="slate"] .pg-purple {
|
|
|
|
color: #af94de;
|
2022-05-21 23:55:14 +02:00
|
|
|
}
|
|
|
|
.pg-red {
|
2022-05-22 03:58:24 +02:00
|
|
|
color: #c0322f;
|
|
|
|
}
|
|
|
|
[data-md-color-scheme="slate"] .pg-red {
|
|
|
|
color: #ff6c6a;
|
2022-05-21 23:55:14 +02:00
|
|
|
}
|
|
|
|
.pg-orange {
|
2022-05-22 03:58:24 +02:00
|
|
|
color: #ac2f09;
|
|
|
|
}
|
|
|
|
[data-md-color-scheme="slate"] .pg-orange {
|
|
|
|
color: #e97b5a;
|
2022-05-21 23:55:14 +02:00
|
|
|
}
|
|
|
|
.pg-teal {
|
2022-05-22 03:58:24 +02:00
|
|
|
color: #04756a;
|
|
|
|
}
|
|
|
|
[data-md-color-scheme="slate"] .pg-teal {
|
|
|
|
color: #8dc6c1;
|
2022-05-21 23:55:14 +02:00
|
|
|
}
|
|
|
|
.pg-brown {
|
|
|
|
color: #8d6e62;
|
|
|
|
}
|
2022-05-22 03:58:24 +02:00
|
|
|
[data-md-color-scheme="slate"] .pg-brown {
|
|
|
|
color: #b6988c;
|
|
|
|
}
|
2022-05-21 23:55:14 +02:00
|
|
|
.pg-blue {
|
2022-05-22 03:58:24 +02:00
|
|
|
color: #0e66ae;
|
|
|
|
}
|
|
|
|
[data-md-color-scheme="slate"] .pg-blue {
|
|
|
|
color: #74b9f1;
|
2022-05-21 23:55:14 +02:00
|
|
|
}
|
|
|
|
.pg-green {
|
2022-05-22 03:58:24 +02:00
|
|
|
color: #2e7e31;
|
|
|
|
}
|
|
|
|
[data-md-color-scheme="slate"] .pg-green {
|
|
|
|
color: #72cd75;
|
2022-05-21 23:55:14 +02:00
|
|
|
}
|
|
|
|
.pg-blue-gray {
|
|
|
|
color: #546d78;
|
|
|
|
}
|
2022-05-22 03:58:24 +02:00
|
|
|
[data-md-color-scheme="slate"] .pg-blue-gray {
|
|
|
|
color: #9ab2bc;
|
2022-05-22 03:25:41 +02:00
|
|
|
|
|
|
|
/* Make light/dark mode icon smaller */
|
|
|
|
label[class="md-header__button md-icon"] svg {
|
|
|
|
height: 1rem;
|
|
|
|
width: 1rem;
|
|
|
|
}
|