2021-10-08 19:46:45 -05:00
|
|
|
/* bobatheme is available under the MIT license at
|
|
|
|
* https://github.com/BBaoVanC/bobatheme.
|
|
|
|
*/
|
|
|
|
|
2021-11-22 16:46:58 -06:00
|
|
|
:root {
|
|
|
|
--background: #111;
|
|
|
|
--background-2: #222;
|
|
|
|
--background-3: #282828;
|
|
|
|
--background-4: #333;
|
|
|
|
--background-5: #444;
|
2022-04-23 22:47:42 -05:00
|
|
|
--background-accent: #111d2f;
|
2021-11-22 16:46:58 -06:00
|
|
|
--text-normal: #d3d3d3;
|
|
|
|
--link-color: #4da6ff;
|
|
|
|
--figure-border: #1b5b9b;
|
|
|
|
|
|
|
|
--pagination-active-hover-text: black;
|
|
|
|
--pagination-active-background: #163b64;
|
|
|
|
--pagination-active-hover-background: #286ab2;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root {
|
|
|
|
--background: #eee;
|
|
|
|
--background-2: #ddd;
|
|
|
|
--background-3: #d8d8d8;
|
|
|
|
--background-4: #bbb;
|
|
|
|
--background-5: #aaa;
|
2022-04-23 22:47:42 -05:00
|
|
|
--background-accent: #aec9ee;
|
2021-11-22 16:46:58 -06:00
|
|
|
--text-normal: #000;
|
|
|
|
--link-color: #0057bf;
|
|
|
|
--figure-border: #2e7bc9;
|
|
|
|
|
|
|
|
--pagination-active-hover-text: white;
|
|
|
|
--pagination-active-background: #3977bd;
|
|
|
|
--pagination-active-hover-background: #154172;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
:root {
|
|
|
|
--background: #fff;
|
|
|
|
--background-2: #ddd;
|
|
|
|
--background-3: #d8d8d8;
|
|
|
|
--background-4: #bbb;
|
|
|
|
--background-5: #aaa;
|
|
|
|
--text-normal: #000;
|
|
|
|
--link-color: #0057bf;
|
|
|
|
--figure-border: #2e7bc9;
|
|
|
|
|
|
|
|
--pagination-active-hover-text: white;
|
|
|
|
--pagination-active-background: #3977bd;
|
|
|
|
--pagination-active-hover-background: #154172;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-08 19:46:45 -05:00
|
|
|
|
2022-04-04 21:47:26 -05:00
|
|
|
|
2021-10-03 19:31:56 -05:00
|
|
|
/* Post layout (in list pages) */
|
2021-11-13 17:23:30 -06:00
|
|
|
.list-page-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 40px;
|
|
|
|
}
|
|
|
|
|
2021-11-13 17:04:10 -06:00
|
|
|
.page-list ul,
|
|
|
|
.series-taxonomy ul {
|
2021-11-13 17:23:30 -06:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-11-12 20:25:47 -06:00
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
2022-04-10 03:08:22 -05:00
|
|
|
gap: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.series-taxonomy ul {
|
2022-04-10 02:48:56 -05:00
|
|
|
gap: 80px;
|
2021-11-12 20:25:47 -06:00
|
|
|
}
|
|
|
|
|
2021-11-13 17:04:10 -06:00
|
|
|
.page-list li,
|
2022-05-04 22:02:36 -05:00
|
|
|
.series-taxonomy li {
|
2021-11-12 20:25:47 -06:00
|
|
|
padding-top: 8px;
|
|
|
|
padding-left: 24px;
|
|
|
|
padding-right: 24px;
|
|
|
|
padding-bottom: 24px;
|
|
|
|
border-radius: 12px;
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-2);
|
2021-11-12 20:25:47 -06:00
|
|
|
}
|
|
|
|
|
2021-11-23 13:14:44 -06:00
|
|
|
.post-series-position {
|
|
|
|
position: relative;
|
|
|
|
float: right;
|
|
|
|
opacity: .75;
|
|
|
|
}
|
|
|
|
|
2022-04-23 17:09:13 -05:00
|
|
|
.post-title,
|
|
|
|
.author-name {
|
2021-10-02 16:22:52 -05:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2022-04-23 17:09:13 -05:00
|
|
|
.post-title a,
|
|
|
|
.author-name a {
|
2021-10-06 17:34:55 -05:00
|
|
|
color: inherit;
|
|
|
|
text-decoration: inherit;
|
|
|
|
}
|
|
|
|
|
2022-04-23 17:09:13 -05:00
|
|
|
.post-meta-item,
|
|
|
|
.author-meta-item {
|
2021-10-10 19:03:15 -05:00
|
|
|
margin-right: 10px;
|
2021-11-20 19:56:30 -06:00
|
|
|
display: inline-block;
|
2021-10-02 16:22:52 -05:00
|
|
|
}
|
|
|
|
|
2022-04-23 17:09:13 -05:00
|
|
|
.post-metadata,
|
|
|
|
.author-metadata {
|
2021-10-09 22:54:33 -05:00
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2022-05-06 20:16:41 -05:00
|
|
|
.categories,
|
2021-11-13 14:29:59 -06:00
|
|
|
.tags,
|
|
|
|
.series {
|
2021-10-23 23:24:05 -05:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
2021-10-08 22:52:58 -05:00
|
|
|
.post-media {
|
2021-10-07 16:52:47 -05:00
|
|
|
margin-top: 15px;
|
2021-10-03 19:31:56 -05:00
|
|
|
}
|
|
|
|
|
2022-04-23 17:09:13 -05:00
|
|
|
.post-description,
|
|
|
|
.author-description {
|
2021-10-09 22:33:18 -05:00
|
|
|
margin-top: 10px;
|
2021-10-09 18:08:27 -05:00
|
|
|
}
|
|
|
|
|
2021-10-09 22:33:18 -05:00
|
|
|
.readmore {
|
|
|
|
margin-top: 5px;
|
2021-10-06 17:00:34 -05:00
|
|
|
}
|
|
|
|
|
2021-10-03 19:31:56 -05:00
|
|
|
|
|
|
|
|
2022-05-06 20:16:41 -05:00
|
|
|
/* Category list format */
|
|
|
|
.category-list ul {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
list-style: none;
|
|
|
|
gap: 10px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-list li {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 20px;
|
|
|
|
background-color: var(--background-2);
|
|
|
|
padding: 8px 12px;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 360px) {
|
|
|
|
.category-list li {
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-list p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-22 15:20:20 -06:00
|
|
|
/* Tags list format */
|
|
|
|
.tag-list ul {
|
|
|
|
display: flex;
|
|
|
|
list-style: none;
|
|
|
|
gap: 10px;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-list a {
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-2);
|
2021-11-22 15:20:20 -06:00
|
|
|
padding: 8px 12px;
|
|
|
|
border-radius: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-list a:hover {
|
|
|
|
text-decoration: none;
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-4);
|
2021-11-22 15:20:20 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-13 17:04:10 -06:00
|
|
|
/* Series list format */
|
|
|
|
.series-pages ul {
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
list-style: none;
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background);
|
2021-11-13 17:04:10 -06:00
|
|
|
padding: 8px;
|
|
|
|
border-radius: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.series-pages li {
|
|
|
|
flex: 1;
|
2021-11-21 19:34:56 -06:00
|
|
|
min-width: 49%;
|
2021-11-13 17:04:10 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-01 17:38:44 -05:00
|
|
|
/* Subsection formatting */
|
2021-11-13 17:23:30 -06:00
|
|
|
.sections {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 40px;
|
|
|
|
}
|
|
|
|
|
2021-11-01 17:38:44 -05:00
|
|
|
.section {
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-2);
|
2021-11-12 20:25:47 -06:00
|
|
|
border-radius: 12px;
|
2021-11-01 17:38:44 -05:00
|
|
|
padding: 1px 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section:hover {
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-4);
|
2021-11-01 17:38:44 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.section-title {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-anchor {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-anchor:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-description {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-section {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-10-03 19:31:56 -05:00
|
|
|
/* Header formatting (website title and article section headers) */
|
2021-11-13 14:29:59 -06:00
|
|
|
.header a,
|
|
|
|
.section-header a {
|
2021-10-03 19:31:56 -05:00
|
|
|
color: inherit;
|
2021-09-25 20:52:01 -05:00
|
|
|
}
|
2021-09-30 09:54:30 -05:00
|
|
|
|
2021-10-10 15:14:36 -05:00
|
|
|
.section-header-link svg {
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
2021-10-10 15:02:20 -05:00
|
|
|
}
|
|
|
|
|
2021-09-30 09:54:30 -05:00
|
|
|
|
|
|
|
|
2021-10-03 19:31:56 -05:00
|
|
|
/* Content formatting */
|
2021-11-13 23:31:20 -06:00
|
|
|
.series-box {
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-2);
|
2021-11-14 17:16:25 -06:00
|
|
|
padding: 8px 16px;
|
2021-11-13 23:31:20 -06:00
|
|
|
border-radius: 8px;
|
2021-11-14 17:16:25 -06:00
|
|
|
margin: 15px 0;
|
2021-11-13 23:31:20 -06:00
|
|
|
}
|
|
|
|
|
2021-11-18 17:47:31 -06:00
|
|
|
.table-of-contents {
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-2);
|
2021-10-26 20:50:45 -05:00
|
|
|
padding: 8px 20px;
|
2021-11-13 23:31:20 -06:00
|
|
|
border-radius: 8px;
|
2021-11-18 17:47:31 -06:00
|
|
|
margin: 10px 0;
|
2021-10-26 20:50:45 -05:00
|
|
|
}
|
|
|
|
|
2021-11-18 17:47:31 -06:00
|
|
|
.table-of-contents summary {
|
2021-10-26 20:50:45 -05:00
|
|
|
cursor: pointer;
|
2021-10-08 20:44:19 -05:00
|
|
|
}
|
|
|
|
|
2021-11-18 17:47:31 -06:00
|
|
|
.table-of-contents.print {
|
|
|
|
display: none;
|
|
|
|
padding: 8px 15px;
|
|
|
|
}
|
|
|
|
|
2022-04-10 15:42:58 -05:00
|
|
|
|
|
|
|
/* Related posts */
|
2022-05-04 22:02:36 -05:00
|
|
|
.full-width-page-list {
|
2022-05-04 18:45:02 -05:00
|
|
|
/* make left/right 0 margin so it takes up full width */
|
2022-04-11 21:08:39 -05:00
|
|
|
margin: 25px 0;
|
2022-04-10 15:42:58 -05:00
|
|
|
}
|
|
|
|
|
2022-05-04 22:02:36 -05:00
|
|
|
.full-width-page-list > hr,
|
|
|
|
.full-width-page-list > h1 {
|
2022-05-04 18:45:02 -05:00
|
|
|
margin-left: 20px;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
2022-05-04 22:02:36 -05:00
|
|
|
.full-width-page-list li {
|
2022-05-04 18:45:02 -05:00
|
|
|
min-width: 300px;
|
|
|
|
max-width: 300px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2022-05-04 22:02:36 -05:00
|
|
|
.full-width-page-list li:first-child {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
.full-width-page-list li:last-child {
|
2022-05-04 18:45:02 -05:00
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 720px) {
|
|
|
|
/* when the screen is smaller than max size, make sure that the .related div
|
|
|
|
* still reaches the screen edge. then if the posts overflow and require
|
|
|
|
* scrolling, you can see it cut off on the side of your phone screen
|
|
|
|
*/
|
2022-05-04 22:02:36 -05:00
|
|
|
.full-width-page-list {
|
2022-05-04 18:45:02 -05:00
|
|
|
margin-left: -20px;
|
|
|
|
margin-right: -20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-10 15:42:58 -05:00
|
|
|
@media (min-width: 720px) {
|
2022-05-04 22:02:36 -05:00
|
|
|
.full-width-page-list {
|
2022-05-04 18:45:02 -05:00
|
|
|
/* this makes it full width -- 720px max-width on body it is exactly 720px
|
|
|
|
* so .related takes up full width
|
|
|
|
*/
|
|
|
|
margin-left: calc(-100vw / 2 + 720px / 2);
|
|
|
|
margin-right: calc(-100vw / 2 + 720px / 2);
|
2022-04-10 15:42:58 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-04 22:02:36 -05:00
|
|
|
.full-width-page-list .page-list ul {
|
2022-05-04 18:45:02 -05:00
|
|
|
display: flex;
|
2022-05-04 22:02:36 -05:00
|
|
|
flex-direction: row;
|
|
|
|
gap: 20px;
|
2022-05-04 18:45:02 -05:00
|
|
|
overflow-x: scroll;
|
2022-04-10 02:14:42 -05:00
|
|
|
}
|
|
|
|
|
2022-04-10 15:42:58 -05:00
|
|
|
|
2022-04-30 21:23:45 -05:00
|
|
|
/* Social media share buttons */
|
|
|
|
.share-buttons {
|
|
|
|
background: var(--background-2);
|
|
|
|
margin: 25px 0;
|
|
|
|
padding: 8px 0;
|
|
|
|
border-radius: 8px;
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.share-buttons a {
|
|
|
|
background-color: var(--background-4);
|
|
|
|
padding: 4px;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.share-buttons svg {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
2022-05-02 21:33:13 -05:00
|
|
|
/* https://stackoverflow.com/a/72073682/19003757 */
|
|
|
|
/*
|
|
|
|
.telegram-share > svg {
|
|
|
|
transform: scale(1.5);
|
|
|
|
margin: 9px -9px -9px 9px;
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
2022-04-30 21:23:45 -05:00
|
|
|
|
2022-05-03 22:09:18 -05:00
|
|
|
/* See also formating */
|
|
|
|
.see-also {
|
|
|
|
background-color: var(--background-2);
|
|
|
|
padding: 8px 12px;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.see-also p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-04-10 15:42:58 -05:00
|
|
|
/* Back to top */
|
2021-11-22 20:49:11 -06:00
|
|
|
#back-to-top {
|
|
|
|
position: fixed;
|
|
|
|
float: right;
|
|
|
|
bottom: 25px;
|
|
|
|
right: 25px;
|
|
|
|
background-color: var(--background-3);
|
|
|
|
border-radius: 100%;
|
|
|
|
padding: 12px;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-10-03 19:31:56 -05:00
|
|
|
|
|
|
|
|
|
|
|
/* Navbar formatting */
|
2021-11-04 21:04:27 -05:00
|
|
|
.topbar {
|
2021-11-01 20:29:28 -05:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
flex-direction: row;
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-2);
|
2021-11-01 20:29:28 -05:00
|
|
|
border-radius: 8px;
|
|
|
|
margin-top: 5px;
|
2021-11-02 15:51:24 -05:00
|
|
|
padding: 4px;
|
2021-11-01 20:29:28 -05:00
|
|
|
align-items: flex-start;
|
2021-10-11 21:26:23 -05:00
|
|
|
}
|
|
|
|
|
2021-11-07 19:55:17 -06:00
|
|
|
.navbar {
|
2021-11-04 21:04:27 -05:00
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow: auto;
|
2021-11-01 20:29:28 -05:00
|
|
|
}
|
|
|
|
|
2021-11-07 19:55:17 -06:00
|
|
|
.navbar a {
|
2021-11-04 21:04:27 -05:00
|
|
|
padding: 8px 12px;
|
|
|
|
border-radius: 12px;
|
2022-05-06 20:19:45 -05:00
|
|
|
white-space: nowrap;
|
2021-11-04 21:04:27 -05:00
|
|
|
}
|
2021-11-01 20:29:28 -05:00
|
|
|
|
2021-11-13 14:29:59 -06:00
|
|
|
.navbar-item:hover,
|
|
|
|
.langpicker summary:hover,
|
|
|
|
.langpicker[open] summary {
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-5);
|
2021-11-01 20:29:28 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2021-11-04 21:04:27 -05:00
|
|
|
.topbar .active {
|
2021-11-01 20:29:28 -05:00
|
|
|
font-weight: bold;
|
2021-10-02 16:22:52 -05:00
|
|
|
}
|
|
|
|
|
2021-11-07 19:55:17 -06:00
|
|
|
.langpicker {
|
|
|
|
position: relative;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.langpicker summary {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-left: 24px;
|
|
|
|
padding: 8px 12px;
|
|
|
|
border-radius: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.langpicker .languages {
|
|
|
|
position: absolute;
|
|
|
|
margin-top: 8px;
|
|
|
|
right: 0;
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-2);
|
|
|
|
border: 2px solid var(--background-4);
|
2021-11-07 19:55:17 -06:00
|
|
|
padding: 8px 12px;
|
|
|
|
border-radius: 8px;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
2021-11-19 17:22:25 -06:00
|
|
|
.langpicker .unavailable {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.langpicker .unavailable:hover {
|
|
|
|
cursor: not-allowed;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2021-09-29 21:33:23 -05:00
|
|
|
|
2021-10-03 19:31:56 -05:00
|
|
|
|
|
|
|
/* Basic elements */
|
2021-11-22 20:49:11 -06:00
|
|
|
html {
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (prefers-reduced-motion: reduce) {
|
|
|
|
html {
|
|
|
|
scroll-behavior: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-30 09:54:30 -05:00
|
|
|
body {
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background);
|
|
|
|
color: var(--text-normal);
|
2021-10-04 21:06:08 -05:00
|
|
|
font-family: "Open Sans", "Noto Sans", sans-serif;
|
2022-05-04 18:45:02 -05:00
|
|
|
margin: 20px;
|
2021-10-03 19:31:56 -05:00
|
|
|
max-width: 720px;
|
2021-10-17 00:10:03 -05:00
|
|
|
overflow-wrap: break-word;
|
2021-09-29 21:33:23 -05:00
|
|
|
}
|
2021-10-02 16:22:52 -05:00
|
|
|
|
2022-05-04 18:45:02 -05:00
|
|
|
@media (min-width: 760px) {
|
|
|
|
body {
|
|
|
|
margin: 20px auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-04 21:47:26 -05:00
|
|
|
footer {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2022-04-09 19:54:42 -05:00
|
|
|
footer p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2021-11-13 14:29:59 -06:00
|
|
|
img,
|
|
|
|
video {
|
2021-10-07 16:00:52 -05:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-11-10 21:41:15 -06:00
|
|
|
.post-media > figure.border img,
|
|
|
|
.post-media > figure.border video {
|
2021-10-06 17:34:55 -05:00
|
|
|
padding: 5px;
|
2021-11-22 16:46:58 -06:00
|
|
|
border: 7px solid var(--figure-border);
|
2021-10-06 17:34:55 -05:00
|
|
|
}
|
|
|
|
|
2021-11-10 21:41:15 -06:00
|
|
|
figure.border img,
|
|
|
|
figure.border video {
|
|
|
|
padding: 5px;
|
2021-11-22 16:46:58 -06:00
|
|
|
border: 2px solid var(--figure-border);
|
2021-11-10 21:41:15 -06:00
|
|
|
}
|
|
|
|
|
2021-10-19 13:57:39 -05:00
|
|
|
figure {
|
|
|
|
margin: auto;
|
2021-11-06 21:55:23 -05:00
|
|
|
display: inline-block;
|
2021-10-19 13:57:39 -05:00
|
|
|
}
|
|
|
|
|
2021-10-19 12:40:34 -05:00
|
|
|
figcaption {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: small;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2021-11-06 17:02:59 -05:00
|
|
|
aside {
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-2);
|
2021-11-06 17:02:59 -05:00
|
|
|
padding: 12px 16px;
|
|
|
|
margin: 16px 0;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
2021-09-30 09:54:30 -05:00
|
|
|
a {
|
2021-11-22 16:46:58 -06:00
|
|
|
color: var(--link-color);
|
2021-10-02 16:22:52 -05:00
|
|
|
text-decoration: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
2021-09-30 09:54:30 -05:00
|
|
|
}
|
2021-10-02 16:22:52 -05:00
|
|
|
|
2021-09-30 09:54:30 -05:00
|
|
|
blockquote {
|
2021-11-22 16:46:58 -06:00
|
|
|
border-left: 5px solid var(--background-4);
|
2021-10-08 21:54:21 -05:00
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
|
2021-10-03 18:48:11 -05:00
|
|
|
hr {
|
2021-11-22 16:46:58 -06:00
|
|
|
border-color: var(--background-5);
|
2021-10-03 18:48:11 -05:00
|
|
|
}
|
|
|
|
|
2022-04-23 17:54:05 -05:00
|
|
|
table.markdown {
|
|
|
|
border-collapse: collapse;
|
|
|
|
border: 2px solid var(--text-normal);
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown thead {
|
|
|
|
background-color: var(--background-4);
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown th,
|
|
|
|
.markdown td {
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown tbody tr:nth-child(odd) {
|
|
|
|
background-color: var(--background);
|
|
|
|
}
|
|
|
|
.markdown tbody tr:nth-child(even) {
|
|
|
|
background-color: var(--background-2);
|
|
|
|
}
|
|
|
|
|
2021-10-10 19:36:47 -05:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Code blocks */
|
2021-11-06 17:02:59 -05:00
|
|
|
.highlight {
|
|
|
|
margin: 16px 0;
|
|
|
|
}
|
|
|
|
|
2021-10-15 19:15:36 -05:00
|
|
|
.highlight > pre {
|
|
|
|
padding: 12px 8px;
|
2021-10-17 00:13:18 -05:00
|
|
|
overflow: auto;
|
2021-10-15 19:15:36 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
:not(pre) > code {
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-3);
|
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
|
|
|
}
|
|
|
|
|
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 */
|
|
|
|
|
2021-10-03 19:31:56 -05:00
|
|
|
|
|
|
|
|
2021-10-05 19:12:10 -05:00
|
|
|
/* Icons */
|
|
|
|
.icon {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2021-11-22 16:46:58 -06:00
|
|
|
color: var(--text-normal);
|
2021-10-05 19:12:10 -05:00
|
|
|
text-align: center;
|
|
|
|
display: inline;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2021-10-09 22:38:31 -05:00
|
|
|
h1 svg.icon {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
2021-10-05 19:12:10 -05:00
|
|
|
|
|
|
|
|
2021-10-02 19:26:33 -05:00
|
|
|
/* Pagination */
|
|
|
|
.pagination {
|
|
|
|
list-style: none;
|
|
|
|
text-align: center;
|
2021-11-20 22:05:33 -06:00
|
|
|
padding: 0;
|
2021-10-02 19:26:33 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-item {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-link {
|
|
|
|
padding: 8px 16px;
|
|
|
|
border-radius: 5px;
|
2021-11-22 16:46:58 -06:00
|
|
|
color: var(--text-normal);
|
2021-10-02 19:26:33 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-item.active .page-link {
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--pagination-active-background);
|
2021-10-02 19:26:33 -05:00
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-item.active .page-link:hover {
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--pagination-active-hover-background);
|
|
|
|
color: var(--pagination-active-hover-text);
|
2021-10-02 19:26:33 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-link:hover {
|
2021-11-02 17:22:29 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
:not(li.disabled) > .page-link:hover {
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-5);
|
2021-11-02 17:22:29 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
li.disabled {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
li.disabled > .page-link:hover {
|
|
|
|
cursor: not-allowed;
|
2021-10-02 19:26:33 -05:00
|
|
|
}
|
2021-10-20 14:00:40 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-02 16:51:07 -05:00
|
|
|
/* Breadcrumb navigation */
|
|
|
|
.breadcrumb {
|
2022-04-04 21:47:26 -05:00
|
|
|
margin: 30px 0 20px;
|
2021-11-02 16:51:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb ul {
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb li+li:before {
|
|
|
|
content: "»"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-14 00:41:49 -06:00
|
|
|
/* Previous and next page */
|
|
|
|
.prevnext {
|
|
|
|
display: flex;
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prevnext > * {
|
|
|
|
flex: 1;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
color: inherit;
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-2);
|
2021-11-14 00:41:49 -06:00
|
|
|
padding: 8px 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prevnext > a:hover {
|
2021-11-22 16:46:58 -06:00
|
|
|
background-color: var(--background-4);
|
2021-11-14 00:41:49 -06:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prevnext > .prev {
|
|
|
|
text-align: left;
|
|
|
|
border-top-left-radius: 8px;
|
|
|
|
border-bottom-left-radius: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prevnext > .next {
|
|
|
|
text-align: right;
|
|
|
|
border-top-right-radius: 8px;
|
|
|
|
border-bottom-right-radius: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prevnext .prev-caption,
|
|
|
|
.prevnext .next-caption {
|
|
|
|
opacity: 65%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prevnext .prev-post,
|
|
|
|
.prevnext .next-post {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-18 17:26:02 -06:00
|
|
|
/* Light mode */
|
2022-04-23 17:09:13 -05:00
|
|
|
@media print,
|
|
|
|
(prefers-color-scheme: light) {
|
2021-11-18 17:26:02 -06:00
|
|
|
/* Basic elements */
|
|
|
|
.section:hover {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
li.disabled {
|
|
|
|
opacity: .25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Print compatibility */
|
|
|
|
@media print {
|
|
|
|
.top,
|
2021-11-19 16:26:51 -06:00
|
|
|
.breadcrumb,
|
2021-11-18 17:26:02 -06:00
|
|
|
.section-header-link,
|
|
|
|
.prevnext,
|
|
|
|
.comments {
|
|
|
|
display: none;
|
2021-10-20 14:00:40 -05:00
|
|
|
}
|
|
|
|
|
2021-11-18 17:47:31 -06:00
|
|
|
* {
|
2021-11-19 16:13:38 -06:00
|
|
|
-webkit-print-color-adjust: exact !important;
|
|
|
|
color-adjust: exact !important;
|
2021-11-18 17:47:31 -06:00
|
|
|
}
|
|
|
|
|
2021-10-20 14:00:40 -05:00
|
|
|
body {
|
2021-11-21 00:04:29 -06:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
overflow-wrap: anywhere;
|
2021-11-25 23:56:10 -06:00
|
|
|
break-inside: avoid;
|
2021-10-20 14:00:40 -05:00
|
|
|
}
|
2021-11-18 17:47:31 -06:00
|
|
|
|
|
|
|
.table-of-contents {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-of-contents.print {
|
|
|
|
display: block;
|
|
|
|
}
|
2021-11-23 14:37:29 -06:00
|
|
|
|
|
|
|
#back-to-top {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2021-10-20 14:00:40 -05:00
|
|
|
}
|