2020-01-12 07:51:51 +01:00
|
|
|
/* Basic */
|
2024-03-06 06:34:22 +01:00
|
|
|
|
|
|
|
:root {
|
|
|
|
--card-border-radius: 0.5em;
|
|
|
|
--card-margin: 1.5em;
|
2024-03-08 04:20:33 +01:00
|
|
|
--icon-margin-left: 1em;
|
|
|
|
--icon-margin-top: 1em;
|
2024-03-06 06:34:22 +01:00
|
|
|
}
|
|
|
|
|
2020-01-12 07:51:51 +01:00
|
|
|
html {
|
2020-07-24 18:38:58 +02:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
2020-01-12 07:51:51 +01:00
|
|
|
/* 1 */
|
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
|
/* 2 */
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
/* 2 */
|
2024-03-04 12:40:35 +01:00
|
|
|
scroll-behavior: smooth;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 1.5;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
2020-07-09 21:15:38 +02:00
|
|
|
color: var(--font-color);
|
|
|
|
background: var(--bg-color);
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
article,
|
|
|
|
aside,
|
|
|
|
details,
|
|
|
|
figcaption,
|
|
|
|
figure,
|
|
|
|
footer,
|
|
|
|
header,
|
|
|
|
hgroup,
|
|
|
|
main,
|
|
|
|
menu,
|
|
|
|
nav,
|
2021-06-10 13:45:27 +02:00
|
|
|
section {
|
2020-01-12 07:51:51 +01:00
|
|
|
display: block;
|
2022-06-07 16:49:23 +02:00
|
|
|
}
|
2020-01-12 07:51:51 +01:00
|
|
|
|
|
|
|
.container {
|
|
|
|
max-width: 42em;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2020-04-26 14:18:55 +02:00
|
|
|
main {
|
2024-04-09 10:39:38 +02:00
|
|
|
outline: none;
|
2020-04-26 14:18:55 +02:00
|
|
|
}
|
|
|
|
|
2024-03-04 12:15:27 +01:00
|
|
|
/* Table of Contents */
|
|
|
|
|
|
|
|
.toc {
|
2024-03-04 12:44:29 +01:00
|
|
|
cursor: zoom-in;
|
2024-03-04 12:15:27 +01:00
|
|
|
display: block;
|
2024-04-09 10:39:38 +02:00
|
|
|
|
2024-03-04 12:15:27 +01:00
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 1em;
|
2024-04-09 10:39:38 +02:00
|
|
|
padding: 0.5em 1em;
|
|
|
|
/* top & bottom, left & right */
|
|
|
|
|
2024-03-04 12:15:27 +01:00
|
|
|
border: 1px solid var(--card-border-color);
|
|
|
|
border-radius: var(--card-border-radius);
|
|
|
|
background: var(--card-color);
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2024-03-04 12:44:29 +01:00
|
|
|
|
2024-03-04 12:15:27 +01:00
|
|
|
.toc.expanded {
|
|
|
|
cursor: zoom-out;
|
2024-03-04 12:44:29 +01:00
|
|
|
}
|
2024-03-04 12:15:27 +01:00
|
|
|
|
|
|
|
.toc .inner {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
2020-02-15 20:55:12 +01:00
|
|
|
/* Headers */
|
|
|
|
h1 {
|
|
|
|
font-size: 1.35em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1.2em;
|
2024-03-04 07:51:17 +01:00
|
|
|
margin-top: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2:first-of-type {
|
|
|
|
margin-top: 0;
|
2020-02-15 20:55:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
|
|
|
|
2020-01-12 07:51:51 +01:00
|
|
|
/* Links */
|
|
|
|
|
|
|
|
a {
|
2020-07-09 21:15:38 +02:00
|
|
|
color: var(--link-color);
|
2020-01-12 07:51:51 +01:00
|
|
|
text-decoration: none;
|
2021-12-07 17:57:05 +01:00
|
|
|
border-bottom: 1px solid transparent;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
2020-07-09 21:15:38 +02:00
|
|
|
a:hover,
|
|
|
|
a:focus,
|
|
|
|
a:active {
|
|
|
|
color: var(--link-state-color);
|
|
|
|
border-bottom: 1px solid var(--link-state-border-color);
|
|
|
|
}
|
|
|
|
|
2020-01-12 07:51:51 +01:00
|
|
|
a:active,
|
|
|
|
a:hover {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:active {
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
|
2020-04-26 14:18:55 +02:00
|
|
|
a.skip-main {
|
2024-04-09 10:39:38 +02:00
|
|
|
left: -999px;
|
|
|
|
position: absolute;
|
|
|
|
top: auto;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
z-index: -999;
|
2020-04-26 14:18:55 +02:00
|
|
|
}
|
|
|
|
|
2022-06-07 16:49:23 +02:00
|
|
|
a.skip-main:focus,
|
2020-04-26 14:18:55 +02:00
|
|
|
a.skip-main:active {
|
|
|
|
left: auto;
|
|
|
|
top: 0px;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
2024-04-09 10:39:38 +02:00
|
|
|
overflow: auto;
|
|
|
|
z-index: 999;
|
2020-04-26 14:18:55 +02:00
|
|
|
padding: 4px 6px 4px 6px;
|
|
|
|
text-decoration: underline;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2020-02-15 20:55:12 +01:00
|
|
|
/* Table */
|
2020-07-09 21:15:38 +02:00
|
|
|
thead {
|
|
|
|
background: var(--thead-bg-color);
|
|
|
|
}
|
|
|
|
|
2020-02-15 20:55:12 +01:00
|
|
|
.table-wrapper {
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
max-width: 100%;
|
|
|
|
border-spacing: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-04-09 10:39:38 +02:00
|
|
|
th,
|
|
|
|
td {
|
2020-02-15 20:55:12 +01:00
|
|
|
padding: 0.5em 1em;
|
2020-07-09 21:15:38 +02:00
|
|
|
border: 1px double var(--table-border-color);
|
2020-02-15 20:55:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Code */
|
2024-04-09 10:39:38 +02:00
|
|
|
mark {
|
|
|
|
border-radius: 4px;
|
2020-02-15 20:55:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
code,
|
|
|
|
pre,
|
|
|
|
kbd {
|
2021-11-16 07:48:49 +01:00
|
|
|
color: var(--pre-color);
|
|
|
|
background-color: var(--pre-bg-color);
|
2024-03-18 08:15:07 +01:00
|
|
|
font-family: 'Menlo', 'Courier New', 'Consolas', monospace;
|
2024-04-09 10:39:38 +02:00
|
|
|
font-size: 14.4px; /* 18px * 0.6 */
|
2020-02-15 20:55:12 +01:00
|
|
|
line-height: 154%;
|
2024-03-04 11:53:25 +01:00
|
|
|
border-radius: 6px;
|
|
|
|
border: 1px solid var(--pre-border-color);
|
2024-05-07 09:49:30 +02:00
|
|
|
overflow: scroll;
|
2024-04-09 10:39:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* <code> tag */
|
|
|
|
code {
|
|
|
|
font-size: 14.4px; /* 18px * 0.6 */
|
|
|
|
padding: 0.1em 0.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
padding: 0.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* <kbd> inside <p> */
|
|
|
|
/* <kbd> inside <pre> */
|
|
|
|
/* p kbd,
|
|
|
|
pre kbd {
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
} */
|
|
|
|
p kbd,
|
|
|
|
pre kbd,
|
|
|
|
p kbd kbd,
|
|
|
|
pre kbd kbd {
|
|
|
|
font-size: 14.4px; /* 18px * 0.6 */
|
|
|
|
background-color: var(--kbd-bg-color);
|
|
|
|
border: 1px solid var(--pre-border-color);
|
|
|
|
border-width: 1px 2px 2px 1px;
|
|
|
|
padding: 0.1em 0.3em;
|
|
|
|
margin-left: 0.2em;
|
|
|
|
margin-right: 0.2em;
|
2020-02-15 20:55:12 +01:00
|
|
|
}
|
|
|
|
|
2024-04-23 06:53:21 +02:00
|
|
|
p code,
|
|
|
|
p kbd {
|
|
|
|
padding: 0.1em 0.3em;
|
|
|
|
/* top, bottom */
|
2024-04-23 07:44:24 +02:00
|
|
|
/* margin-right: 4px; */
|
2024-04-23 06:53:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
td pre {
|
|
|
|
border: none;
|
|
|
|
/* padding: 0px; */
|
|
|
|
border-radius: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td:first-child pre {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
td:last-child pre {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
td pre code {
|
|
|
|
/* when there is a line number grid */
|
|
|
|
padding: 0px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
border-radius: 0px;
|
|
|
|
/* padding-top: 4px; */
|
|
|
|
/* padding-bottom: 4px; */
|
|
|
|
}
|
|
|
|
|
|
|
|
div.highlight {
|
|
|
|
border-radius: 6px;
|
|
|
|
border: 1px solid var(--pre-border-color);
|
|
|
|
margin-bottom: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.highlight pre {
|
|
|
|
border: none;
|
|
|
|
display: grid;
|
|
|
|
margin: 0px;
|
2024-04-23 07:00:52 +02:00
|
|
|
overflow: auto; /* Have to add this line, otherwise the "pre" and "code" will have different width */
|
2024-04-23 06:53:21 +02:00
|
|
|
/* padding-left: 10px; */
|
|
|
|
/* padding-right: 10px; */
|
|
|
|
/* padding-top: 10px; */
|
|
|
|
/* padding-bottom: 10px; */
|
|
|
|
}
|
|
|
|
|
|
|
|
div.highlight code {
|
|
|
|
padding-left: 0px;
|
|
|
|
padding-right: 0px;
|
2024-05-07 09:56:37 +02:00
|
|
|
overflow: unset;
|
2024-04-23 06:53:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
div.highlight code a:hover,
|
|
|
|
div.highlight code a:focus {
|
|
|
|
color: white;
|
|
|
|
border-bottom: 1px solid white;
|
|
|
|
/*for markup.highlight.anchorLineNos = true*/
|
|
|
|
}
|
|
|
|
|
|
|
|
pre code,
|
|
|
|
pre kbd {
|
2021-12-02 08:12:38 +01:00
|
|
|
color: inherit;
|
|
|
|
background-color: inherit;
|
2024-03-18 09:58:00 +01:00
|
|
|
border: none;
|
2024-04-09 10:39:38 +02:00
|
|
|
padding: 0em;
|
2021-12-02 08:12:38 +01:00
|
|
|
}
|
|
|
|
|
2020-01-12 07:51:51 +01:00
|
|
|
/* Styles */
|
|
|
|
|
|
|
|
blockquote {
|
2020-07-09 21:15:38 +02:00
|
|
|
border-left: 2px solid var(--bq-color);
|
2020-01-12 07:51:51 +01:00
|
|
|
padding: 0.1em 1em;
|
|
|
|
margin-left: 0.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2020-10-29 17:37:02 +01:00
|
|
|
color: var(--hr-color);
|
|
|
|
background-color: var(--hr-color);
|
|
|
|
border: none;
|
2020-01-12 07:51:51 +01:00
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Header */
|
|
|
|
|
2021-05-17 20:04:42 +02:00
|
|
|
.common-header {
|
|
|
|
padding-bottom: 1.5em;
|
2023-11-18 09:19:26 +01:00
|
|
|
/* border-bottom: thin solid var(--hr-color); */
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
2020-07-09 21:15:38 +02:00
|
|
|
header a {
|
|
|
|
color: var(--font-color);
|
|
|
|
}
|
|
|
|
|
2020-01-12 07:51:51 +01:00
|
|
|
header h1 {
|
|
|
|
font-size: 1em;
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
header h2 {
|
|
|
|
font-size: 1em;
|
|
|
|
margin: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2021-05-17 20:04:42 +02:00
|
|
|
.header-top {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
vertical-align: middle;
|
2024-01-08 17:45:37 +01:00
|
|
|
margin-top: 1em;
|
2021-05-17 20:04:42 +02:00
|
|
|
}
|
|
|
|
|
2024-03-04 08:17:16 +01:00
|
|
|
.header-top-left {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2021-05-17 20:04:42 +02:00
|
|
|
.site-title {
|
2024-01-08 17:45:37 +01:00
|
|
|
display: inline;
|
2021-05-17 20:04:42 +02:00
|
|
|
white-space: nowrap;
|
2024-03-04 07:53:05 +01:00
|
|
|
font-weight: 700;
|
2021-05-17 20:04:42 +02:00
|
|
|
}
|
|
|
|
|
2024-04-09 10:39:38 +02:00
|
|
|
header nav:not(:empty) {
|
2021-05-17 20:04:42 +02:00
|
|
|
background: var(--nav-bg-color);
|
2024-03-06 06:34:22 +01:00
|
|
|
margin-top: var(--card-margin);
|
2020-01-12 07:51:51 +01:00
|
|
|
max-width: 100%;
|
2021-05-17 20:04:42 +02:00
|
|
|
text-align: center;
|
|
|
|
padding: 0.5em 0;
|
2023-11-18 09:19:26 +01:00
|
|
|
border: 1px solid var(--card-border-color);
|
2024-03-04 12:15:27 +01:00
|
|
|
border-radius: var(--card-border-radius);
|
2024-03-06 06:34:22 +01:00
|
|
|
font-size: 14px;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
header nav a {
|
2021-05-17 20:04:42 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin: 0 2.5%;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
2021-05-17 20:04:42 +02:00
|
|
|
/* Social icons */
|
|
|
|
.social-icons {
|
2024-01-08 17:45:37 +01:00
|
|
|
display: inline;
|
2024-03-08 04:20:33 +01:00
|
|
|
margin: var(--icon-margin-top) 0 0 var(--icon-margin-left);
|
2021-05-17 20:04:42 +02:00
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
2021-05-17 20:04:42 +02:00
|
|
|
.social-icons li {
|
|
|
|
display: inline;
|
2020-02-02 16:01:10 +01:00
|
|
|
}
|
|
|
|
|
2021-05-17 20:04:42 +02:00
|
|
|
.social-icons li:not(:first-of-type) {
|
2024-03-08 04:20:33 +01:00
|
|
|
margin-left: var(--icon-margin-left);
|
2021-05-17 20:04:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.social-icons a:hover,
|
|
|
|
.social-icons a:focus,
|
|
|
|
.social-icons a:active {
|
|
|
|
color: inherit;
|
|
|
|
border-bottom: none;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-svg {
|
|
|
|
display: inline-block;
|
|
|
|
height: 1.15rem;
|
|
|
|
width: 1.15rem;
|
|
|
|
top: 0.15rem;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-01-12 07:51:51 +01:00
|
|
|
/* Pages */
|
|
|
|
main h1 {
|
|
|
|
margin-top: 1em;
|
2020-02-02 16:01:10 +01:00
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1.1em;
|
|
|
|
margin-bottom: 0.5em;
|
2020-02-15 19:48:51 +01:00
|
|
|
font-weight: 600;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
2023-11-18 09:19:26 +01:00
|
|
|
.post-card {
|
|
|
|
border: 1px solid var(--card-border-color) !important;
|
|
|
|
border-radius: 0.5em;
|
|
|
|
padding: 0em 1em 1em 1em;
|
|
|
|
background: var(--card-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
article:not(:last-of-type) {
|
2024-03-06 06:34:22 +01:00
|
|
|
margin-bottom: var(--card-margin);
|
2023-11-18 09:19:26 +01:00
|
|
|
}
|
|
|
|
|
2020-01-12 07:51:51 +01:00
|
|
|
.post-short-list:first-of-type {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2023-07-20 18:38:17 +02:00
|
|
|
.post-short-list img {
|
|
|
|
max-width: 100%;
|
|
|
|
display: block;
|
|
|
|
height: auto;
|
|
|
|
margin: 0 auto .5em;
|
|
|
|
}
|
|
|
|
|
2023-08-03 19:10:18 +02:00
|
|
|
.post-short-list video {
|
|
|
|
max-width: 100%;
|
|
|
|
display: block;
|
|
|
|
height: auto;
|
|
|
|
margin: 0 auto .5em;
|
|
|
|
}
|
|
|
|
|
2020-01-12 07:51:51 +01:00
|
|
|
/* Articles */
|
|
|
|
|
2021-12-19 12:10:10 +01:00
|
|
|
.post-header {
|
|
|
|
margin-top: 1em;
|
|
|
|
line-height: 1.1em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-header header {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2020-06-24 21:21:59 +02:00
|
|
|
.post-navigation {
|
2021-05-17 20:04:42 +02:00
|
|
|
background: var(--nav-bg-color);
|
2020-06-24 21:21:59 +02:00
|
|
|
text-align: center;
|
|
|
|
margin-top: 1em;
|
|
|
|
max-width: 100%;
|
|
|
|
padding: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-navigation a:first-of-type {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-navigation a {
|
2021-05-17 20:04:42 +02:00
|
|
|
color: var(--nav-link-color);
|
2020-06-24 21:21:59 +02:00
|
|
|
margin-left: 2em;
|
|
|
|
}
|
|
|
|
|
2022-06-07 16:49:23 +02:00
|
|
|
.post-navigation a:hover,
|
2020-07-09 21:15:38 +02:00
|
|
|
.post-navigation a:focus,
|
|
|
|
.post-navigation a:active {
|
|
|
|
color: var(--link-state-color);
|
|
|
|
}
|
|
|
|
|
2023-11-18 09:19:26 +01:00
|
|
|
.post-list {
|
|
|
|
border: #777;
|
|
|
|
}
|
|
|
|
|
2021-11-29 21:45:57 +01:00
|
|
|
.post-short-list .post-title {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2020-06-06 21:05:21 +02:00
|
|
|
.post-title.favorite::after {
|
2024-03-06 06:34:22 +01:00
|
|
|
content: "🌟";
|
2020-06-06 21:05:21 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin-left: 0.2em;
|
|
|
|
}
|
|
|
|
|
2020-06-21 22:02:58 +02:00
|
|
|
.post-title.draft::after {
|
2024-03-06 06:34:22 +01:00
|
|
|
content: "✏️";
|
2020-06-21 22:02:58 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin-left: 0.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-title.favorite.draft::after {
|
2024-03-06 06:34:22 +01:00
|
|
|
content: "🌟 ✏️";
|
2020-06-21 22:02:58 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin-left: 0.2em;
|
|
|
|
}
|
2020-01-12 07:51:51 +01:00
|
|
|
|
2023-11-18 09:19:26 +01:00
|
|
|
/* article:not(:last-of-type) {
|
2020-07-09 21:15:38 +02:00
|
|
|
border-bottom: thin solid var(--hr-color);
|
2020-01-12 07:51:51 +01:00
|
|
|
padding-bottom: 2em;
|
2023-11-18 09:19:26 +01:00
|
|
|
} */
|
2020-01-12 07:51:51 +01:00
|
|
|
|
|
|
|
article header h1 {
|
2020-02-15 19:48:51 +01:00
|
|
|
font-size: 1.35em;
|
2020-02-02 16:01:10 +01:00
|
|
|
line-height: 1.1em;
|
|
|
|
margin-bottom: 0.5em;
|
2020-02-15 19:48:51 +01:00
|
|
|
font-weight: 600;
|
2021-07-08 22:32:45 +02:00
|
|
|
display: inline;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
article header h1 a {
|
2020-07-09 21:15:38 +02:00
|
|
|
color: var(--font-color);
|
2020-01-12 07:51:51 +01:00
|
|
|
border: none;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2021-12-23 11:36:05 +01:00
|
|
|
.post h1,
|
|
|
|
.post h2,
|
|
|
|
.post h3,
|
|
|
|
.post h4,
|
|
|
|
.post h5,
|
|
|
|
.post h6 {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post h1 a,
|
|
|
|
.post h2 a,
|
|
|
|
.post h3 a,
|
|
|
|
.post h4 a,
|
|
|
|
.post h5 a,
|
|
|
|
.post h6 a {
|
2024-03-04 07:51:17 +01:00
|
|
|
opacity: 1;
|
|
|
|
border-bottom: none;
|
2021-12-23 11:36:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post h1:hover a,
|
|
|
|
.post h2:hover a,
|
|
|
|
.post h3:hover a,
|
|
|
|
.post h4:hover a,
|
|
|
|
.post h5:hover a,
|
|
|
|
.post h6:hover a {
|
|
|
|
opacity: 1;
|
2022-06-07 16:49:23 +02:00
|
|
|
border-bottom: none;
|
2022-01-12 20:31:44 +01:00
|
|
|
}
|
|
|
|
|
2022-06-07 16:49:23 +02:00
|
|
|
.post h1 a:hover,
|
2022-01-12 20:31:44 +01:00
|
|
|
.post h1 a:focus,
|
|
|
|
.post h1 a:active,
|
2022-06-07 16:49:23 +02:00
|
|
|
.post h2 a:hover,
|
2022-01-12 20:31:44 +01:00
|
|
|
.post h2 a:focus,
|
|
|
|
.post h2 a:active,
|
2022-06-07 16:49:23 +02:00
|
|
|
.post h3 a:hover,
|
2022-01-12 20:31:44 +01:00
|
|
|
.post h3 a:focus,
|
|
|
|
.post h3 a:active,
|
2022-06-07 16:49:23 +02:00
|
|
|
.post h4 a:hover,
|
2022-01-12 20:31:44 +01:00
|
|
|
.post h4 a:focus,
|
|
|
|
.post h4 a:active,
|
2022-06-07 16:49:23 +02:00
|
|
|
.post h5 a:hover,
|
2022-01-12 20:31:44 +01:00
|
|
|
.post h5 a:focus,
|
|
|
|
.post h5 a:active,
|
2022-06-07 16:49:23 +02:00
|
|
|
.post h6 a:hover,
|
2022-01-12 20:31:44 +01:00
|
|
|
.post h6 a:focus,
|
|
|
|
.post h6 a:active {
|
2022-06-07 16:49:23 +02:00
|
|
|
border-bottom: none;
|
2022-01-12 20:31:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post h1 svg,
|
|
|
|
.post h2 svg,
|
|
|
|
.post h3 svg,
|
|
|
|
.post h4 svg,
|
|
|
|
.post h5 svg,
|
|
|
|
.post h6 svg {
|
|
|
|
stroke: var(--svg-color);
|
|
|
|
}
|
|
|
|
|
2022-06-07 16:49:23 +02:00
|
|
|
.post h1 svg:hover,
|
2022-01-12 20:31:44 +01:00
|
|
|
.post h1 svg:focus,
|
|
|
|
.post h1 svg:active,
|
2022-06-07 16:49:23 +02:00
|
|
|
.post h2 svg:hover,
|
2022-01-12 20:31:44 +01:00
|
|
|
.post h2 svg:focus,
|
|
|
|
.post h2 svg:active,
|
2022-06-07 16:49:23 +02:00
|
|
|
.post h3 svg:hover,
|
2022-01-12 20:31:44 +01:00
|
|
|
.post h3 svg:focus,
|
|
|
|
.post h3 svg:active,
|
2022-06-07 16:49:23 +02:00
|
|
|
.post h4 svg:hover,
|
2022-01-12 20:31:44 +01:00
|
|
|
.post h4 svg:focus,
|
|
|
|
.post h4 svg:active,
|
2022-06-07 16:49:23 +02:00
|
|
|
.post h5 svg:hover,
|
2022-01-12 20:31:44 +01:00
|
|
|
.post h5 svg:focus,
|
|
|
|
.post h5 svg:active,
|
2022-06-07 16:49:23 +02:00
|
|
|
.post h6 svg:hover,
|
2022-01-12 20:31:44 +01:00
|
|
|
.post h6 svg:focus,
|
|
|
|
.post h6 svg:active {
|
|
|
|
stroke: var(--svg-state-color);
|
2021-12-23 11:36:05 +01:00
|
|
|
}
|
|
|
|
|
2024-03-04 08:05:53 +01:00
|
|
|
.post-list .post-info {
|
|
|
|
color: var(--post-info-color);
|
|
|
|
font-size: 0.75em;
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
display: block;
|
|
|
|
gap: 1em;
|
|
|
|
}
|
|
|
|
|
2020-06-06 21:05:21 +02:00
|
|
|
.post-info {
|
2020-07-09 21:15:38 +02:00
|
|
|
color: var(--post-info-color);
|
2020-01-12 07:51:51 +01:00
|
|
|
font-size: 0.75em;
|
2020-02-02 16:01:10 +01:00
|
|
|
margin-top: 1em;
|
2024-03-04 07:53:05 +01:00
|
|
|
margin-bottom: 1em;
|
2024-03-04 08:05:53 +01:00
|
|
|
display: flex;
|
|
|
|
gap: 1em;
|
2020-02-02 16:01:10 +01:00
|
|
|
}
|
|
|
|
|
2020-07-09 21:15:38 +02:00
|
|
|
.post-info a {
|
|
|
|
color: var(--post-info-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-info a:hover {
|
|
|
|
color: var(--link-state-color);
|
|
|
|
}
|
|
|
|
|
2020-06-06 21:05:21 +02:00
|
|
|
.post-short-list .post-info {
|
2020-02-02 16:01:10 +01:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 1.5em;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
2020-06-06 21:05:21 +02:00
|
|
|
.post-taxonomies {
|
2020-02-15 20:07:42 +01:00
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2021-01-20 20:12:50 +01:00
|
|
|
.post-hidden-url {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-hidden-author {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-06-06 21:05:21 +02:00
|
|
|
.post-date {
|
2020-02-02 16:01:10 +01:00
|
|
|
white-space: nowrap;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
2020-06-06 21:05:21 +02:00
|
|
|
.post-categories {
|
2020-01-27 20:38:45 +01:00
|
|
|
display: inline;
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2020-06-06 21:05:21 +02:00
|
|
|
.post-categories li {
|
2020-01-27 20:38:45 +01:00
|
|
|
display: inline;
|
2020-02-15 20:07:42 +01:00
|
|
|
margin-right: 1em;
|
2020-01-27 20:38:45 +01:00
|
|
|
}
|
|
|
|
|
2020-06-06 21:05:21 +02:00
|
|
|
.post-tags {
|
2020-02-15 20:07:42 +01:00
|
|
|
display: inline;
|
2020-01-12 07:51:51 +01:00
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2020-06-06 21:05:21 +02:00
|
|
|
.post-tags li {
|
2020-01-12 07:51:51 +01:00
|
|
|
display: inline;
|
2020-02-15 20:07:42 +01:00
|
|
|
margin-right: 1em;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
2023-02-16 04:27:56 +01:00
|
|
|
.post-authors {
|
|
|
|
display: inline;
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-authors li {
|
|
|
|
display: inline;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
2020-01-12 07:51:51 +01:00
|
|
|
article img {
|
|
|
|
max-width: 100%;
|
|
|
|
display: block;
|
|
|
|
height: auto;
|
|
|
|
margin: 0 auto .5em;
|
|
|
|
}
|
|
|
|
|
2020-06-12 14:31:45 +02:00
|
|
|
article figcaption {
|
2020-07-09 21:15:38 +02:00
|
|
|
color: grey;
|
2020-06-12 14:31:45 +02:00
|
|
|
text-align: center;
|
|
|
|
font-size: 0.85em;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
2023-08-03 18:36:21 +02:00
|
|
|
article video {
|
2024-04-09 10:39:38 +02:00
|
|
|
max-width: 100%;
|
|
|
|
display: block;
|
|
|
|
height: auto;
|
|
|
|
margin: 0 auto .5em;
|
2023-08-03 18:36:21 +02:00
|
|
|
}
|
|
|
|
|
2022-06-10 16:01:20 +02:00
|
|
|
code.has-jax {
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
background: inherit !important;
|
|
|
|
border: none !important;
|
|
|
|
font-size: 100%;
|
|
|
|
}
|
|
|
|
|
2020-01-12 07:51:51 +01:00
|
|
|
.read-more {
|
2020-08-12 21:25:08 +02:00
|
|
|
margin: 1em 0;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.divider {
|
2020-07-09 21:15:38 +02:00
|
|
|
border-top: thin solid var(--hr-color);
|
2020-01-12 07:51:51 +01:00
|
|
|
display: block;
|
|
|
|
height: 1px;
|
|
|
|
border: 0;
|
|
|
|
width: 25%;
|
|
|
|
margin: 1em auto;
|
|
|
|
}
|
|
|
|
|
2020-06-03 22:26:07 +02:00
|
|
|
.post-summary {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2024-04-09 10:39:38 +02:00
|
|
|
.post-summary>p {
|
2020-06-03 22:26:07 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2021-07-08 22:32:45 +02:00
|
|
|
.post-translations {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
display: inline;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2024-04-09 10:39:38 +02:00
|
|
|
.post-translations>li {
|
2021-07-08 22:32:45 +02:00
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2024-04-09 10:39:38 +02:00
|
|
|
.post-translations>li:not(:last-child)::after {
|
2021-07-08 22:32:45 +02:00
|
|
|
content: "|";
|
|
|
|
display: inline-block;
|
2024-04-10 07:55:14 +02:00
|
|
|
margin-left: 4px;
|
|
|
|
margin-right: 4px;
|
2021-07-08 22:32:45 +02:00
|
|
|
}
|
|
|
|
|
2024-04-09 10:39:38 +02:00
|
|
|
.post-translations>li a {
|
2021-07-08 22:32:45 +02:00
|
|
|
color: var(--link-color);
|
|
|
|
}
|
|
|
|
|
2024-04-09 10:39:38 +02:00
|
|
|
.post-translations>li a:hover,
|
|
|
|
.post-translations>li a:focus {
|
2021-07-08 22:32:45 +02:00
|
|
|
color: var(--link-state-color);
|
|
|
|
}
|
|
|
|
|
2022-02-18 10:29:49 +01:00
|
|
|
.read-next-title {
|
2024-04-09 10:39:38 +02:00
|
|
|
margin-bottom: 0;
|
2024-03-04 08:05:53 +01:00
|
|
|
margin-top: 3em;
|
|
|
|
padding-top: 1em;
|
|
|
|
border-top: 1px dashed var(--thead-bg-color);
|
2022-02-18 10:29:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.read-next-posts {
|
2024-04-09 10:39:38 +02:00
|
|
|
margin-top: 5px;
|
|
|
|
list-style-type: "- ";
|
2022-02-18 10:29:49 +01:00
|
|
|
padding-inline-start: 20px;
|
|
|
|
}
|
|
|
|
|
2020-01-12 07:51:51 +01:00
|
|
|
/* Other pages */
|
|
|
|
.terms {
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
|
|
|
line-height: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Pagination */
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: 3em;
|
2022-06-07 16:49:23 +02:00
|
|
|
text-align: center;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
2020-02-02 16:01:10 +01:00
|
|
|
.pagination-item {
|
2023-11-18 12:54:41 +01:00
|
|
|
border: 1px solid var(--pagination-border-color);
|
|
|
|
border-radius: var(--pagination-border-radius);
|
2020-07-09 21:15:38 +02:00
|
|
|
background: var(--pagination-bg-color);
|
2023-11-18 12:54:41 +01:00
|
|
|
padding: 0.25em 0.75em;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
2020-07-09 21:15:38 +02:00
|
|
|
.pagination-item a {
|
|
|
|
color: var(--pagination-link-color);
|
|
|
|
}
|
|
|
|
|
2022-06-07 16:49:23 +02:00
|
|
|
.pagination-item a:hover,
|
2020-07-09 21:15:38 +02:00
|
|
|
.pagination-item a:focus {
|
|
|
|
color: var(--link-state-color);
|
|
|
|
}
|
|
|
|
|
2020-02-02 16:01:10 +01:00
|
|
|
.disabled {
|
2020-01-12 07:51:51 +01:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2024-04-09 10:39:38 +02:00
|
|
|
.pagination-item a:hover,
|
|
|
|
.pagination-item a:focus {
|
2020-02-02 16:01:10 +01:00
|
|
|
border-bottom: 0;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
2020-06-07 13:20:40 +02:00
|
|
|
.post-pagination .pagination-item {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
max-width: 16em;
|
|
|
|
}
|
|
|
|
|
2020-01-12 07:51:51 +01:00
|
|
|
/* Footer */
|
|
|
|
|
2020-07-09 21:15:38 +02:00
|
|
|
.common-footer {
|
|
|
|
padding-top: 1.5em;
|
2020-01-12 07:51:51 +01:00
|
|
|
margin-top: 3em;
|
2024-03-04 08:08:49 +01:00
|
|
|
font-size: 12px;
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
color: var(--pagination-link-color);
|
2020-07-30 20:35:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.common-footer-bottom {
|
2020-07-09 21:15:38 +02:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
|
|
|
|
2024-04-09 10:39:38 +02:00
|
|
|
ul.language-select,
|
|
|
|
ul.footer-menu {
|
2020-05-24 18:30:37 +02:00
|
|
|
padding-left: 0;
|
|
|
|
list-style: none;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2024-04-09 10:39:38 +02:00
|
|
|
ul.language-select>li,
|
|
|
|
ul.footer-menu>li {
|
2020-05-24 18:30:37 +02:00
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
2020-07-09 21:15:38 +02:00
|
|
|
.theme-switcher {
|
|
|
|
color: var(--switcher-color);
|
2024-03-04 08:17:16 +01:00
|
|
|
/* padding: 0.5em 1em; */
|
2024-03-08 04:20:33 +01:00
|
|
|
margin: var(--icon-margin-top) 0 0 var(--icon-margin-left);
|
2024-03-04 08:17:16 +01:00
|
|
|
cursor: pointer;
|
2020-07-09 21:15:38 +02:00
|
|
|
}
|
|
|
|
|
2021-01-20 19:10:47 +01:00
|
|
|
.h-card {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-01-18 17:56:02 +01:00
|
|
|
/* Copy code */
|
|
|
|
.highlight {
|
|
|
|
position: relative;
|
2024-04-23 12:59:16 +02:00
|
|
|
overflow: hidden;
|
2022-01-18 17:56:02 +01:00
|
|
|
}
|
2024-04-09 10:39:38 +02:00
|
|
|
|
2022-01-18 17:56:02 +01:00
|
|
|
.highlight:hover .highlight-copy-btn {
|
|
|
|
display: inline-block;
|
2024-04-23 07:44:24 +02:00
|
|
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
2022-01-18 17:56:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.highlight-copy-btn {
|
2024-04-23 14:09:41 +02:00
|
|
|
display: none;
|
2022-01-18 17:56:02 +01:00
|
|
|
position: absolute;
|
2024-04-23 07:44:24 +02:00
|
|
|
top: 0px;
|
|
|
|
right: 0px;
|
2024-04-23 12:59:16 +02:00
|
|
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
2024-04-09 10:58:28 +02:00
|
|
|
border-radius: 6px;
|
2022-01-18 17:56:02 +01:00
|
|
|
padding: 1px;
|
|
|
|
font-size: 0.7em;
|
|
|
|
line-height: 1.8;
|
|
|
|
color: #fff;
|
2024-04-09 10:58:28 +02:00
|
|
|
background-color: rgba(255, 255, 255, 0.1);
|
2024-04-23 07:44:24 +02:00
|
|
|
min-width: 22px;
|
2022-01-18 17:56:02 +01:00
|
|
|
text-align: center;
|
2024-04-09 10:58:28 +02:00
|
|
|
transition: border 0.3s;
|
2024-04-23 12:59:16 +02:00
|
|
|
transition: background-color 0.3s;
|
2022-01-18 17:56:02 +01:00
|
|
|
}
|
2024-04-09 10:39:38 +02:00
|
|
|
|
2022-01-18 17:56:02 +01:00
|
|
|
.highlight-copy-btn:hover {
|
|
|
|
transition-duration: .1s;
|
2024-04-09 10:58:28 +02:00
|
|
|
background-color: rgba(255, 255, 255, 0.3);
|
2022-06-07 16:49:23 +02:00
|
|
|
cursor: pointer;
|
2022-01-18 17:56:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.highlight-copy-btn,
|
|
|
|
.highlight-copy-btn svg {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: 8px;
|
|
|
|
}
|
|
|
|
|
2023-11-18 12:54:41 +01:00
|
|
|
/* Others */
|
|
|
|
.noselect {
|
2024-04-09 10:39:38 +02:00
|
|
|
-webkit-touch-callout: none;
|
|
|
|
/* iOS Safari */
|
|
|
|
-webkit-user-select: none;
|
|
|
|
/* Safari */
|
|
|
|
-khtml-user-select: none;
|
|
|
|
/* Konqueror HTML */
|
|
|
|
-moz-user-select: none;
|
|
|
|
/* Firefox */
|
|
|
|
-ms-user-select: none;
|
|
|
|
/* Internet Explorer/Edge */
|
|
|
|
user-select: none;
|
|
|
|
/* Non-prefixed version, currently
|
2023-11-18 12:54:41 +01:00
|
|
|
supported by Chrome and Opera */
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-01-12 07:51:51 +01:00
|
|
|
/* Media Queries */
|
|
|
|
|
|
|
|
@media (max-width: 840px) {
|
|
|
|
.main-wrapper {
|
|
|
|
margin: 0;
|
|
|
|
max-width: none;
|
|
|
|
overflow-x: hidden;
|
|
|
|
padding-left: 25px;
|
|
|
|
padding-right: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
max-width: 90%;
|
|
|
|
margin: 0 auto;
|
2021-12-14 18:47:04 +01:00
|
|
|
word-wrap: break-word;
|
2020-01-12 07:51:51 +01:00
|
|
|
}
|
2020-02-02 16:01:10 +01:00
|
|
|
|
|
|
|
.pagination-item {
|
|
|
|
padding: 0.5em 0.5em;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2020-06-24 21:21:59 +02:00
|
|
|
.post-navigation {
|
2020-07-09 21:15:38 +02:00
|
|
|
background: var(--pagination-bg-color);
|
2020-06-24 21:21:59 +02:00
|
|
|
text-align: center;
|
|
|
|
padding: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-navigation a {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
2020-06-07 13:20:40 +02:00
|
|
|
.post-pagination .pagination-item {
|
|
|
|
max-width: 10em;
|
|
|
|
}
|
2024-04-27 19:48:12 +02:00
|
|
|
}
|