2017-08-27 14:38:42 +00:00
|
|
|
// ==============================
|
|
|
|
// Post content
|
|
|
|
// ==============================
|
|
|
|
|
|
|
|
.post-content {
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
|
|
|
@for $i from 1 through 6 {
|
|
|
|
h#{$i} {
|
|
|
|
font-weight: 400;
|
|
|
|
font-family: $global-serif-font-family;
|
2018-11-05 14:46:34 +00:00
|
|
|
|
|
|
|
.anchor {
|
|
|
|
float: left;
|
|
|
|
line-height: 1;
|
|
|
|
margin-left: -20px;
|
|
|
|
padding-right: 4px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-bottom: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-link {
|
|
|
|
visibility: hidden;
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.icon-link {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
2017-08-27 14:38:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $theme-color;
|
|
|
|
word-break: break-all;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-bottom: $content-link-border;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.fancybox {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
margin: 2em 0;
|
|
|
|
padding: 10px 20px;
|
|
|
|
position: relative;
|
|
|
|
color: rgba(#34495e, 0.8);
|
|
|
|
background-color: $content-blockquote-backgroud;
|
|
|
|
border-left: $content-blockquote-border-left;
|
|
|
|
box-shadow: 1px 1px 2px rgba(0,0,0,0.125);
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-11-05 13:01:56 +00:00
|
|
|
.table-wrapper {
|
|
|
|
overflow-x: auto;
|
2017-09-11 09:50:21 +00:00
|
|
|
|
2018-11-05 13:01:56 +00:00
|
|
|
> table {
|
|
|
|
max-width: 100%;
|
|
|
|
margin: 10px 0;
|
|
|
|
border-spacing: 0;
|
|
|
|
box-shadow: 2px 2px 3px rgba(0,0,0,.125);
|
2017-09-11 09:50:21 +00:00
|
|
|
|
2018-11-05 13:01:56 +00:00
|
|
|
thead {
|
|
|
|
background: $deputy-color;
|
|
|
|
}
|
2017-09-11 09:50:21 +00:00
|
|
|
|
2018-11-05 13:01:56 +00:00
|
|
|
th, td {
|
|
|
|
padding: 5px 15px;
|
|
|
|
border: 1px double $content-table-border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr:hover {
|
|
|
|
background-color: $deputy-color;
|
|
|
|
}
|
2017-09-11 09:50:21 +00:00
|
|
|
}
|
2017-08-27 14:38:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@import 'code';
|
2018-11-05 07:48:44 +00:00
|
|
|
@import 'admonition';
|
2017-08-27 14:38:42 +00:00
|
|
|
|
2017-09-10 13:17:26 +00:00
|
|
|
.post-summary {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2017-08-27 14:38:42 +00:00
|
|
|
.read-more {
|
|
|
|
.read-more-link {
|
|
|
|
color: $theme-color;
|
|
|
|
font-size: 1.1em;
|
|
|
|
font-family: $global-serif-font-family;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-bottom: $post-readMore-border-bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
kbd {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0.25em;
|
|
|
|
background-color: #fafafa;
|
|
|
|
border: 1px solid #dbdbdb;
|
|
|
|
border-bottom-color: #b5b5b5;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: inset 0 -1px 0 #b5b5b5;
|
|
|
|
font-size: 0.8em;
|
|
|
|
line-height: 1.25;
|
|
|
|
font-family: "SFMono-Regular","Liberation Mono","Roboto Mono",Menlo,Monaco,Consolas,"Courier New",Courier,monospace;
|
|
|
|
color: #4a4a4a;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl dt::after {
|
|
|
|
content: ':';
|
|
|
|
}
|
|
|
|
|
2017-11-01 14:25:41 +00:00
|
|
|
figure {
|
|
|
|
&.center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-02-01 13:31:05 +00:00
|
|
|
&.right {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.left {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2017-11-01 14:25:41 +00:00
|
|
|
figcaption h4 {
|
|
|
|
color: #b5b5b5;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
2017-08-27 14:38:42 +00:00
|
|
|
}
|
|
|
|
|
2018-07-06 14:25:35 +00:00
|
|
|
hr {
|
|
|
|
margin: 1rem 0;
|
|
|
|
position: relative;
|
|
|
|
border-top: 2px dashed $theme-color;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2018-11-05 07:48:44 +00:00
|
|
|
.footnote-ref {
|
|
|
|
> a {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-left: 3px;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: "[";
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: "]";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-27 14:38:42 +00:00
|
|
|
.task-list {
|
|
|
|
list-style: none;
|
|
|
|
padding-left: 1.5rem;
|
|
|
|
}
|
2018-02-01 13:28:11 +00:00
|
|
|
|
|
|
|
.align-center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.align-right {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.align-left {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2018-02-22 07:53:33 +00:00
|
|
|
|
|
|
|
.MJXc-display {
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
2019-02-14 12:50:34 +00:00
|
|
|
padding-right: 1px;
|
2018-02-22 07:53:33 +00:00
|
|
|
}
|
2017-08-27 14:38:42 +00:00
|
|
|
}
|