2019-01-04 18:14:53 +00:00
|
|
|
<%- include("normalize.css") %>
|
|
|
|
<%- include("syntax-highlighting.css") %>
|
|
|
|
|
2020-08-25 20:15:46 +00:00
|
|
|
$light-accent-color: #0638d0;
|
|
|
|
$dark-accent-color: #f9c72f;
|
|
|
|
|
2020-07-08 22:00:54 +00:00
|
|
|
:root {
|
2020-08-25 20:15:46 +00:00
|
|
|
// Theme colors
|
|
|
|
--light-accent-color: #{$light-accent-color};
|
|
|
|
--dark-accent-color: #{$dark-accent-color};
|
2020-07-08 22:00:54 +00:00
|
|
|
--light-content-background-color: white;
|
|
|
|
--dark-content-background-color: #111;
|
|
|
|
--light-shadow-color: #f7f7f7;
|
|
|
|
--dark-shadow-color: #151515;
|
|
|
|
--light-ui-background-color: white;
|
|
|
|
--dark-ui-background-color: #111;
|
|
|
|
--light-ui-text-color: black;
|
|
|
|
--dark-ui-text-color: white;
|
|
|
|
--light-secondary-ui-text-color: #666;
|
|
|
|
--dark-secondary-ui-text-color: #999;
|
|
|
|
--light-content-text-color: #222;
|
|
|
|
--dark-content-text-color: #ddd;
|
|
|
|
|
2020-08-25 20:15:46 +00:00
|
|
|
--light-aside-background: #{lighten($light-accent-color, 50%)};
|
|
|
|
--dark-aside-background: #{darken($dark-accent-color, 50%)};
|
|
|
|
--light-aside-border: #{darken($light-accent-color, 10%)};
|
|
|
|
--dark-aside-border: #{darken($dark-accent-color, 10%)};
|
|
|
|
|
2020-07-08 22:00:54 +00:00
|
|
|
// Syntax highlighting
|
|
|
|
--light-atom-base: #fafafa;
|
|
|
|
--dark-atom-base: #282c34;
|
|
|
|
--light-atom-mono-1: #383a42;
|
|
|
|
--dark-atom-mono-1: #abb2bf;
|
|
|
|
--light-atom-mono-2: #686b77;
|
|
|
|
--dark-atom-mono-2: #818896;
|
|
|
|
--light-atom-mono-3: #a0a1a7;
|
|
|
|
--dark-atom-mono-3: #5c6370;
|
|
|
|
--light-atom-hue-1: #0184bb;
|
|
|
|
--dark-atom-hue-1: #56b6c2;
|
|
|
|
--light-atom-hue-2: #4078f2;
|
|
|
|
--dark-atom-hue-2: #61aeee;
|
|
|
|
--light-atom-hue-3: #a626a4;
|
|
|
|
--dark-atom-hue-3: #c678dd;
|
|
|
|
--light-atom-hue-4: #50a14f;
|
|
|
|
--dark-atom-hue-4: #98c379;
|
|
|
|
--light-atom-hue-5: #e45649;
|
|
|
|
--dark-atom-hue-5: #e06c75;
|
|
|
|
--light-atom-hue-5-2: #c91243;
|
|
|
|
--dark-atom-hue-5-2: #be5046;
|
|
|
|
--light-atom-hue-6: #986801;
|
|
|
|
--dark-atom-hue-6: #d19a66;
|
|
|
|
--light-atom-hue-6-2: #c18401;
|
|
|
|
--dark-atom-hue-6-2: #e6c07b;
|
2020-08-25 20:15:46 +00:00
|
|
|
|
|
|
|
// Fonts
|
|
|
|
--ui-font: Avenir, Lucida Grande, Arial, sans-serif;
|
|
|
|
--content-font: Charter, Georgia, serif;
|
|
|
|
--monospace-font: SF Mono, monospace;
|
2020-07-08 22:00:54 +00:00
|
|
|
}
|
|
|
|
.theme-light {
|
|
|
|
--accent-color: var(--light-accent-color);
|
|
|
|
--content-background-color: var(--light-content-background-color);
|
|
|
|
--shadow-color: var(--light-shadow-color);
|
|
|
|
--ui-background-color: var(--light-ui-background-color);
|
|
|
|
--ui-text-color: var(--light-ui-text-color);
|
|
|
|
--secondary-ui-text-color: var(--light-secondary-ui-text-color);
|
|
|
|
--content-text-color: var(--light-content-text-color);
|
|
|
|
|
2020-08-25 20:15:46 +00:00
|
|
|
--aside-background: var(--light-aside-background);
|
|
|
|
--aside-border: var(--light-aside-border);
|
|
|
|
|
2020-07-08 22:00:54 +00:00
|
|
|
// Syntax highlighting
|
|
|
|
--atom-base: var(--light-atom-base);
|
|
|
|
--atom-mono-1: var(--light-atom-mono-1);
|
|
|
|
--atom-mono-2: var(--light-atom-mono-2);
|
|
|
|
--atom-mono-3: var(--light-atom-mono-3);
|
|
|
|
--atom-hue-1: var(--light-atom-hue-1);
|
|
|
|
--atom-hue-2: var(--light-atom-hue-2);
|
|
|
|
--atom-hue-3: var(--light-atom-hue-3);
|
|
|
|
--atom-hue-4: var(--light-atom-hue-4);
|
|
|
|
--atom-hue-5: var(--light-atom-hue-5);
|
|
|
|
--atom-hue-5-2: var(--light-atom-hue-5-2);
|
|
|
|
--atom-hue-6: var(--light-atom-hue-6);
|
|
|
|
--atom-hue-6-2: var(--light-atom-hue-6-2);
|
|
|
|
}
|
|
|
|
.theme-dark {
|
|
|
|
--accent-color: var(--dark-accent-color);
|
|
|
|
--content-background-color: var(--dark-content-background-color);
|
|
|
|
--shadow-color: var(--dark-shadow-color);
|
|
|
|
--ui-background-color: var(--dark-ui-background-color);
|
|
|
|
--ui-text-color: var(--dark-ui-text-color);
|
|
|
|
--secondary-ui-text-color: var(--dark-secondary-ui-text-color);
|
|
|
|
--content-text-color: var(--dark-content-text-color);
|
|
|
|
|
2020-08-25 20:15:46 +00:00
|
|
|
--aside-background: var(--dark-aside-background);
|
|
|
|
--aside-border: var(--dark-aside-border);
|
|
|
|
|
2020-07-08 22:00:54 +00:00
|
|
|
// Syntax highdarking
|
|
|
|
--atom-base: var(--dark-atom-base);
|
|
|
|
--atom-mono-1: var(--dark-atom-mono-1);
|
|
|
|
--atom-mono-2: var(--dark-atom-mono-2);
|
|
|
|
--atom-mono-3: var(--dark-atom-mono-3);
|
|
|
|
--atom-hue-1: var(--dark-atom-hue-1);
|
|
|
|
--atom-hue-2: var(--dark-atom-hue-2);
|
|
|
|
--atom-hue-3: var(--dark-atom-hue-3);
|
|
|
|
--atom-hue-4: var(--dark-atom-hue-4);
|
|
|
|
--atom-hue-5: var(--dark-atom-hue-5);
|
|
|
|
--atom-hue-5-2: var(--dark-atom-hue-5-2);
|
|
|
|
--atom-hue-6: var(--dark-atom-hue-6);
|
|
|
|
--atom-hue-6-2: var(--dark-atom-hue-6-2);
|
|
|
|
}
|
|
|
|
|
2019-01-04 18:14:53 +00:00
|
|
|
// General
|
2020-02-19 02:06:20 +00:00
|
|
|
html {
|
2019-01-04 18:14:53 +00:00
|
|
|
background-color: var(--content-background-color);
|
2020-08-25 20:15:46 +00:00
|
|
|
font-family: var(--ui-font);
|
2019-01-04 18:14:53 +00:00
|
|
|
font-size: 16px;
|
2019-11-11 03:23:07 +00:00
|
|
|
line-height: 1.6;
|
2019-01-04 18:14:53 +00:00
|
|
|
color: var(--ui-text-color);
|
|
|
|
}
|
|
|
|
|
2020-07-09 18:11:34 +00:00
|
|
|
body {
|
|
|
|
// prevent .article-content-wide from showing scroll bar
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
2019-01-04 18:14:53 +00:00
|
|
|
.container {
|
|
|
|
margin: 0 auto;
|
2019-11-12 02:24:56 +00:00
|
|
|
padding: 0 15px;
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.main {
|
|
|
|
max-width: 720px;
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
|
|
.page-heading {
|
|
|
|
max-width: 720px;
|
|
|
|
margin: 20px auto;
|
|
|
|
margin-bottom: 0;
|
|
|
|
color: var(--content-text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.rss {
|
|
|
|
margin-top: 0;
|
2020-02-19 02:06:20 +00:00
|
|
|
font-size: 0.75rem;
|
2019-01-04 18:14:53 +00:00
|
|
|
font-weight: lighter;
|
|
|
|
color: var(--secondary-ui-text-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
article {
|
|
|
|
margin-bottom: 75px;
|
|
|
|
color: var(--content-text-color);
|
2019-06-30 19:29:54 +00:00
|
|
|
border-bottom: 1px solid var(--accent-color);
|
2019-01-04 18:14:53 +00:00
|
|
|
|
|
|
|
.article-title {
|
2020-02-19 02:06:20 +00:00
|
|
|
margin-top: 0.7em;
|
2019-01-04 18:14:53 +00:00
|
|
|
margin-bottom: 0;
|
2020-04-15 15:48:20 +00:00
|
|
|
font-size: 1.7rem;
|
2019-01-04 18:14:53 +00:00
|
|
|
|
2019-06-29 22:39:04 +00:00
|
|
|
&::before {
|
|
|
|
content: "#";
|
2020-08-25 20:15:46 +00:00
|
|
|
font-family: var(--monospace-font);
|
2019-06-29 22:39:04 +00:00
|
|
|
color: var(--accent-color);
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
2019-01-04 18:14:53 +00:00
|
|
|
> a {
|
|
|
|
color: var(--content-text-color);
|
|
|
|
text-decoration: none;
|
|
|
|
transition: 0.3s ease all;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--accent-color);
|
|
|
|
}
|
2019-06-29 19:12:24 +00:00
|
|
|
&::before, &::after {
|
|
|
|
content: "";
|
|
|
|
}
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-meta {
|
|
|
|
margin-top: 0;
|
2020-02-19 02:06:20 +00:00
|
|
|
font-size: 0.9rem;
|
2019-01-04 18:14:53 +00:00
|
|
|
font-weight: lighter;
|
|
|
|
color: var(--secondary-ui-text-color);
|
2019-06-29 20:01:05 +00:00
|
|
|
|
|
|
|
a { text-decoration: underline; }
|
|
|
|
a::before, a::after { content: ""; }
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article-content {
|
2020-08-25 20:15:46 +00:00
|
|
|
position: relative;
|
|
|
|
font-family: var(--content-font);
|
2020-02-19 02:06:20 +00:00
|
|
|
font-size: 1.25rem;
|
2020-07-03 20:29:51 +00:00
|
|
|
word-wrap: break-word;
|
2019-01-04 18:14:53 +00:00
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2020-08-25 20:15:46 +00:00
|
|
|
font-family: var(--ui-font);
|
2019-06-29 22:39:04 +00:00
|
|
|
|
|
|
|
.header-anchor {
|
2020-08-25 20:15:46 +00:00
|
|
|
font-family: var(--monospace-font);
|
2019-06-29 22:39:04 +00:00
|
|
|
color: var(--accent-color);
|
|
|
|
user-select: none;
|
2019-09-16 21:56:31 +00:00
|
|
|
text-decoration: none;
|
2019-06-29 22:39:04 +00:00
|
|
|
|
2019-09-16 21:56:31 +00:00
|
|
|
// hide link destination for header anchor links
|
2019-06-29 22:39:04 +00:00
|
|
|
&::before, &::after { content: ""; }
|
|
|
|
}
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
2019-06-29 19:21:04 +00:00
|
|
|
|
2020-02-19 02:06:20 +00:00
|
|
|
h1 { font-size: 1.6rem; }
|
2020-04-15 15:48:20 +00:00
|
|
|
h2 { font-size: 1.5rem; }
|
|
|
|
h3 { font-size: 1.4rem; }
|
2019-08-18 21:15:31 +00:00
|
|
|
|
2019-09-17 01:48:32 +00:00
|
|
|
hr.footnotes-sep {
|
|
|
|
border: none;
|
|
|
|
height: 1px;
|
|
|
|
background: var(--accent-color);
|
|
|
|
}
|
|
|
|
|
2020-07-23 03:28:39 +00:00
|
|
|
a::before, a::after,
|
|
|
|
p code {
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
|
2020-08-25 20:15:46 +00:00
|
|
|
aside {
|
|
|
|
background-color: var(--aside-background);
|
|
|
|
border: 1px solid var(--aside-border);
|
|
|
|
padding: 15px;
|
|
|
|
font-size: 1rem;
|
|
|
|
width: 50%;
|
|
|
|
position: absolute;
|
|
|
|
left: 100%;
|
|
|
|
margin-left: 15px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
|
|
|
p:first-child { margin-top: 0; }
|
|
|
|
p:last-child { margin-bottom: 0; }
|
|
|
|
}
|
|
|
|
|
2019-09-17 01:48:32 +00:00
|
|
|
// Markdown decorations
|
2020-02-19 02:06:20 +00:00
|
|
|
@media screen and (min-width: 768px) {
|
2020-06-05 15:24:34 +00:00
|
|
|
a {
|
2020-06-05 14:28:12 +00:00
|
|
|
text-decoration: none;
|
|
|
|
&::before { content: "["; }
|
|
|
|
&::after { content: "](" attr(data-link) ")"; word-wrap: break-word; }
|
|
|
|
&::before, &::after {
|
|
|
|
color: var(--secondary-ui-text-color);
|
2020-08-25 20:15:46 +00:00
|
|
|
font-family: var(--monospace-font);
|
2020-06-05 14:28:12 +00:00
|
|
|
font-size: 0.75em;
|
|
|
|
}
|
2019-08-18 21:15:31 +00:00
|
|
|
}
|
2020-06-05 15:24:34 +00:00
|
|
|
a[data-no-link-decoration] {
|
|
|
|
text-decoration: underline;
|
|
|
|
&::before { content: ""; }
|
|
|
|
&::after { content: ""; }
|
|
|
|
}
|
2019-09-17 01:48:32 +00:00
|
|
|
sup.footnote-ref > a::before,
|
|
|
|
sup.footnote-ref > a::after,
|
|
|
|
a.footnote-backref::before, a.footnote-backref::after {
|
|
|
|
content: "";
|
|
|
|
}
|
2019-08-18 21:15:31 +00:00
|
|
|
}
|
|
|
|
code::before, code::after {
|
|
|
|
content: "`";
|
2020-08-25 20:15:46 +00:00
|
|
|
font-family: var(--monospace-font);
|
2019-08-18 21:15:31 +00:00
|
|
|
color: var(--secondary-ui-text-color);
|
|
|
|
}
|
2019-09-16 21:52:38 +00:00
|
|
|
pre code::before,
|
|
|
|
pre code::after {
|
|
|
|
// we don't show the decorations for pre blocks, because it can interfere with scrolling horizontally
|
|
|
|
content: "";
|
|
|
|
display: none;
|
2019-08-18 21:15:31 +00:00
|
|
|
}
|
|
|
|
strong::before, strong::after {
|
|
|
|
content: "**";
|
2020-08-25 20:15:46 +00:00
|
|
|
font-family: var(--monospace-font);
|
2019-08-18 21:15:31 +00:00
|
|
|
color: var(--secondary-ui-text-color);
|
|
|
|
}
|
|
|
|
em::before, em::after {
|
|
|
|
content: "_";
|
2020-08-25 20:15:46 +00:00
|
|
|
font-family: var(--monospace-font);
|
2019-08-18 21:15:31 +00:00
|
|
|
color: var(--secondary-ui-text-color);
|
|
|
|
}
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
2020-07-08 22:00:54 +00:00
|
|
|
|
2020-07-09 18:11:34 +00:00
|
|
|
.article-content-wide {
|
|
|
|
width: 100vw;
|
|
|
|
position: relative;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -50vw;
|
|
|
|
|
|
|
|
padding: 10px 0;
|
|
|
|
margin-top: -10px;
|
|
|
|
margin-bottom: -10px;
|
|
|
|
|
|
|
|
p:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-08 22:00:54 +00:00
|
|
|
.theme-dark, .theme-light, .theme-inverted {
|
|
|
|
color: var(--content-text-color);
|
|
|
|
background-color: var(--content-background-color);
|
|
|
|
}
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
|
2019-03-01 23:42:28 +00:00
|
|
|
#comments-container {
|
2019-08-18 21:15:31 +00:00
|
|
|
border-top: 1px solid var(--accent-color);
|
|
|
|
padding: 1rem 0;
|
|
|
|
|
|
|
|
#comments-container-title {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
#comments-info {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#comments-js-warning {
|
|
|
|
background-color: var(--atom-hue-5-2);
|
|
|
|
padding: 10px;
|
|
|
|
margin-top: 0;
|
|
|
|
border: 1px solid var(--atom-hue-5);
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
2019-03-01 23:42:28 +00:00
|
|
|
|
|
|
|
.comment-user-avatar {
|
|
|
|
width: 50px;
|
2019-06-30 19:29:54 +00:00
|
|
|
border-radius: 5px;
|
2019-03-01 23:42:28 +00:00
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2019-06-30 19:29:54 +00:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
.comments-list {
|
|
|
|
margin-top: 0px;
|
|
|
|
padding-left: 0px;
|
|
|
|
}
|
2019-03-01 23:42:28 +00:00
|
|
|
|
2019-06-30 19:29:54 +00:00
|
|
|
.comment-info {
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment-children {
|
|
|
|
margin-left: 60px;
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
2019-03-01 23:42:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-17 19:30:47 +00:00
|
|
|
.error-page {
|
|
|
|
margin: 0 auto;
|
2019-01-04 18:14:53 +00:00
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
position: relative;
|
|
|
|
color: var(--content-text-color);
|
|
|
|
line-height: 1.3;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input#q {
|
|
|
|
display: block;
|
|
|
|
width: 75%;
|
|
|
|
margin: 10px auto;
|
|
|
|
padding: 4px;
|
|
|
|
background-color: var(--content-background-color);
|
|
|
|
border: 1px solid var(--accent-color);
|
|
|
|
font-size: 1rem;
|
|
|
|
color: var(--content-text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=submit] {
|
|
|
|
display: block;
|
|
|
|
margin: 10px auto;
|
|
|
|
background-color: var(--ui-background-color);
|
|
|
|
border: 1px solid var(--accent-color);
|
|
|
|
color: var(--accent-color);
|
|
|
|
line-height: 2rem;
|
|
|
|
padding: 0 1rem;
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: bold;
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
-webkit-transition: 0.3s ease-out;
|
|
|
|
transition: 0.3s ease-out;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
color: var(--ui-background-color);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon > svg {
|
|
|
|
display: inline-block;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
vertical-align: middle;
|
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--accent-color);
|
2019-06-29 19:12:24 +00:00
|
|
|
text-decoration: underline;
|
2019-01-04 18:14:53 +00:00
|
|
|
|
|
|
|
&.fancy-link {
|
|
|
|
position: relative;
|
|
|
|
color: var(--ui-text-color);
|
|
|
|
text-decoration: none;
|
|
|
|
transition: 0.3s ease all;
|
|
|
|
|
2019-01-05 02:44:55 +00:00
|
|
|
> span {
|
2019-01-04 18:14:53 +00:00
|
|
|
position: absolute;
|
2019-01-05 16:16:15 +00:00
|
|
|
top: -0.15em;
|
2019-01-04 18:14:53 +00:00
|
|
|
transition: 0.3s ease all;
|
2020-08-25 20:15:46 +00:00
|
|
|
font-family: var(--monospace-font);
|
2019-01-04 18:14:53 +00:00
|
|
|
color: transparent;
|
|
|
|
|
2019-01-05 02:44:55 +00:00
|
|
|
&:first-child {
|
|
|
|
left: 0.5em;
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
right: 0.5em;
|
|
|
|
}
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--accent-color);
|
|
|
|
|
2019-01-05 02:44:55 +00:00
|
|
|
> span {
|
2019-01-04 18:14:53 +00:00
|
|
|
color: var(--accent-color);
|
|
|
|
|
2019-01-05 02:44:55 +00:00
|
|
|
&:first-child {
|
|
|
|
left: -0.75em;
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
right: -0.75em;
|
|
|
|
}
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
2019-09-16 21:52:38 +00:00
|
|
|
overflow-x: scroll;
|
|
|
|
|
2019-01-04 18:14:53 +00:00
|
|
|
-moz-tab-size: 4;
|
|
|
|
-o-tab-size: 4;
|
|
|
|
tab-size: 4;
|
2020-07-03 20:29:51 +00:00
|
|
|
|
|
|
|
word-wrap: normal;
|
2020-08-25 20:15:46 +00:00
|
|
|
|
|
|
|
font-family: var(--monospace-font);
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
|
2020-08-25 20:15:46 +00:00
|
|
|
code {
|
|
|
|
font-family: var(--monospace-font);
|
|
|
|
font-size: 0.8em;
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
|
2019-01-05 15:52:44 +00:00
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-01-04 18:14:53 +00:00
|
|
|
figure {
|
2019-01-05 15:52:44 +00:00
|
|
|
margin: 0;
|
|
|
|
|
2019-01-04 18:14:53 +00:00
|
|
|
figcaption {
|
2020-08-25 20:15:46 +00:00
|
|
|
font-family: var(--ui-font);
|
2020-02-19 02:06:20 +00:00
|
|
|
font-size: 1rem;
|
2019-01-04 18:14:53 +00:00
|
|
|
font-style: italic;
|
|
|
|
color: var(--secondary-ui-text-color);
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Header
|
|
|
|
.site-header {
|
2019-06-28 19:28:00 +00:00
|
|
|
padding-top: 20px;
|
|
|
|
padding-bottom: 20px;
|
2019-01-04 18:14:53 +00:00
|
|
|
background-color: var(--ui-background-color);
|
2020-02-19 02:06:20 +00:00
|
|
|
font-size: 1rem;
|
2019-01-04 18:14:53 +00:00
|
|
|
|
2019-06-28 19:28:00 +00:00
|
|
|
> div {
|
2019-06-19 13:29:56 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-end;
|
|
|
|
flex-wrap: wrap;
|
2019-06-28 19:28:00 +00:00
|
|
|
|
|
|
|
padding-bottom: 10px;
|
|
|
|
border-bottom: 3px solid var(--accent-color);
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.site-title {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 2em;
|
|
|
|
font-variant: small-caps;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-description {
|
|
|
|
color: var(--secondary-ui-text-color);
|
|
|
|
font-variant: small-caps;
|
2019-06-19 13:29:56 +00:00
|
|
|
margin: 0;
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.site-nav ul {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2019-02-16 19:43:41 +00:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
2019-01-04 18:14:53 +00:00
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
display: inline;
|
|
|
|
font-variant: small-caps;
|
|
|
|
font-weight: bold;
|
2019-02-16 19:43:41 +00:00
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.dropdown-link {
|
2019-06-28 19:28:00 +00:00
|
|
|
color: var(--ui-text-color);
|
2019-02-16 19:43:41 +00:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
.arrow-down {
|
|
|
|
display: inline-block;
|
|
|
|
width: 0.5em;
|
|
|
|
height: 0.5em;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
margin-left: 2px;
|
|
|
|
border-bottom: 2px solid var(--ui-text-color);
|
|
|
|
border-right: 2px solid var(--ui-text-color);
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
min-width: 5rem;
|
|
|
|
position: absolute;
|
2019-06-29 01:59:01 +00:00
|
|
|
transition: 0.3s ease all;
|
2019-02-16 19:43:41 +00:00
|
|
|
right: -1em;
|
2019-06-29 01:59:01 +00:00
|
|
|
display: block;
|
2019-02-16 19:43:41 +00:00
|
|
|
padding: 1em;
|
2019-06-28 19:28:00 +00:00
|
|
|
background-color: var(--ui-background-color);
|
2019-06-29 01:59:01 +00:00
|
|
|
border: 1px solid var(--accent-color);
|
2019-02-16 19:43:41 +00:00
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
li {
|
|
|
|
width: 100%;
|
|
|
|
display: block;
|
|
|
|
margin-right: 0px;
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover > ul,
|
|
|
|
&:focus-within > ul,
|
|
|
|
ul:hover,
|
|
|
|
ul:focus {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
display: block;
|
|
|
|
}
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Footer
|
|
|
|
.site-footer {
|
2019-06-30 19:29:54 +00:00
|
|
|
margin-top: 75px;
|
|
|
|
margin-bottom: 20px;
|
2019-01-04 18:14:53 +00:00
|
|
|
background-color: var(--ui-background-color);
|
|
|
|
font-size: 16px;
|
|
|
|
|
2019-06-30 19:29:54 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-start;
|
|
|
|
flex-wrap: wrap;
|
2019-01-04 18:14:53 +00:00
|
|
|
|
|
|
|
.site-title {
|
|
|
|
margin: 0;
|
|
|
|
font-variant: small-caps;
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
2019-06-28 19:51:26 +00:00
|
|
|
.ui-controls {
|
|
|
|
input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
color: var(--accent-color);
|
|
|
|
text-decoration: underline;
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
input:checked + label {
|
|
|
|
color: var(--ui-text-color);
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: bold;
|
|
|
|
&:hover {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-04 18:14:53 +00:00
|
|
|
.social-links ul {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
display: inline;
|
|
|
|
font-variant: small-caps;
|
|
|
|
font-weight: bold;
|
2019-02-16 19:45:40 +00:00
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Pagination
|
|
|
|
.pagination {
|
|
|
|
text-align: center;
|
|
|
|
|
2019-06-30 19:29:54 +00:00
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2019-01-04 18:14:53 +00:00
|
|
|
.pagination-link {
|
|
|
|
color: var(--accent-color);
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
span:not(.arrow) {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.arrow-left {
|
|
|
|
display: inline-block;
|
|
|
|
width: 0.5em;
|
|
|
|
height: 0.5em;
|
|
|
|
margin-right: -5px;
|
|
|
|
border-left: 2px solid var(--accent-color);
|
|
|
|
border-bottom: 2px solid var(--accent-color);
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
.arrow-right {
|
|
|
|
display: inline-block;
|
|
|
|
width: 0.5em;
|
|
|
|
height: 0.5em;
|
|
|
|
margin-left: -5px;
|
|
|
|
border-right: 2px solid var(--accent-color);
|
|
|
|
border-bottom: 2px solid var(--accent-color);
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Media Queries
|
|
|
|
@media (min-width: 540px) {
|
|
|
|
.container {
|
|
|
|
max-width: 540px;
|
|
|
|
}
|
2019-06-19 13:29:56 +00:00
|
|
|
|
|
|
|
article::after {
|
|
|
|
max-width: 540px;
|
|
|
|
}
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.container {
|
|
|
|
max-width: 720px;
|
|
|
|
}
|
|
|
|
|
2019-06-19 13:29:56 +00:00
|
|
|
article::after {
|
|
|
|
max-width: 720px;
|
2019-01-04 18:14:53 +00:00
|
|
|
}
|
|
|
|
}
|
2020-08-25 20:15:46 +00:00
|
|
|
|
|
|
|
@media (max-width: 1455px) {
|
|
|
|
article .article-content aside {
|
|
|
|
position: initial;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
transform: unset;
|
|
|
|
}
|
|
|
|
}
|