2021-09-01 06:15:13 +00:00
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2021-03-11 04:19:37 +00:00
|
|
|
.text {
|
|
|
|
@include usevar(background-color, text-background);
|
|
|
|
}
|
|
|
|
|
|
|
|
.underline {
|
|
|
|
text-decoration:underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.monospace {
|
2021-07-30 22:32:19 +00:00
|
|
|
font-family: $monospace-fonts;
|
2021-03-11 04:19:37 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
|
|
padding: 0.2em 0 0.05em;
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
|
|
&::before, &::after {
|
|
|
|
content: "\00a0";
|
|
|
|
letter-spacing: -0.2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.left {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.justify {
|
|
|
|
text-align:justify;
|
|
|
|
-webkit-hyphens:manual;
|
|
|
|
-moz-hyphens:manual;
|
|
|
|
-ms-hyphens:manual;
|
|
|
|
hyphens:manual;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spoiler {
|
|
|
|
@include usevar(border-color, spoiler-border);
|
|
|
|
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: dashed;
|
|
|
|
color: transparent;
|
|
|
|
|
|
|
|
&::selection {
|
|
|
|
color: white;
|
|
|
|
background-color: black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-01 06:15:13 +00:00
|
|
|
blockquote {
|
|
|
|
@extend .b--dimmest;
|
|
|
|
@extend .ml2, .pl2, .mr0;
|
|
|
|
@extend .bl;
|
|
|
|
|
|
|
|
.quotewho {
|
|
|
|
line-height: 2em;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: " said:";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-11 04:19:37 +00:00
|
|
|
pre {
|
2021-07-30 22:32:19 +00:00
|
|
|
font-family: $monospace-fonts;
|
2021-03-11 04:19:37 +00:00
|
|
|
}
|
2021-06-23 03:52:04 +00:00
|
|
|
|
2021-09-01 06:15:13 +00:00
|
|
|
.post-content {
|
|
|
|
* {
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5 {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
@extend .mh3;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.code {
|
|
|
|
@extend .b--dimmer;
|
|
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 20em;
|
|
|
|
max-height: 80vh;
|
|
|
|
overflow: auto;
|
|
|
|
-moz-tab-size: 4;
|
|
|
|
tab-size: 4;
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
div + br,
|
|
|
|
blockquote + br,
|
|
|
|
ul + br,
|
|
|
|
ol + br,
|
|
|
|
{
|
|
|
|
display: none;
|
|
|
|
}
|
2021-06-23 03:52:04 +00:00
|
|
|
|
2021-09-01 06:15:13 +00:00
|
|
|
table {
|
|
|
|
@extend .mv2;
|
|
|
|
}
|
|
|
|
|
|
|
|
th, td {
|
|
|
|
@extend .ph2, .pv1;
|
|
|
|
@extend .ba, .b--dimmest;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
@extend .bg--dim;
|
|
|
|
@extend .br2;
|
|
|
|
|
|
|
|
padding: .2em 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&::before, &::after {
|
|
|
|
content: "\00a0";
|
|
|
|
letter-spacing: -0.2em;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre > code, pre.hmn-code {
|
|
|
|
@extend .bg--dim;
|
|
|
|
@extend .br2;
|
|
|
|
|
|
|
|
padding: 0.7em;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
2021-08-28 17:07:45 +00:00
|
|
|
}
|