2020-02-13 18:30:33 +01:00
|
|
|
/** Single **/
|
|
|
|
.single {
|
|
|
|
.single-title {
|
2020-02-13 06:30:58 +01:00
|
|
|
margin: 0;
|
|
|
|
font-size: 1.8rem;
|
|
|
|
line-height: 3rem;
|
2019-08-11 19:36:19 +02:00
|
|
|
}
|
|
|
|
|
2020-02-21 05:49:55 +01:00
|
|
|
.post-meta {
|
|
|
|
font-size: .875rem;
|
2020-02-13 06:30:58 +01:00
|
|
|
color: $global-font-secondary-color;
|
2019-08-11 19:36:19 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2019-08-16 21:40:34 +02:00
|
|
|
|
2019-08-11 19:36:19 +02:00
|
|
|
.dark-theme & {
|
2020-02-13 06:30:58 +01:00
|
|
|
color: $global-font-secondary-color-dark;
|
2019-08-11 19:36:19 +02:00
|
|
|
}
|
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
a {
|
2020-02-13 18:30:33 +01:00
|
|
|
color: $single-link-color;
|
2019-08-11 19:36:19 +02:00
|
|
|
|
|
|
|
.dark-theme & {
|
2020-02-13 18:30:33 +01:00
|
|
|
color: $single-link-color-dark;
|
2019-08-11 19:36:19 +02:00
|
|
|
}
|
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
&:hover {
|
2020-02-13 18:30:33 +01:00
|
|
|
color: $single-link-hover-color;
|
2019-08-11 19:36:19 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.dark-theme & {
|
2020-02-13 18:30:33 +01:00
|
|
|
color: $single-link-hover-color-dark;
|
2020-02-13 06:30:58 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-08-24 13:32:41 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.author {
|
|
|
|
font-size: 1.05rem;
|
|
|
|
}
|
2019-08-24 13:32:41 +02:00
|
|
|
}
|
2019-08-22 20:01:22 +02:00
|
|
|
|
2020-02-13 18:30:33 +01:00
|
|
|
.featured-image {
|
2020-02-13 06:30:58 +01:00
|
|
|
padding-top: .6rem;
|
2019-08-19 21:01:15 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
margin: 0 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2019-08-21 19:22:33 +02:00
|
|
|
}
|
|
|
|
|
2020-02-13 18:30:33 +01:00
|
|
|
@import "../_partial/_single/toc";
|
2020-02-03 13:47:49 +01:00
|
|
|
|
2020-02-13 18:30:33 +01:00
|
|
|
.content {
|
2020-02-13 06:30:58 +01:00
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-weight: bold;
|
2020-02-15 20:03:18 +01:00
|
|
|
margin: 1.2rem 0;
|
2019-08-11 19:36:19 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.dark-theme & {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
2019-08-11 19:36:19 +02:00
|
|
|
|
2020-02-15 20:03:18 +01:00
|
|
|
& > a:first-child::before {
|
|
|
|
content: "|";
|
|
|
|
margin-right: .3125rem;
|
|
|
|
color: $single-link-color;
|
2019-08-24 13:32:41 +02:00
|
|
|
|
2020-02-15 20:03:18 +01:00
|
|
|
.dark-theme & {
|
|
|
|
color: $single-link-color-dark;
|
|
|
|
}
|
2020-02-13 06:30:58 +01:00
|
|
|
}
|
|
|
|
}
|
2019-08-11 19:36:19 +02:00
|
|
|
|
2020-02-21 16:42:35 +01:00
|
|
|
h2 > a:first-child::before {
|
|
|
|
content: "#";
|
|
|
|
}
|
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
p {
|
|
|
|
font-size: 1rem;
|
|
|
|
margin: .5rem 0;
|
2019-08-11 19:36:19 +02:00
|
|
|
}
|
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
a {
|
2020-02-13 18:30:33 +01:00
|
|
|
word-break: break-all;
|
2020-03-08 14:02:21 +01:00
|
|
|
word-break: break-word;
|
2020-02-13 18:30:33 +01:00
|
|
|
color: $single-link-color;
|
2019-08-11 19:36:19 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.dark-theme & {
|
2020-02-13 18:30:33 +01:00
|
|
|
color: $single-link-color-dark;
|
2020-02-13 06:30:58 +01:00
|
|
|
}
|
2019-08-18 19:36:52 +02:00
|
|
|
}
|
2019-08-17 17:16:09 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
a:hover {
|
2020-02-13 18:30:33 +01:00
|
|
|
color: $single-link-hover-color;
|
2019-08-17 17:16:09 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.dark-theme &:hover {
|
2020-02-13 18:30:33 +01:00
|
|
|
color: $single-link-hover-color-dark;
|
2020-02-13 06:30:58 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
2019-08-19 07:26:39 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
ul {
|
|
|
|
padding-left: 2rem;
|
|
|
|
list-style-type: disc;
|
2019-08-19 07:26:39 +02:00
|
|
|
}
|
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
ruby {
|
|
|
|
background: $code-background-color;
|
2019-08-19 07:26:39 +02:00
|
|
|
|
|
|
|
rt {
|
2020-02-13 06:30:58 +01:00
|
|
|
color: $global-font-secondary-color;
|
2019-08-19 07:26:39 +02:00
|
|
|
}
|
2020-02-01 12:47:58 +01:00
|
|
|
|
|
|
|
.dark-theme & {
|
2020-02-13 06:30:58 +01:00
|
|
|
background: $code-background-color-dark;
|
|
|
|
|
|
|
|
rt {
|
|
|
|
color: $global-font-secondary-color-dark;
|
|
|
|
}
|
2020-02-01 12:47:58 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.table-wrapper {
|
|
|
|
overflow-x: auto;
|
2019-08-17 17:16:09 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
&::-webkit-scrollbar {
|
|
|
|
background-color: $table-background-color;
|
2019-08-17 17:16:09 +02:00
|
|
|
|
2019-08-18 19:36:52 +02:00
|
|
|
.dark-theme & {
|
2020-02-13 06:30:58 +01:00
|
|
|
background-color: $table-background-color-dark;
|
2019-08-17 17:16:09 +02:00
|
|
|
}
|
2019-08-11 19:36:19 +02:00
|
|
|
}
|
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
> table {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
margin: .625rem 0;
|
|
|
|
border-spacing: 0;
|
|
|
|
background: $table-background-color;
|
2019-08-11 19:36:19 +02:00
|
|
|
|
2019-08-18 19:36:52 +02:00
|
|
|
.dark-theme & {
|
2020-02-13 06:30:58 +01:00
|
|
|
background: $table-background-color-dark;
|
2019-08-18 19:36:52 +02:00
|
|
|
}
|
2019-08-11 19:36:19 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
thead {
|
|
|
|
background: $table-thead-color;
|
2019-08-11 19:36:19 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.dark-theme & {
|
|
|
|
background-color: $table-thead-color-dark;
|
|
|
|
}
|
|
|
|
}
|
2019-08-11 19:36:19 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
th, td {
|
|
|
|
padding: .3rem 1rem;
|
|
|
|
border: 1px double $global-border-color;
|
2019-08-16 21:40:34 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.dark-theme & {
|
|
|
|
border: 1px double $global-border-color-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
figure {
|
2019-08-18 19:36:52 +02:00
|
|
|
text-align: center;
|
2019-08-16 21:40:34 +02:00
|
|
|
|
2020-02-24 10:00:39 +01:00
|
|
|
.image-caption:not(:empty) {
|
|
|
|
min-width: 20%;
|
|
|
|
max-width: 80%;
|
|
|
|
display: inline-block;
|
|
|
|
padding: .625rem;
|
|
|
|
margin: 0 auto;
|
|
|
|
border-bottom: 1px solid #d9d9d9;
|
|
|
|
font-size: .875rem;
|
|
|
|
color: #969696;
|
|
|
|
line-height: 1.7;
|
|
|
|
}
|
|
|
|
|
2020-03-08 14:02:21 +01:00
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
max-width: 96%;
|
|
|
|
height: auto;
|
|
|
|
margin: 0 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2020-02-24 10:00:39 +01:00
|
|
|
a.lightgallery:hover img {
|
|
|
|
transform: scale(1.02);
|
|
|
|
}
|
2019-08-18 19:36:52 +02:00
|
|
|
}
|
2019-08-19 15:14:15 +02:00
|
|
|
|
2020-02-24 10:00:39 +01:00
|
|
|
.lazyloading {
|
|
|
|
object-fit: none;
|
2020-02-13 06:30:58 +01:00
|
|
|
}
|
2019-08-16 21:40:34 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
blockquote {
|
|
|
|
font-size: 1rem;
|
|
|
|
display: block;
|
|
|
|
border-width: 1px 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: $global-border-color;
|
|
|
|
padding: 1.5em 1.2em 0.5em 1.2em;
|
|
|
|
margin: 0 0 2em 0;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '\201C';
|
|
|
|
position: absolute;
|
|
|
|
top: 0em;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
width: 3rem;
|
|
|
|
height: 2rem;
|
|
|
|
font: 6em/1.08em 'PT Sans', sans-serif;
|
2020-02-13 18:30:33 +01:00
|
|
|
color: $single-link-color;
|
2020-02-13 06:30:58 +01:00
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.dark-theme & {
|
2020-02-13 18:30:33 +01:00
|
|
|
color: $single-link-color-dark;
|
2020-02-13 06:30:58 +01:00
|
|
|
}
|
2019-08-16 21:40:34 +02:00
|
|
|
}
|
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
&::after {
|
|
|
|
content: '#blockquote' attr(cite);
|
|
|
|
display: block;
|
|
|
|
text-align: right;
|
|
|
|
font-size: 0.875em;
|
2020-02-13 18:30:33 +01:00
|
|
|
color: $single-link-color;
|
2019-08-11 19:36:19 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.dark-theme & {
|
2020-02-13 18:30:33 +01:00
|
|
|
color: $single-link-color-dark;
|
2020-02-13 06:30:58 +01:00
|
|
|
}
|
|
|
|
}
|
2020-01-31 11:46:28 +01:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.dark-theme & {
|
|
|
|
border-color: $global-border-color-dark;
|
|
|
|
}
|
2020-01-31 11:46:28 +01:00
|
|
|
}
|
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.footnotes {
|
|
|
|
color: $global-font-secondary-color;
|
2019-08-17 17:16:09 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.dark-theme & {
|
|
|
|
color: $global-font-secondary-color-dark;
|
|
|
|
}
|
|
|
|
}
|
2019-11-23 18:10:17 +01:00
|
|
|
|
2020-02-13 18:30:33 +01:00
|
|
|
@import "../_partial/_single/code";
|
|
|
|
@import "../_partial/_single/admonition";
|
2019-08-17 17:16:09 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.echarts {
|
2019-08-17 17:16:09 +02:00
|
|
|
width: 100%;
|
2020-02-13 06:30:58 +01:00
|
|
|
height: 30rem;
|
|
|
|
margin: 3% auto;
|
|
|
|
text-align: center;
|
2019-08-17 17:16:09 +02:00
|
|
|
}
|
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.bilibili {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 0;
|
|
|
|
padding-bottom: 75%;
|
|
|
|
margin: 3% auto;
|
|
|
|
text-align: center;
|
2019-08-17 17:16:09 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
iframe {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
2019-08-17 17:16:09 +02:00
|
|
|
}
|
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
hr {
|
|
|
|
margin: 1rem 0;
|
|
|
|
position: relative;
|
|
|
|
border-top: 1px dashed $global-border-color;
|
|
|
|
border-bottom: none;
|
2019-08-17 17:16:09 +02:00
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.dark-theme & {
|
|
|
|
border-top: 1px dashed $global-border-color-dark;
|
|
|
|
}
|
2019-08-17 17:16:09 +02:00
|
|
|
}
|
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
kbd {
|
|
|
|
display: inline-block;
|
|
|
|
padding: .25rem;
|
|
|
|
background-color: $global-background-color;
|
|
|
|
border: 1px solid $global-border-color;
|
|
|
|
border-bottom-color: $global-border-color;
|
|
|
|
border-radius: 3px;
|
|
|
|
-webkit-box-shadow: inset 0 -1px 0 $global-border-color;
|
|
|
|
box-shadow: inset 0 -1px 0 $global-border-color;
|
|
|
|
font-size: .8rem;
|
2020-01-31 11:46:28 +01:00
|
|
|
font-family: $code-font-family;
|
2020-02-13 06:30:58 +01:00
|
|
|
color: $code-color;
|
|
|
|
|
|
|
|
.dark-theme & {
|
|
|
|
background-color: $global-background-color-dark;
|
|
|
|
border: 1px solid $global-border-color-dark;
|
|
|
|
border-bottom-color: $global-border-color-dark;
|
|
|
|
-webkit-box-shadow: inset 0 -1px 0 $global-border-color-dark;
|
|
|
|
box-shadow: inset 0 -1px 0 $global-border-color-dark;
|
|
|
|
color: $code-color-dark;
|
|
|
|
}
|
2019-08-11 19:36:19 +02:00
|
|
|
}
|
|
|
|
|
2020-02-13 06:30:58 +01:00
|
|
|
.typeit {
|
|
|
|
.code {
|
|
|
|
padding: .375rem;
|
|
|
|
font-size: .875rem;
|
|
|
|
font-family: $code-font-family;
|
|
|
|
font-weight: bold;
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-08-11 19:36:19 +02:00
|
|
|
|
2020-02-13 18:30:33 +01:00
|
|
|
@import "../_partial/_single/footer";
|
|
|
|
@import "../_partial/_single/comment";
|
2020-02-13 06:30:58 +01:00
|
|
|
}
|