2021-10-08 19:46:45 -05:00
|
|
|
/* bobatheme is available under the MIT license at
|
|
|
|
* https://github.com/BBaoVanC/bobatheme.
|
2023-03-24 08:49:02 -05:00
|
|
|
*
|
|
|
|
* vim: foldmethod=marker
|
2021-10-08 19:46:45 -05:00
|
|
|
*/
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* Color palette {{{ */
|
|
|
|
|
2021-11-22 16:46:58 -06:00
|
|
|
:root {
|
2022-05-14 23:19:52 -05:00
|
|
|
--background-0: #111111; /* lch(5, 0, X) */
|
|
|
|
--background-1: #212121; /* lch(12.5, 0, X) */
|
|
|
|
--background-2: #303030; /* lch(20, 0, X) */
|
|
|
|
--background-3: #414141; /* lch(27.5, 0, X) */
|
|
|
|
|
|
|
|
--background-pink-1: #331821; /* lch(12.5, 15, 0) */
|
|
|
|
--background-red-1: #331917; /* lch(12.5, 15, 30) */
|
|
|
|
--background-orange-1: #2e1c0e; /* lch(12.5, 15, 60) */
|
|
|
|
--background-yellow-1: #262008; /* lch(12.5, 15, 90) */
|
|
|
|
--background-lime-1: #1b230c; /* lch(12.5, 15, 120) */
|
|
|
|
--background-green-1: #0e2516; /* lch(12.5, 15, 150) */
|
|
|
|
--background-turquoise-1: #012620; /* lch(12.5, 15, 180) */
|
|
|
|
--background-teal-1: #00262b; /* lch(12.5, 15, 210) -- out of sRGB */
|
|
|
|
--background-cerulean-1: #032432; /* lch(12.5, 15, 240) */
|
|
|
|
--background-blue-1: #152135; /* lch(12.5, 15, 270) */
|
|
|
|
--background-purple-1: #241d33; /* lch(12.5, 15, 300) */
|
|
|
|
--background-magenta-1: #2e1a2b; /* lch(12.5, 15, 330) */
|
|
|
|
|
|
|
|
--background-pink-2: #4b2431; /* lch(20, 20, 0) */
|
|
|
|
--background-red-2: #4a2623; /* lch(20, 20, 30) */
|
|
|
|
--background-orange-2: #432a17; /* lch(20, 20, 60) */
|
|
|
|
--background-yellow-2: #373012; /* lch(20, 20, 90) */
|
|
|
|
--background-lime-2: #283416; /* lch(20, 20, 120) */
|
|
|
|
--background-green-2: #163721; /* lch(20, 20, 150) */
|
|
|
|
--background-turquoise-2: #003830; /* lch(20, 20, 180) -- out of sRGB */
|
|
|
|
--background-teal-2: #00373e; /* lch(20, 20, 210) -- out of sRGB */
|
|
|
|
--background-cerulean-2: #013549; /* lch(20, 20, 240) */
|
|
|
|
--background-blue-2: #1f314e; /* lch(20, 20, 270) */
|
|
|
|
--background-purple-2: #352c4a; /* lch(20, 20, 300) */
|
|
|
|
--background-magenta-2: #43263f; /* lch(20, 20, 330) */
|
|
|
|
|
|
|
|
--background-accent-1: var(--background-blue-1);
|
|
|
|
--background-accent-2: var(--background-blue-2);
|
|
|
|
|
|
|
|
--text-0: #d4d4d4; /* lch(85, 0, X) */
|
|
|
|
--text-1: #d4d4d4; /* lch(85, 0, X) */
|
|
|
|
--text-2: #d4d4d4; /* lch(85, 0, X) */
|
|
|
|
--text-3: #e9e9e9; /* lch(92.5, 0, X) */
|
|
|
|
|
|
|
|
--text-gray-0: #ababab; /* lch(70, 0, X) */
|
|
|
|
--text-gray-1: #919191; /* lch(60, 0, X) */
|
|
|
|
|
|
|
|
--link-0: #3a94fb; /* lch(60, 60, 270) */
|
2023-01-22 16:23:03 -06:00
|
|
|
--link-1: #4ea1ff; /* lch(65, 60, 270) -- out of sRGB */
|
2022-05-14 23:19:52 -05:00
|
|
|
|
2022-05-08 00:46:05 -05:00
|
|
|
--figure-border: #1f5593; /* lch(35, 40, 270) */
|
2021-11-22 16:46:58 -06:00
|
|
|
|
|
|
|
--pagination-active-hover-text: black;
|
2022-05-08 00:46:05 -05:00
|
|
|
--pagination-active-background: #1a3d69; /* lch(25, 30, 270) */
|
|
|
|
--pagination-active-hover-background: #2061a8; /* lch(40, 45, 270) */
|
2021-11-22 16:46:58 -06:00
|
|
|
}
|
|
|
|
|
2022-05-08 00:46:05 -05:00
|
|
|
@media print, (prefers-color-scheme: light) {
|
2021-11-22 16:46:58 -06:00
|
|
|
:root {
|
2022-05-14 23:19:52 -05:00
|
|
|
--background-0: #f1f1f1; /* lch(95, 0, X) */
|
|
|
|
--background-1: #dbdbdb; /* lch(87.5, 0, X) */
|
|
|
|
--background-2: #c6c6c6; /* lch(80, 0, X) */
|
|
|
|
--background-3: #b2b2b2; /* lch(72.5, 0, X) */
|
|
|
|
|
|
|
|
--background-pink-1: #f7d1dc; /* lch(87.5, 15, 0) */
|
|
|
|
--background-red-1: #f8d2ce; /* lch(87.5, 15, 30) */
|
|
|
|
--background-orange-1: #f1d6c3; /* lch(87.5, 15, 60) */
|
|
|
|
--background-yellow-1: #e4dbbf; /* lch(87.5, 15, 90) */
|
|
|
|
--background-lime-1: #d5dfc2; /* lch(87.5, 15, 120) */
|
|
|
|
--background-green-1: #c6e3cc; /* lch(87.5, 15, 150) */
|
|
|
|
--background-turquoise-1: #bce4db; /* lch(87.5, 15, 180) */
|
|
|
|
--background-teal-1: #bae3e9; /* lch(87.5, 15, 210) */
|
|
|
|
--background-cerulean-1: #c2e0f4; /* lch(87.5, 15, 240) */
|
|
|
|
--background-blue-1: #d0dcf8; /* lch(87.5, 15, 270) */
|
|
|
|
--background-purple-1: #e1d7f4; /* lch(87.5, 15, 300) */
|
|
|
|
--background-magenta-1: #efd3ea; /* lch(87.5, 15, 330) */
|
|
|
|
|
|
|
|
--background-pink-2: #fbb1c8; /* lch(80, 30, 0) */
|
|
|
|
--background-red-2: #fbb4ac; /* lch(80, 30, 30) */
|
|
|
|
--background-orange-2: #eebc97; /* lch(80, 30, 60) */
|
|
|
|
--background-yellow-2: #d6c58e; /* lch(80, 30, 90) */
|
|
|
|
--background-lime-2: #b8ce95; /* lch(80, 30, 120) */
|
|
|
|
--background-green-2: #9ad4a9; /* lch(80, 30, 150) */
|
|
|
|
--background-turquoise-2: #81d6c5; /* lch(80, 30, 180) */
|
|
|
|
--background-teal-2: #7ad5e1; /* lch(80, 30, 210) */
|
|
|
|
--background-cerulean-2: #8cd0f6; /* lch(80, 30, 240) */
|
|
|
|
--background-blue-2: #adc8fe; /* lch(80, 30, 270) */
|
|
|
|
--background-purple-2: #d0bef7; /* lch(80, 30, 300) */
|
|
|
|
--background-magenta-2: #ecb5e3; /* lch(80, 30, 330) */
|
|
|
|
|
|
|
|
--background-accent-1: var(--background-blue-1);
|
|
|
|
--background-accent-2: var(--background-blue-2);
|
|
|
|
|
|
|
|
--text-0: #262626; /* lch(15, 0, X) */
|
|
|
|
--text-1: #262626; /* lch(15, 0, X) */
|
|
|
|
--text-2: #262626; /* lch(15, 0, X) */
|
|
|
|
--text-3: #171717; /* lch(72.5, 0, X) */
|
|
|
|
|
|
|
|
--text-gray-0: #474747; /* lch(30, 0, X) */
|
|
|
|
--text-gray-1: #5e5e5e; /* lch(40, 0, X) */
|
|
|
|
|
|
|
|
--link-0: #2061a8; /* lch(40, 45, 270) */
|
2023-01-26 16:54:17 -06:00
|
|
|
--link-1: #044e8e; /* lch(32, 42, 270 */
|
2022-05-14 23:19:52 -05:00
|
|
|
|
2022-05-08 00:46:05 -05:00
|
|
|
--figure-border: #367acd; /* lch(50, 50, 270) */
|
2021-11-22 16:46:58 -06:00
|
|
|
|
|
|
|
--pagination-active-hover-text: white;
|
2022-05-08 00:46:05 -05:00
|
|
|
--pagination-active-background: #9fbaf0; /* lch(75, 30, 270) */
|
|
|
|
--pagination-active-hover-background: #6193e0; /* lch(60, 45, 270) */
|
2021-11-22 16:46:58 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
:root {
|
2022-05-08 00:46:05 -05:00
|
|
|
--background-0: #fff;
|
2023-01-27 16:39:04 -06:00
|
|
|
--text-0: #000;
|
2021-11-22 16:46:58 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
2021-10-08 19:46:45 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* Fonts {{{ */
|
2022-04-04 21:47:26 -05:00
|
|
|
|
2023-01-22 20:46:18 -06:00
|
|
|
@font-face {
|
|
|
|
font-family: "Open Sans";
|
|
|
|
font-display: swap;
|
|
|
|
font-style: normal;
|
2023-01-24 01:34:23 -06:00
|
|
|
src: url("../font/opensans/OpenSans-VariableFont_wdth,wght-9f637b868d10819aa0085e6cf7f70953411c8905c4055c069adbe8acc708feef.woff2") format("woff2");
|
2023-01-22 20:46:18 -06:00
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: JetBrainsMono;
|
|
|
|
font-display: swap;
|
2023-01-24 01:34:23 -06:00
|
|
|
src: url("../font/jetbrainsmono/JetBrainsMono_wght-e190ee6595a3b9bd25278613a6f5d3766ee1a708f300ed44fa63dbe84051498f.woff2") format("woff2");
|
2023-01-22 20:46:18 -06:00
|
|
|
}
|
2023-03-24 08:49:02 -05:00
|
|
|
|
2023-01-22 20:46:18 -06:00
|
|
|
:root {
|
|
|
|
--font-sans: "Open Sans", "Noto Sans", sans-serif;
|
|
|
|
--font-mono: JetBrainsMono, monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
font-family: var(--font-sans);
|
2023-01-24 01:54:27 -06:00
|
|
|
/* otherwise code block lines have random text sizes on mobile safari */
|
|
|
|
-webkit-text-size-adjust: none;
|
2023-01-22 20:46:18 -06:00
|
|
|
}
|
|
|
|
pre, code, kbd, samp, textarea {
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
font-size: 0.75em;
|
|
|
|
}
|
|
|
|
pre > code {
|
|
|
|
/* otherwise it ends up being 0.75^2 em */
|
|
|
|
font-size: unset;
|
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
2023-01-22 20:46:18 -06:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* Basic elements {{{ */
|
2023-01-22 20:46:18 -06:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
html {
|
|
|
|
scroll-behavior: smooth;
|
2021-11-13 17:23:30 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
@media screen and (prefers-reduced-motion: reduce) {
|
|
|
|
html {
|
|
|
|
scroll-behavior: auto;
|
|
|
|
}
|
2022-04-10 03:08:22 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
body {
|
|
|
|
background-color: var(--background-0);
|
|
|
|
color: var(--text-0);
|
2023-10-15 01:22:04 -05:00
|
|
|
overflow-wrap: break-word;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2023-10-21 19:44:02 -05:00
|
|
|
.main-container {
|
|
|
|
margin: 20px auto;
|
|
|
|
padding: 0 20px;
|
|
|
|
max-width: 760px; /* 720px + 20px for left & right padding */
|
2021-11-12 20:25:47 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
footer {
|
2023-10-21 19:44:02 -05:00
|
|
|
margin: 20px 0;
|
2023-03-24 08:49:02 -05:00
|
|
|
text-align: center;
|
2023-04-06 00:18:18 -05:00
|
|
|
font-size: smaller;
|
2023-02-28 18:24:19 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
footer p {
|
|
|
|
margin: 0;
|
2021-11-23 13:14:44 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
img,
|
|
|
|
video {
|
|
|
|
max-width: 100%;
|
2021-10-02 16:22:52 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.post-media > figure.border img,
|
|
|
|
.post-media > figure.border video {
|
|
|
|
padding: 5px;
|
|
|
|
border: 7px solid var(--figure-border);
|
2022-07-20 21:48:55 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
figure.border img,
|
|
|
|
figure.border video {
|
|
|
|
padding: 5px;
|
|
|
|
border: 2px solid var(--figure-border);
|
2021-10-06 17:34:55 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
figure {
|
|
|
|
margin: auto;
|
2021-11-20 19:56:30 -06:00
|
|
|
display: inline-block;
|
2021-10-02 16:22:52 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
figcaption {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: small;
|
|
|
|
text-align: center;
|
2021-10-09 22:54:33 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
a {
|
|
|
|
color: var(--link-0);
|
|
|
|
text-decoration: inherit;
|
2021-10-23 23:24:05 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
2021-10-03 19:31:56 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
blockquote {
|
|
|
|
border-left: 5px solid var(--background-2);
|
|
|
|
padding-left: 15px;
|
|
|
|
margin-left: 0;
|
2021-10-09 18:08:27 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
hr {
|
|
|
|
border: 1px solid var(--background-3);
|
2021-10-06 17:00:34 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
@media (min-width: 720px) {
|
|
|
|
.full-width-hr {
|
|
|
|
/* see also: the related-posts section too */
|
|
|
|
margin-left: calc(-100vw / 2 + 760px / 2);
|
|
|
|
margin-right: calc(-100vw / 2 + 760px / 2);
|
|
|
|
}
|
|
|
|
}
|
2021-10-03 19:31:56 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
table.markdown {
|
|
|
|
border-collapse: collapse;
|
|
|
|
border: 2px solid var(--text-1);
|
|
|
|
}
|
2021-10-03 19:31:56 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
table.markdown thead {
|
|
|
|
background-color: var(--background-2);
|
|
|
|
color: var(--text-2);
|
|
|
|
border-bottom: 2px solid var(--text-1);
|
2022-05-09 19:21:39 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
table.markdown th,
|
|
|
|
table.markdown td {
|
|
|
|
padding: 8px;
|
2022-05-09 19:21:39 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
table.markdown :is(th, td) + :is(th, td) {
|
|
|
|
border-left: 2px solid var(--text-1);
|
2022-05-06 20:16:41 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
table.markdown tbody tr:nth-child(odd) {
|
|
|
|
background-color: var(--background-0);
|
|
|
|
color: var(--text-0);
|
|
|
|
}
|
|
|
|
table.markdown tbody tr:nth-child(even) {
|
2022-05-08 00:46:05 -05:00
|
|
|
background-color: var(--background-1);
|
2022-05-14 23:19:52 -05:00
|
|
|
color: var(--text-1);
|
2022-05-06 20:16:41 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
:target {
|
|
|
|
animation: target-fade 10s ease-out;
|
2022-05-09 18:56:40 -05:00
|
|
|
}
|
2023-03-24 08:49:02 -05:00
|
|
|
@keyframes target-fade {
|
|
|
|
0% { background-color: var(--background-yellow-2); }
|
2022-05-06 20:16:41 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2021-11-22 15:20:20 -06:00
|
|
|
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* Icons */
|
|
|
|
.icon {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
color: var(--text-1);
|
|
|
|
text-align: center;
|
|
|
|
display: inline;
|
|
|
|
vertical-align: middle;
|
2021-11-13 17:04:10 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
h1 svg.icon {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
2021-11-13 17:04:10 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
2021-11-13 17:04:10 -06:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
|
2023-10-15 01:22:04 -05:00
|
|
|
/* Heading formatting (article section titles) {{{ */
|
2022-05-21 23:20:22 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* this is also used i.e. in page-title */
|
|
|
|
.heading-link {
|
2021-10-03 19:31:56 -05:00
|
|
|
color: inherit;
|
2023-01-07 20:50:01 -06:00
|
|
|
font-weight: bold;
|
2021-09-25 20:52:01 -05:00
|
|
|
}
|
2021-09-30 09:54:30 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.heading-link svg {
|
2021-10-10 15:14:36 -05:00
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
2021-10-10 15:02:20 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
2021-09-30 09:54:30 -05:00
|
|
|
|
2023-10-15 01:22:04 -05:00
|
|
|
/* Top bar formatting {{{ */
|
2021-09-30 09:54:30 -05:00
|
|
|
|
2023-10-15 01:22:04 -05:00
|
|
|
.top {
|
2023-03-24 08:49:02 -05:00
|
|
|
display: flex;
|
2023-10-15 01:22:04 -05:00
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
2022-05-08 00:46:05 -05:00
|
|
|
background-color: var(--background-1);
|
2023-10-15 01:22:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin: 8px 16px;
|
|
|
|
font-size: 1.25em;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2021-11-13 23:31:20 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.navbar-item {
|
2023-10-15 01:22:04 -05:00
|
|
|
padding: 12px 16px;
|
2023-03-24 08:49:02 -05:00
|
|
|
white-space: nowrap;
|
2021-10-26 20:50:45 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.navbar-item:hover {
|
2023-10-15 19:40:45 -05:00
|
|
|
background-color: var(--background-2);
|
2023-03-24 08:49:02 -05:00
|
|
|
text-decoration: none;
|
2021-10-08 20:44:19 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.navbar-item.active {
|
|
|
|
font-weight: bold;
|
2021-11-18 17:47:31 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
2022-04-10 15:42:58 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* Back to top {{{ */
|
|
|
|
#top {
|
|
|
|
font-size: 0;
|
2022-04-10 15:42:58 -05:00
|
|
|
}
|
2023-03-24 08:49:02 -05:00
|
|
|
#back-to-top {
|
|
|
|
position: fixed;
|
|
|
|
float: right;
|
|
|
|
bottom: 25px;
|
|
|
|
right: 25px;
|
|
|
|
background-color: var(--background-1);
|
|
|
|
color: var(--text-1);
|
|
|
|
border-radius: 100%;
|
|
|
|
padding: 12px;
|
|
|
|
display: none;
|
2022-05-04 18:45:02 -05:00
|
|
|
}
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
2022-05-04 18:45:02 -05:00
|
|
|
|
2023-10-21 20:21:26 -05:00
|
|
|
/* Skip to main content {{{ */
|
|
|
|
#skip-to-main {
|
|
|
|
position: absolute;
|
|
|
|
padding: 8px;
|
|
|
|
background-color: var(--text-0);
|
|
|
|
color: var(--background-0);
|
|
|
|
transform: translateY(-100%);
|
|
|
|
}
|
|
|
|
#skip-to-main:focus {
|
|
|
|
transform: translateY(0%);
|
|
|
|
}
|
|
|
|
#main-content:target {
|
|
|
|
animation: none; /* prevent it from turning yellow */
|
|
|
|
}
|
|
|
|
/* }}} */
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* Breadcrumb navigation {{{ */
|
2022-05-04 18:45:02 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.breadcrumb {
|
|
|
|
margin: 20px 0;
|
2022-05-04 18:45:02 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.breadcrumb ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
2022-05-04 22:02:36 -05:00
|
|
|
}
|
2023-03-24 08:49:02 -05:00
|
|
|
|
|
|
|
.breadcrumb li {
|
|
|
|
display: inline;
|
2022-05-04 18:45:02 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.breadcrumb li+li:before {
|
|
|
|
content: "»"
|
2022-05-04 18:45:02 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
|
|
|
|
|
|
|
|
|
|
|
/* Pagination {{{ */
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
list-style: none;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0;
|
2022-04-10 15:42:58 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.pagination .page-item {
|
|
|
|
display: inline;
|
2022-04-10 02:14:42 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.pagination .page-link {
|
|
|
|
padding: 8px 16px;
|
|
|
|
border-radius: 5px;
|
|
|
|
color: var(--text-1);
|
|
|
|
}
|
2022-04-10 15:42:58 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.pagination .page-item.active .page-link {
|
|
|
|
background-color: var(--pagination-active-background);
|
|
|
|
color: inherit;
|
|
|
|
}
|
2022-05-21 23:20:22 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.pagination .page-item.active .page-link:hover {
|
|
|
|
background-color: var(--pagination-active-hover-background);
|
|
|
|
color: var(--pagination-active-hover-text);
|
|
|
|
cursor: default;
|
2022-04-30 21:23:45 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.pagination .page-link:hover {
|
|
|
|
text-decoration: none;
|
2022-04-30 21:23:45 -05:00
|
|
|
}
|
2023-03-24 08:49:02 -05:00
|
|
|
|
|
|
|
.pagination :not(li.disabled) > .page-link:hover {
|
2023-01-22 16:31:08 -06:00
|
|
|
background-color: var(--background-3);
|
2022-05-08 15:21:41 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.pagination li.disabled {
|
|
|
|
opacity: .5;
|
2022-04-30 21:23:45 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.pagination li.disabled > .page-link:hover {
|
|
|
|
cursor: not-allowed;
|
2022-05-02 21:33:13 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
2022-04-30 21:23:45 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* List layout {{{ */
|
2022-05-21 23:20:22 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* flexbox container for sections and main page list */
|
|
|
|
.list-page-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 40px;
|
2022-05-03 22:09:18 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.page-list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
gap: 40px;
|
2023-04-10 15:08:33 -05:00
|
|
|
margin-top: 16px;
|
2022-05-03 22:09:18 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.page-list > .page {
|
|
|
|
padding: 24px;
|
|
|
|
border-radius: 12px;
|
|
|
|
background-color: var(--background-1);
|
|
|
|
color: var(--text-1);
|
|
|
|
}
|
2022-05-03 22:09:18 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.page > .page-title {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2022-05-21 23:20:22 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* hugo just can't handle this feature
|
|
|
|
.post-series-position {
|
|
|
|
position: relative;
|
2021-11-22 20:49:11 -06:00
|
|
|
float: right;
|
2023-03-24 08:49:02 -05:00
|
|
|
opacity: .75;
|
2021-11-22 20:49:11 -06:00
|
|
|
}
|
2023-03-24 08:49:02 -05:00
|
|
|
*/
|
2021-11-22 20:49:11 -06:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.page-title {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2021-10-03 19:31:56 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.page-title h1 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2021-10-03 19:31:56 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.page-metadata {
|
|
|
|
margin-bottom: 24px;
|
2021-10-11 21:26:23 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.page-metadata-item {
|
|
|
|
margin-right: 10px;
|
|
|
|
display: inline-block;
|
2021-11-01 20:29:28 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.page-metadata-section {
|
|
|
|
margin-top: 10px;
|
2021-11-04 21:04:27 -05:00
|
|
|
}
|
2021-11-01 20:29:28 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.post-media {
|
|
|
|
margin-top: 15px;
|
2021-11-01 20:29:28 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.page-description {
|
|
|
|
margin-top: 10px;
|
2022-05-14 23:19:52 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.readmore {
|
|
|
|
margin-top: 5px;
|
2021-10-02 16:22:52 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
|
|
|
|
|
|
|
/* Taxonomy list layout {{{ */
|
|
|
|
|
|
|
|
.taxonomy-list a,
|
|
|
|
.taxonomy-list .taxonomy-metadata {
|
2021-11-07 19:55:17 -06:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.taxonomy-list p {
|
|
|
|
margin: 0;
|
2021-11-07 19:55:17 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.taxonomy-list {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.taxonomy-list .taxonomy-term {
|
2022-05-08 00:46:05 -05:00
|
|
|
background-color: var(--background-1);
|
2022-05-14 23:19:52 -05:00
|
|
|
color: var(--text-1);
|
2021-11-07 19:55:17 -06:00
|
|
|
padding: 8px 12px;
|
|
|
|
border-radius: 8px;
|
2023-03-24 08:49:02 -05:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.taxonomy-list-left {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
.taxonomy-list .taxonomy-term {
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.taxonomy-list-left {
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* }}} */
|
|
|
|
|
|
|
|
/* Series list layout {{{ */
|
|
|
|
|
|
|
|
.page-list.series {
|
|
|
|
display: flex;
|
|
|
|
gap: 80px;
|
|
|
|
flex-flow: row wrap;
|
2021-11-07 19:55:17 -06:00
|
|
|
list-style: none;
|
2023-03-24 08:49:02 -05:00
|
|
|
color: var(--text-0);
|
|
|
|
padding: 8px;
|
|
|
|
border-radius: 16px;
|
2021-11-07 19:55:17 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.page-list.series-inner {
|
|
|
|
gap: 10px;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
background-color: var(--background-0);
|
|
|
|
/*color: var(--text-0);*/
|
|
|
|
padding: 8px;
|
|
|
|
border-radius: 16px;
|
|
|
|
}
|
|
|
|
.page-list.series-inner > .page {
|
|
|
|
flex: 1;
|
|
|
|
min-width: 49%;
|
2021-11-19 17:22:25 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
|
|
|
|
|
|
|
/* Subsections on list pages {{{ */
|
|
|
|
|
|
|
|
.sections {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 10px;
|
2021-11-19 17:22:25 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.section {
|
|
|
|
background-color: var(--background-1);
|
|
|
|
color: var(--text-1);
|
|
|
|
border-radius: 12px;
|
|
|
|
padding: 1px 25px;
|
|
|
|
}
|
2021-09-29 21:33:23 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.section:hover {
|
|
|
|
background-color: var(--background-2);
|
|
|
|
color: var(--text-2);
|
|
|
|
}
|
2021-10-03 19:31:56 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.section-title {
|
|
|
|
margin: 10px 0;
|
2021-11-22 20:49:11 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.section-anchor {
|
|
|
|
color: inherit;
|
2021-11-22 20:49:11 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.section-anchor:hover {
|
|
|
|
text-decoration: none;
|
2021-09-29 21:33:23 -05:00
|
|
|
}
|
2021-10-02 16:22:52 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.section-description {
|
|
|
|
margin-bottom: 5px;
|
2022-05-04 18:45:02 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.view-section {
|
|
|
|
margin-top: 5px;
|
2022-04-04 21:47:26 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
|
|
|
|
|
|
|
|
|
|
|
/* Content (single) formatting {{{ */
|
|
|
|
|
|
|
|
.series-box {
|
|
|
|
background-color: var(--background-1);
|
|
|
|
color: var(--text-1);
|
|
|
|
padding: 8px 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin: 15px 0;
|
2022-04-09 19:54:42 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.table-of-contents {
|
|
|
|
background-color: var(--background-1);
|
|
|
|
color: var(--text-1);
|
|
|
|
padding: 8px 20px;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin: 10px 0;
|
2021-10-07 16:00:52 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.table-of-contents summary {
|
|
|
|
cursor: pointer;
|
2021-10-06 17:34:55 -05:00
|
|
|
}
|
|
|
|
|
2023-04-06 00:12:43 -05:00
|
|
|
.table-of-contents.print {
|
|
|
|
display: none;
|
|
|
|
padding: 8px 15px;
|
2021-11-10 21:41:15 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* Social media share buttons */
|
|
|
|
|
|
|
|
.share-buttons {
|
|
|
|
background: var(--background-1);
|
|
|
|
color: var(--text-1);
|
|
|
|
margin: 25px 0;
|
|
|
|
padding: 8px 0;
|
|
|
|
border-radius: 8px;
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
justify-content: center;
|
2021-10-19 13:57:39 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.share-buttons a {
|
|
|
|
background-color: var(--background-2);
|
|
|
|
color: var(--text-2);
|
|
|
|
padding: 4px;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
.share-buttons a:hover {
|
|
|
|
background-color: var(--background-3);
|
|
|
|
color: var(--text-3);
|
2021-10-19 12:40:34 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.share-buttons svg {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2021-10-02 16:22:52 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* https://stackoverflow.com/a/72073682/19003757 */
|
|
|
|
/*
|
|
|
|
.telegram-share > svg {
|
|
|
|
transform: scale(1.5);
|
|
|
|
margin: 9px -9px -9px 9px;
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* See also formating */
|
|
|
|
.see-also {
|
|
|
|
background-color: var(--background-1);
|
|
|
|
color: var(--text-1);
|
|
|
|
padding: 8px 12px;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin: 10px 0;
|
2021-09-30 09:54:30 -05:00
|
|
|
}
|
2021-10-02 16:22:52 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.see-also p {
|
|
|
|
margin: 0;
|
2021-10-08 21:54:21 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* Previous and next page buttons {{{ */
|
2021-10-03 18:48:11 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.prevnext {
|
|
|
|
display: flex;
|
|
|
|
margin: 20px 0;
|
2022-05-22 18:19:16 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.prevnext > * {
|
|
|
|
flex: 1;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
color: inherit;
|
|
|
|
background-color: var(--background-1);
|
|
|
|
color: var(--text-1);
|
|
|
|
padding: 8px 16px;
|
2022-04-23 17:54:05 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.prevnext > a:hover {
|
2022-05-08 00:46:05 -05:00
|
|
|
background-color: var(--background-2);
|
2022-05-14 23:19:52 -05:00
|
|
|
color: var(--text-2);
|
2023-03-24 08:49:02 -05:00
|
|
|
text-decoration: none;
|
2022-04-23 17:54:05 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.prevnext > .prev {
|
|
|
|
text-align: left;
|
|
|
|
border-top-left-radius: 8px;
|
|
|
|
border-bottom-left-radius: 8px;
|
2023-01-23 18:10:11 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.prevnext > .next {
|
|
|
|
text-align: right;
|
|
|
|
border-top-right-radius: 8px;
|
|
|
|
border-bottom-right-radius: 8px;
|
2022-04-23 17:54:05 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.prevnext .prev-caption,
|
|
|
|
.prevnext .next-caption {
|
|
|
|
opacity: 65%;
|
2022-05-21 20:56:26 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.prevnext .prev-post,
|
|
|
|
.prevnext .next-post {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2021-10-10 19:36:47 -05:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
2021-10-10 19:36:47 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* Code & code blocks {{{ */
|
2023-01-20 16:25:28 -06:00
|
|
|
.code-block {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-11-06 17:02:59 -05:00
|
|
|
margin: 16px 0;
|
2023-01-20 16:25:28 -06:00
|
|
|
background-color: var(--background-1);
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
2023-01-20 17:14:18 -06:00
|
|
|
.code-block > .code-header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
2023-01-20 16:25:28 -06:00
|
|
|
background-color: var(--background-2);
|
|
|
|
padding: 4px 8px;
|
|
|
|
border-top-left-radius: 8px;
|
|
|
|
border-top-right-radius: 8px;
|
2023-01-20 17:14:18 -06:00
|
|
|
}
|
|
|
|
.code-block > .code-header > .code-type {
|
|
|
|
border-top-left-radius: 8px;
|
|
|
|
margin: auto 0;
|
|
|
|
}
|
|
|
|
/* TODO: make the code copy button prettier */
|
2023-01-22 16:23:03 -06:00
|
|
|
.code-block > .code-header > .code-copy-button {
|
|
|
|
color: var(--link-1);
|
|
|
|
}
|
2023-01-20 17:14:18 -06:00
|
|
|
.code-block > .code-header > .code-copy-button:hover {
|
|
|
|
cursor: pointer;
|
2023-01-20 16:25:28 -06:00
|
|
|
}
|
|
|
|
.code-block > .highlight {
|
|
|
|
margin: 8px 4px;
|
2021-10-15 19:15:36 -05:00
|
|
|
}
|
|
|
|
|
2023-01-20 16:25:28 -06:00
|
|
|
.highlight > .chroma {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2022-07-02 19:01:01 -05:00
|
|
|
.chroma {
|
2023-01-20 16:25:28 -06:00
|
|
|
/* the syntax highlight CSS adds a border */
|
|
|
|
background-color: transparent !important;
|
|
|
|
margin: 0;
|
2022-07-02 19:01:01 -05:00
|
|
|
}
|
|
|
|
|
2022-07-19 00:09:16 -05:00
|
|
|
.chroma .gp {
|
|
|
|
/* Generic Prompt symbol */
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
}
|
|
|
|
|
2021-10-15 19:15:36 -05:00
|
|
|
:not(pre) > code {
|
2022-05-08 00:46:05 -05:00
|
|
|
background-color: var(--background-2);
|
2022-05-15 18:26:17 -05:00
|
|
|
/* Disable this because it overrides inline code blocks that are
|
|
|
|
* also links
|
2022-05-14 23:19:52 -05:00
|
|
|
color: var(--text-2);
|
2022-05-15 18:26:17 -05:00
|
|
|
*/
|
2021-10-09 22:17:24 -05:00
|
|
|
padding: 2px 4px;
|
2021-10-10 17:20:50 -05:00
|
|
|
overflow-wrap: break-word;
|
2021-10-09 22:17:24 -05:00
|
|
|
}
|
|
|
|
|
2023-01-22 20:46:18 -06:00
|
|
|
.code-block > .code-header > .code-type,
|
2021-10-15 19:15:36 -05:00
|
|
|
code {
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
2021-10-17 15:45:45 -05:00
|
|
|
.chroma .lnt {
|
|
|
|
display: block;
|
|
|
|
} /* fixes line numbers on firefox when there's only one line */
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
2021-10-03 19:31:56 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* Asides {{{ */
|
2021-10-03 19:31:56 -05:00
|
|
|
|
2022-05-14 00:13:01 -05:00
|
|
|
aside {
|
|
|
|
padding: 8px 16px;
|
|
|
|
margin: 16px 0;
|
|
|
|
border-radius: 8px;
|
2022-05-14 23:19:52 -05:00
|
|
|
color: var(--text-1);
|
2022-05-14 00:13:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.aside-title {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aside-content > :first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.aside-content > :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
aside.note {
|
2022-05-14 23:19:52 -05:00
|
|
|
background-color: var(--background-blue-1);
|
2022-05-14 00:13:01 -05:00
|
|
|
}
|
|
|
|
aside.info {
|
2022-05-14 23:19:52 -05:00
|
|
|
background-color: var(--background-green-1);
|
2022-05-14 00:13:01 -05:00
|
|
|
}
|
|
|
|
aside.tip {
|
2022-05-14 23:19:52 -05:00
|
|
|
background-color: var(--background-teal-1);
|
2022-05-14 00:13:01 -05:00
|
|
|
}
|
|
|
|
aside.warning {
|
2022-05-14 23:19:52 -05:00
|
|
|
background-color: var(--background-yellow-1);
|
2022-05-14 00:13:01 -05:00
|
|
|
}
|
|
|
|
aside.example {
|
2022-05-14 23:19:52 -05:00
|
|
|
background-color: var(--background-purple-1);
|
2022-05-14 00:13:01 -05:00
|
|
|
}
|
|
|
|
aside.quote {
|
|
|
|
background-color: var(--background-1);
|
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
2022-05-14 00:13:01 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
2022-05-14 00:13:01 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* Related posts section {{{ */
|
2021-11-02 17:22:29 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
.full-width-page-list {
|
|
|
|
/* make left/right 0 margin so it takes up full width */
|
|
|
|
margin: 25px 0;
|
2021-11-02 17:22:29 -05:00
|
|
|
}
|
|
|
|
|
2023-10-21 19:44:02 -05:00
|
|
|
.related-posts > hr,
|
|
|
|
.related-posts > h1 {
|
2023-03-24 08:49:02 -05:00
|
|
|
margin-left: 20px;
|
|
|
|
margin-right: 20px;
|
2021-10-02 19:26:33 -05:00
|
|
|
}
|
2021-10-20 14:00:40 -05:00
|
|
|
|
2023-10-21 19:44:02 -05:00
|
|
|
.related-posts .page {
|
2023-03-24 08:49:02 -05:00
|
|
|
min-width: 300px;
|
|
|
|
max-width: 300px;
|
2021-10-20 14:00:40 -05:00
|
|
|
|
2021-11-02 16:51:07 -05:00
|
|
|
}
|
|
|
|
|
2023-10-21 19:44:02 -05:00
|
|
|
.related-posts .page:first-child {
|
2023-03-24 08:49:02 -05:00
|
|
|
margin-left: 20px;
|
2021-11-02 16:51:07 -05:00
|
|
|
}
|
2023-10-21 19:44:02 -05:00
|
|
|
.related-posts .page:last-child {
|
2023-03-24 08:49:02 -05:00
|
|
|
margin-right: 20px;
|
2021-11-02 16:51:07 -05:00
|
|
|
}
|
|
|
|
|
2023-10-21 19:44:02 -05:00
|
|
|
.related-posts .page-list {
|
2021-11-14 00:41:49 -06:00
|
|
|
display: flex;
|
2023-03-24 08:49:02 -05:00
|
|
|
flex-direction: row;
|
|
|
|
gap: 20px;
|
|
|
|
overflow-x: scroll;
|
2021-11-18 17:26:02 -06:00
|
|
|
}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
/* }}} */
|
2023-04-06 00:12:43 -05:00
|
|
|
|
|
|
|
|
|
|
|
/* @media specializations {{{ */
|
|
|
|
|
|
|
|
/* Light mode */
|
|
|
|
@media print,
|
|
|
|
(prefers-color-scheme: light) {
|
|
|
|
li.disabled {
|
|
|
|
opacity: .25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Print compatibility {{{ */
|
|
|
|
@media print {
|
2023-10-15 01:22:04 -05:00
|
|
|
.top > .navbar,
|
2023-04-06 00:12:43 -05:00
|
|
|
.section-header-link,
|
|
|
|
.post-meta-edit-history,
|
|
|
|
.prevnext,
|
|
|
|
.share-buttons,
|
2023-10-21 19:44:02 -05:00
|
|
|
.related-posts {
|
2023-04-06 00:12:43 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
-webkit-print-color-adjust: exact !important;
|
|
|
|
color-adjust: exact !important;
|
|
|
|
}
|
|
|
|
|
2023-10-15 20:54:11 -05:00
|
|
|
.top {
|
|
|
|
background-color: unset;
|
|
|
|
}
|
|
|
|
.top > .header {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2023-10-21 19:44:02 -05:00
|
|
|
.main-container {
|
2023-04-06 00:12:43 -05:00
|
|
|
max-width: 100%;
|
2023-10-15 20:54:11 -05:00
|
|
|
margin: 8px 0;
|
2023-11-02 01:01:24 -05:00
|
|
|
padding: 0;
|
2023-10-15 20:54:11 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb {
|
|
|
|
margin: 8px 0;
|
2023-04-06 00:12:43 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
table,
|
|
|
|
aside,
|
|
|
|
.code-block {
|
|
|
|
break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-of-contents {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-of-contents.print {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#back-to-top {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* }}} */
|
|
|
|
|
|
|
|
/* }}} */
|