2020-07-06 18:55:32 +00:00
|
|
|
.gblog-markdown {
|
2023-02-16 09:38:45 +00:00
|
|
|
line-height: $padding-24;
|
2020-07-06 18:55:32 +00:00
|
|
|
|
2021-11-23 15:53:25 +00:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
> code {
|
|
|
|
border-top: $border-4 solid var(--accent-color);
|
2023-02-16 09:38:45 +00:00
|
|
|
font-size: $font-size-12 !important;
|
2021-11-23 15:53:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
> code {
|
2023-02-16 09:38:45 +00:00
|
|
|
font-size: $font-size-14 !important;
|
2021-11-23 15:53:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-06 18:55:32 +00:00
|
|
|
b,
|
|
|
|
optgroup,
|
|
|
|
strong {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
|
2021-05-23 13:09:01 +00:00
|
|
|
&__link--raw {
|
|
|
|
text-decoration: none !important;
|
|
|
|
color: $body-font-color !important;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: none !important;
|
|
|
|
color: $body-font-color !important;
|
|
|
|
text-decoration: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:visited {
|
|
|
|
color: $body-font-color !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-02 21:27:10 +00:00
|
|
|
&__link--code {
|
|
|
|
text-decoration: none;
|
|
|
|
code {
|
|
|
|
color: inherit !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: none;
|
|
|
|
color: var(--link-color) !important;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:visited,
|
|
|
|
&:visited:hover {
|
|
|
|
color: var(--link-color-visited) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-23 15:53:25 +00:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
}
|
|
|
|
|
2020-07-06 18:55:32 +00:00
|
|
|
blockquote {
|
|
|
|
margin: $padding-16 0;
|
|
|
|
padding: $padding-8 $padding-16 $padding-8 ($padding-16 - $padding-4); //to keep total left space 16dp
|
|
|
|
|
2021-11-23 15:53:25 +00:00
|
|
|
border-left: $border-4 solid var(--accent-color);
|
2020-07-06 18:55:32 +00:00
|
|
|
border-radius: $border-radius;
|
|
|
|
}
|
|
|
|
|
2021-11-23 15:53:25 +00:00
|
|
|
table:not(.lntable) {
|
2020-07-18 14:17:30 +00:00
|
|
|
display: table;
|
2020-07-06 18:55:32 +00:00
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
2023-02-16 09:38:45 +00:00
|
|
|
margin: $padding-16 0;
|
2020-07-18 14:17:30 +00:00
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
thead {
|
2021-11-23 15:53:25 +00:00
|
|
|
border-bottom: $border-4 solid var(--accent-color);
|
2020-07-18 14:17:30 +00:00
|
|
|
}
|
2020-07-06 18:55:32 +00:00
|
|
|
|
|
|
|
tr th,
|
|
|
|
tr td {
|
|
|
|
padding: $padding-8 $padding-16;
|
2020-07-18 14:17:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
2021-11-23 15:53:25 +00:00
|
|
|
border-bottom: $border-2 solid var(--accent-color);
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tr:nth-child(2n) {
|
2021-11-23 15:53:25 +00:00
|
|
|
background: var(--accent-color-lite);
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2021-11-23 15:53:25 +00:00
|
|
|
height: $border-2;
|
2020-07-06 18:55:32 +00:00
|
|
|
border: none;
|
2021-11-23 15:53:25 +00:00
|
|
|
background: var(--accent-color);
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
2022-04-30 12:32:07 +00:00
|
|
|
padding-left: $padding-32;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dl {
|
|
|
|
dt {
|
|
|
|
font-weight: bolder;
|
|
|
|
margin-top: $padding-16;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
2022-04-30 12:32:07 +00:00
|
|
|
margin-left: $padding-32;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-10 20:16:14 +00:00
|
|
|
code {
|
2023-02-16 09:38:45 +00:00
|
|
|
padding: $padding-4 $padding-8;
|
2022-06-10 20:16:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre,
|
2020-07-06 18:55:32 +00:00
|
|
|
code {
|
2021-11-23 15:53:25 +00:00
|
|
|
background-color: var(--code-background);
|
|
|
|
border-radius: $border-radius;
|
|
|
|
color: var(--code-font-color);
|
2023-02-16 09:38:45 +00:00
|
|
|
font-size: $font-size-14;
|
|
|
|
line-height: $padding-16;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
2021-05-23 12:57:44 +00:00
|
|
|
pre code {
|
2020-07-06 18:55:32 +00:00
|
|
|
display: block;
|
2023-02-16 09:38:45 +00:00
|
|
|
padding: $padding-16;
|
2020-07-06 18:55:32 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
2020-07-13 20:11:38 +00:00
|
|
|
|
|
|
|
mark {
|
2021-11-23 15:53:25 +00:00
|
|
|
background-color: var(--mark-color);
|
2020-07-13 20:11:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
section.footnotes {
|
2023-02-16 09:38:45 +00:00
|
|
|
margin-top: $padding-32;
|
2021-11-23 15:53:25 +00:00
|
|
|
color: var(--body-font-color);
|
|
|
|
font-size: $font-size-14;
|
2020-07-13 20:11:38 +00:00
|
|
|
}
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|