2018-10-23 01:15:50 -04:00
|
|
|
@import "predefined.scss";
|
|
|
|
@import "normalize.scss";
|
|
|
|
@import "syntax.scss";
|
|
|
|
@import "animate.scss";
|
2023-08-19 03:24:17 -04:00
|
|
|
@import "_scroll.scss";
|
2023-10-21 10:34:16 -04:00
|
|
|
@import "_admonition.scss";
|
2023-08-19 03:24:17 -04:00
|
|
|
@import "_mathjax.scss";
|
2023-11-04 09:07:47 -04:00
|
|
|
@import "_socialshare.scss";
|
2018-10-23 01:15:50 -04:00
|
|
|
|
|
|
|
/* Webkit Scrollbar Customize */
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
background: $midnightblue;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
background: #888;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $text;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
background: $light-grey;
|
|
|
|
line-height: 1.6;
|
|
|
|
letter-spacing: .06em;
|
2019-01-26 23:20:29 -05:00
|
|
|
scroll-behavior: smooth;
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
body,
|
|
|
|
button,
|
|
|
|
input,
|
|
|
|
select,
|
|
|
|
textarea {
|
|
|
|
color: $text;
|
|
|
|
font-family: $fonts;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre,
|
|
|
|
code,
|
|
|
|
pre tt {
|
|
|
|
font-family: $code-fonts;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
padding: .7em 1.1em;
|
|
|
|
font-size: .9em;
|
|
|
|
line-height: 1.5;
|
|
|
|
letter-spacing: normal;
|
2019-02-03 03:10:21 -05:00
|
|
|
white-space: pre;
|
2018-10-23 01:15:50 -04:00
|
|
|
color: #eee;
|
|
|
|
background: $midnightblue;
|
2023-10-22 12:23:54 -04:00
|
|
|
-webkit-overflow-scrolling: touch;
|
2018-10-23 01:15:50 -04:00
|
|
|
|
|
|
|
code {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2023-10-22 05:57:12 -04:00
|
|
|
background: #272822;
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
color: #eee;
|
|
|
|
background: $highlight-grey;
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 0 3px;
|
|
|
|
margin: 0 4px;
|
2019-02-14 02:58:07 -05:00
|
|
|
word-wrap: break-word;
|
2018-10-23 01:15:50 -04:00
|
|
|
letter-spacing: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left: .25em solid;
|
|
|
|
margin: 1em;
|
|
|
|
padding: 0 1em;
|
|
|
|
font-style: italic;
|
|
|
|
|
|
|
|
cite {
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: normal;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "—— ";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $text;
|
|
|
|
text-decoration: none;
|
|
|
|
border: none;
|
|
|
|
transition-property: color;
|
|
|
|
transition-duration: .4s;
|
|
|
|
transition-timing-function: ease-out;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #fff;
|
2019-06-19 06:10:48 -04:00
|
|
|
text-shadow: 0 0 1px #fff;
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
opacity: .2;
|
|
|
|
border-width: 0 0 5px 0;
|
|
|
|
border-style: dashed;
|
|
|
|
background: transparent;
|
2018-12-15 11:02:21 -05:00
|
|
|
width: 50%;
|
|
|
|
margin: 1.8em auto;
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
|
|
|
empty-cells: show;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
padding: 1.5%;
|
|
|
|
border: 1px solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
font-weight: 700;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-inner {
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 1200px;
|
|
|
|
width: 93%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thin {
|
|
|
|
max-width: 720px;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.feather {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: -.125em;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
}
|
|
|
|
|
2019-06-22 06:44:30 -04:00
|
|
|
.sub-menu {
|
|
|
|
font-size: .7em;
|
|
|
|
}
|
|
|
|
|
2018-12-28 09:52:23 -05:00
|
|
|
.desktop-only, .desktop-only-ib {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-08-18 10:27:31 -04:00
|
|
|
// Code copy buttons
|
|
|
|
//
|
|
|
|
|
|
|
|
.highlight {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2023-10-22 05:57:12 -04:00
|
|
|
.highlight div,
|
2019-08-18 10:27:31 -04:00
|
|
|
.highlight pre {
|
2023-10-22 05:57:12 -04:00
|
|
|
overflow-x: auto;
|
2023-10-22 12:23:54 -04:00
|
|
|
border-radius: 4px;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
2019-08-18 10:27:31 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.highlight-copy-btn {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 7px;
|
|
|
|
right: 7px;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 1px;
|
|
|
|
font-size: 0.7em;
|
|
|
|
line-height: 1.8;
|
|
|
|
color: #fff;
|
|
|
|
background-color: #777;
|
|
|
|
opacity: 0.6;
|
|
|
|
min-width: 55px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight-copy-btn:hover {
|
|
|
|
background-color: #666;
|
|
|
|
}
|
|
|
|
|
2018-10-23 01:15:50 -04:00
|
|
|
// Accessibility
|
|
|
|
//
|
|
|
|
.screen-reader-text {
|
|
|
|
border: 0;
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
clip-path: inset(50%);
|
|
|
|
height: 1px;
|
|
|
|
margin: -1px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute !important;
|
|
|
|
width: 1px;
|
|
|
|
word-wrap: normal !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.screen-reader-text:focus {
|
|
|
|
background-color: #f1f1f1;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
|
|
|
clip: auto !important;
|
|
|
|
clip-path: none;
|
|
|
|
color: #21759b;
|
|
|
|
display: block;
|
|
|
|
font-size: 0.875rem;
|
|
|
|
font-weight: bold;
|
|
|
|
height: auto;
|
|
|
|
left: 5px;
|
|
|
|
line-height: normal;
|
|
|
|
padding: 15px 23px 14px;
|
|
|
|
text-decoration: none;
|
|
|
|
top: 5px;
|
|
|
|
width: auto;
|
|
|
|
z-index: 100000;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Header & Footer
|
|
|
|
//
|
|
|
|
#site-header {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 1;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
box-shadow: -1px -2px 3px rgba(0, 0, 0, 0.45);
|
|
|
|
background-color: $dark-grey;
|
2020-06-08 10:30:36 -04:00
|
|
|
animation-duration: .3s;
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.hdr-wrapper {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2018-12-11 11:02:36 -05:00
|
|
|
align-items: center;
|
2018-10-23 01:15:50 -04:00
|
|
|
padding: .5em 0;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
|
|
|
.site-branding {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: .8em;
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-nav {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 1.1em;
|
|
|
|
opacity: .8;
|
|
|
|
|
2019-06-22 06:44:30 -04:00
|
|
|
.has-children {
|
|
|
|
padding-right: .5em;
|
|
|
|
border-right: 2px solid $highlight-grey;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sub-menu > a{
|
|
|
|
margin-left: .3em;
|
|
|
|
}
|
|
|
|
|
2018-10-23 01:15:50 -04:00
|
|
|
a {
|
|
|
|
margin-left: .8em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hdr-icons {
|
|
|
|
font-size: 1.2em;
|
2018-12-11 11:02:36 -05:00
|
|
|
}
|
2018-10-23 01:15:50 -04:00
|
|
|
|
2018-12-11 11:02:36 -05:00
|
|
|
.hdr-social {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: .6em;
|
|
|
|
|
|
|
|
&>a {
|
2018-10-23 01:15:50 -04:00
|
|
|
margin-left: .4em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hdr-btn {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
2018-12-28 09:52:23 -05:00
|
|
|
margin-left: .4em;
|
2018-10-23 01:15:50 -04:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2018-12-11 11:02:36 -05:00
|
|
|
#menu-btn {
|
2018-10-23 01:15:50 -04:00
|
|
|
display: none;
|
2018-12-15 11:02:21 -05:00
|
|
|
margin-left: .6em;
|
2018-10-23 01:15:50 -04:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mobile-menu {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 4.8em;
|
2023-11-04 09:07:47 -04:00
|
|
|
right: 4.5em;
|
2018-12-31 01:29:07 -05:00
|
|
|
display: none;
|
2018-10-23 01:15:50 -04:00
|
|
|
padding: .6em 1.8em;
|
|
|
|
z-index: 1;
|
|
|
|
box-sizing: border-box;
|
|
|
|
box-shadow: -1px -2px 3px 0px rgba(0, 0, 0, 0.45);
|
|
|
|
background-color: $dark-grey;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
line-height: 2;
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#site-footer {
|
|
|
|
text-align: center;
|
|
|
|
font-size: .9em;
|
|
|
|
margin-bottom: 96px;
|
|
|
|
margin-top: 64px;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Spotlight
|
|
|
|
//
|
|
|
|
#spotlight {
|
|
|
|
display: flex;
|
2019-10-27 08:36:43 -04:00
|
|
|
min-height: 100vh;
|
2018-10-23 01:15:50 -04:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
max-width: 93%;
|
|
|
|
margin: auto;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
|
|
|
&.error-404 {
|
|
|
|
flex-direction: row;
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
p.img-404 {
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 180px;
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.banner-404 {
|
|
|
|
margin-left: 2em;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 3em;
|
|
|
|
margin: .5rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-404 {
|
|
|
|
font-size: .8em;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
border: 2px solid $text;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 5px;
|
|
|
|
transition-property: color, border-color;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#home-center {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#home-title {
|
|
|
|
margin: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#home-subtitle {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
text-align: center;
|
|
|
|
line-height: normal;
|
|
|
|
font-size: .7em;
|
|
|
|
font-style: italic;
|
|
|
|
opacity: .9;
|
|
|
|
}
|
|
|
|
|
|
|
|
#home-social {
|
|
|
|
font-size: 1.4em;
|
|
|
|
text-align: center;
|
|
|
|
opacity: .8;
|
|
|
|
|
|
|
|
a {
|
|
|
|
margin: 0 .2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#home-nav {
|
|
|
|
opacity: .8;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
margin-top: .5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#home-footer {
|
|
|
|
text-align: center;
|
|
|
|
font-size: .6em;
|
|
|
|
line-height: normal;
|
|
|
|
@include dimmed;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// list.html
|
|
|
|
//
|
|
|
|
.posts-group {
|
|
|
|
display: flex;
|
|
|
|
margin-bottom: 1.9em;
|
|
|
|
line-height: normal;
|
|
|
|
|
|
|
|
.post-year {
|
|
|
|
padding-top: 6px;
|
|
|
|
margin-right: 1.8em;
|
|
|
|
font-size: 1.6em;
|
|
|
|
@include dimmed;
|
2019-03-23 23:45:41 -04:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.posts-list {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-item {
|
|
|
|
border-bottom: 1px $highlight-grey dashed;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: baseline;
|
|
|
|
padding: 12px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-day {
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-left: 1em;
|
|
|
|
@include dimmed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// single.html
|
|
|
|
//
|
|
|
|
.bg-img {
|
2018-12-31 01:29:07 -05:00
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
2018-10-23 01:15:50 -04:00
|
|
|
opacity: .03;
|
|
|
|
z-index: -1;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
background-attachment: fixed;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
transition: opacity .5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.show-bg-img {
|
|
|
|
z-index: 100;
|
|
|
|
opacity: 1;
|
2019-01-03 05:25:14 -05:00
|
|
|
cursor: pointer;
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-header {
|
|
|
|
margin-top: 1.2em;
|
|
|
|
line-height: normal;
|
|
|
|
|
|
|
|
.post-meta {
|
|
|
|
font-size: .9em;
|
|
|
|
letter-spacing: normal;
|
|
|
|
@include dimmed;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin-top: .1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
hr.post-end {
|
|
|
|
width: 50%;
|
|
|
|
margin-top: 1.6em;
|
|
|
|
margin-bottom: .8em;
|
|
|
|
margin-left: 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-bottom-width: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
{{- with .Site.Params.justifyContent }}
|
|
|
|
text-align: justify;
|
|
|
|
text-justify: inter-ideograph; //For IE/Edge
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
@include aTag;
|
|
|
|
|
|
|
|
figure {
|
2018-12-15 11:02:21 -05:00
|
|
|
max-width: 100%;
|
2018-10-23 01:15:50 -04:00
|
|
|
height: auto;
|
|
|
|
margin: 0;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
p {
|
2018-12-15 11:02:21 -05:00
|
|
|
font-size: .8em;
|
|
|
|
font-style: italic;
|
|
|
|
@include dimmed;
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-15 11:02:21 -05:00
|
|
|
figure.left {
|
|
|
|
float: left;
|
|
|
|
margin-right: 1.5em;
|
|
|
|
max-width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure.right {
|
|
|
|
float: right;
|
|
|
|
margin-left: 1.5em;
|
|
|
|
max-width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure.big {
|
|
|
|
max-width: 100vw;
|
|
|
|
}
|
|
|
|
|
2018-10-23 01:15:50 -04:00
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
margin: auto;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
padding: 0;
|
|
|
|
margin-left: 1.8em;
|
|
|
|
}
|
2019-01-26 23:20:29 -05:00
|
|
|
|
|
|
|
a.anchor {
|
|
|
|
float: left;
|
|
|
|
margin-left: -20px;
|
|
|
|
padding-right: 6px;
|
|
|
|
box-shadow: none;
|
|
|
|
opacity: .8;
|
|
|
|
&:hover {
|
|
|
|
background: none;
|
|
|
|
color: $theme;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
display: inline-block;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
vertical-align: baseline;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
&:focus svg {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1:hover a.anchor svg,
|
|
|
|
h2:hover a.anchor svg,
|
|
|
|
h3:hover a.anchor svg,
|
|
|
|
h4:hover a.anchor svg,
|
|
|
|
h5:hover a.anchor svg,
|
|
|
|
h6:hover a.anchor svg {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
|
|
|
|
2018-12-15 11:02:21 -05:00
|
|
|
.footnotes {
|
|
|
|
font-size: .85em;
|
2018-10-23 01:15:50 -04:00
|
|
|
|
2018-12-15 11:02:21 -05:00
|
|
|
a {
|
|
|
|
box-shadow: none;
|
|
|
|
text-decoration: underline;
|
|
|
|
transition-property: color;
|
2018-10-23 01:15:50 -04:00
|
|
|
|
2018-12-15 11:02:21 -05:00
|
|
|
&:hover {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2018-10-23 01:15:50 -04:00
|
|
|
|
2020-06-08 10:30:36 -04:00
|
|
|
&.footnote-backref {
|
2018-12-15 11:02:21 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
2018-12-15 11:02:21 -05:00
|
|
|
|
|
|
|
ol {
|
|
|
|
line-height: 1.8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-08 10:30:36 -04:00
|
|
|
a.footnote-ref {
|
2018-12-15 11:02:21 -05:00
|
|
|
box-shadow: none;
|
|
|
|
text-decoration: none;
|
|
|
|
padding: 2px;
|
|
|
|
border-radius: 2px;
|
|
|
|
background-color: $midnightblue;
|
2020-06-08 10:30:36 -04:00
|
|
|
|
|
|
|
&:hover{
|
|
|
|
box-shadow: none;
|
|
|
|
background-color: $theme;
|
|
|
|
transition-property: background-color;
|
|
|
|
}
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-info {
|
|
|
|
font-size: .8rem;
|
|
|
|
line-height: normal;
|
|
|
|
@include dimmed;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: .8em 0;
|
|
|
|
}
|
|
|
|
|
2018-12-31 01:29:07 -05:00
|
|
|
a:hover {
|
|
|
|
border-bottom: 1px solid $theme;
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
margin-right: .8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag {
|
|
|
|
margin-right: .5em;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "#"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-24 09:17:22 -05:00
|
|
|
#toc {
|
|
|
|
position: fixed;
|
|
|
|
left: 50%;
|
|
|
|
top: 0;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toc-title {
|
|
|
|
margin-left: 1em;
|
|
|
|
margin-bottom: .5em;
|
|
|
|
font-size: .8em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TableOfContents {
|
|
|
|
font-size: .8em;
|
|
|
|
@include dimmed;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding-left: 1em;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&>ul {
|
|
|
|
list-style-type: none;
|
|
|
|
|
|
|
|
ul ul {
|
|
|
|
font-size: .9em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
border-bottom: $theme 1px solid;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-10-23 01:15:50 -04:00
|
|
|
.post-nav {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: 1.5em;
|
2018-12-11 00:41:01 -05:00
|
|
|
margin-bottom: 2.5em;
|
2018-10-23 01:15:50 -04:00
|
|
|
font-size: 1.2em;
|
|
|
|
|
|
|
|
a {
|
|
|
|
flex-basis: 50%;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.next-post {text-align: left; padding-right: 5px;}
|
|
|
|
.prev-post {text-align: right; padding-left: 5px;}
|
|
|
|
|
|
|
|
.post-nav-label {
|
|
|
|
font-size: .8em;
|
|
|
|
opacity: .8;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-21 01:15:53 -04:00
|
|
|
.related-posts {
|
|
|
|
padding: .8em;
|
|
|
|
margin-top: 1.5em;
|
|
|
|
font-size: .8rem;
|
|
|
|
border: 3px dashed rgba(255, 255, 255, .2);
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
|
|
h2{
|
|
|
|
margin: 0;
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin-top: .5em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-12-28 09:52:23 -05:00
|
|
|
// Media Queries
|
|
|
|
//
|
2018-10-23 01:15:50 -04:00
|
|
|
@media (min-width: 800px) {
|
|
|
|
.site-main {
|
|
|
|
margin-top: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr.post-end {
|
|
|
|
width: 40%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 960px) {
|
|
|
|
.site-main {
|
|
|
|
margin-top: 6em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1300px) {
|
|
|
|
.site-main {
|
|
|
|
margin-top: 8em;
|
|
|
|
}
|
|
|
|
|
2018-12-28 09:52:23 -05:00
|
|
|
.desktop-only,
|
|
|
|
#toc.show-toc {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.desktop-only-ib {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2018-12-15 11:02:21 -05:00
|
|
|
figure.left {
|
|
|
|
margin-left: -240px;
|
|
|
|
p {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
figure.right {
|
|
|
|
margin-right: -240px;
|
|
|
|
p {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
figure.big {
|
|
|
|
width: 1200px;
|
|
|
|
margin-left: -240px;
|
|
|
|
}
|
|
|
|
|
2018-10-23 01:15:50 -04:00
|
|
|
hr.post-end {
|
|
|
|
width: 30%;
|
|
|
|
}
|
2018-12-24 09:17:22 -05:00
|
|
|
|
|
|
|
#toc {
|
|
|
|
top: 13em;
|
|
|
|
margin-left: 370px;
|
|
|
|
max-width: 220px;
|
|
|
|
}
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1800px) {
|
|
|
|
.site-main {
|
|
|
|
margin-top: 10em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-inner {
|
|
|
|
max-width: 1600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thin {
|
|
|
|
max-width: 960px;
|
|
|
|
}
|
|
|
|
|
2018-12-15 11:02:21 -05:00
|
|
|
figure.left {
|
|
|
|
max-width: 75%;
|
|
|
|
margin-left: -320px;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure.right {
|
|
|
|
max-width: 75%;
|
|
|
|
margin-right: -320px;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure.big {
|
|
|
|
width: 1600px;
|
|
|
|
margin-left: -320px;
|
|
|
|
}
|
|
|
|
|
2018-10-23 01:15:50 -04:00
|
|
|
hr.post-end {
|
|
|
|
width: 30%;
|
|
|
|
}
|
2018-12-24 09:17:22 -05:00
|
|
|
|
|
|
|
#toc {
|
|
|
|
top: 15em;
|
|
|
|
margin-left: 490px;
|
|
|
|
max-width: 300px;
|
|
|
|
}
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 760px) {
|
|
|
|
|
|
|
|
.hide-in-mobile,
|
|
|
|
.site-nav.hide-in-mobile {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-12-28 09:52:23 -05:00
|
|
|
#menu-btn {
|
2018-10-23 01:15:50 -04:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.posts-group {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
.post-year {
|
|
|
|
margin: -6px 0 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#spotlight.error-404 {
|
|
|
|
flex-direction: column;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.banner-404 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 520px) {
|
|
|
|
|
2018-12-15 11:02:21 -05:00
|
|
|
.content figure.left,
|
|
|
|
.content figure.right {
|
2018-10-23 01:15:50 -04:00
|
|
|
float: unset;
|
2018-12-15 11:02:21 -05:00
|
|
|
max-width: 100%;
|
2018-10-23 01:15:50 -04:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr.post-end {
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mobile-menu {
|
2023-11-04 09:07:47 -04:00
|
|
|
right: 4.2em;
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
2023-07-05 04:49:04 -04:00
|
|
|
#home-subtitle {
|
|
|
|
font-size: 0.5em;
|
|
|
|
}
|
2018-10-23 01:15:50 -04:00
|
|
|
}
|
2023-07-05 04:49:04 -04:00
|
|
|
|
|
|
|
// If homeSubtitlePrinter is true
|
|
|
|
{{ if .Site.Params.homeSubtitlePrinter }}
|
|
|
|
#home-subtitle{
|
|
|
|
overflow: hidden; /* Ensures the content is not revealed until the animation */
|
|
|
|
border-right: .5em solid $typewriter; /* The typwriter cursor */
|
|
|
|
white-space: nowrap; /* Keeps the content on a single line */
|
2023-09-11 09:51:01 -04:00
|
|
|
margin: 0 auto 1.5em auto; /* Gives that scrolling effect as the typing happens */
|
2023-07-05 04:49:04 -04:00
|
|
|
// letter-spacing: .100em; /* Adjust as needed */
|
2023-11-14 02:08:58 -05:00
|
|
|
animation: typing 5s steps({{ strings.RuneCount .Site.Params.homeSubtitle }}, end),blink-caret .75s linear 5.1s infinite;
|
2023-07-05 04:49:04 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* The typing effect */
|
|
|
|
@keyframes typing {
|
2023-07-21 12:43:24 -04:00
|
|
|
from {max-width: 0;}
|
|
|
|
to {max-width: 100%;}
|
2023-07-05 04:49:04 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* The typewriter cursor effect */
|
|
|
|
@keyframes blink-caret {
|
|
|
|
from, to { border-color: transparent }
|
|
|
|
50% { border-color: $typewriter}
|
|
|
|
}
|
|
|
|
{{ end }}
|