2020-07-06 18:55:32 +00:00
|
|
|
.gblog-markdown {
|
|
|
|
line-height: 1.6em;
|
|
|
|
|
|
|
|
> :first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--nested {
|
|
|
|
:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
> :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
b,
|
|
|
|
optgroup,
|
|
|
|
strong {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
2021-02-21 13:45:41 +00:00
|
|
|
border-radius: $border-radius;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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-02-21 13:48:07 +00:00
|
|
|
border-left: $border-4 solid $gray-200;
|
2020-07-06 18:55:32 +00:00
|
|
|
border-radius: $border-radius;
|
|
|
|
|
|
|
|
:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
overflow: auto;
|
2020-07-18 14:17:30 +00:00
|
|
|
display: table;
|
2020-07-06 18:55:32 +00:00
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
margin-top: $padding-16;
|
|
|
|
margin-bottom: $padding-16;
|
2020-07-18 14:17:30 +00:00
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
thead {
|
2021-02-21 21:39:34 +00:00
|
|
|
border-bottom: $border-2 solid $gray-200;
|
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-02-21 21:39:34 +00:00
|
|
|
border-bottom: $border-1 solid $gray-200;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tr:nth-child(2n) {
|
|
|
|
background: $gray-100;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2021-02-21 13:52:25 +00:00
|
|
|
height: $padding-2;
|
2020-07-06 18:55:32 +00:00
|
|
|
border: none;
|
|
|
|
background: $gray-200;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
padding-left: $padding-16 * 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl {
|
|
|
|
dt {
|
|
|
|
font-weight: bolder;
|
|
|
|
margin-top: $padding-16;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
margin-left: $padding-16 * 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
background-color: $color-code;
|
|
|
|
font-size: 0.85em;
|
|
|
|
line-height: 1.45;
|
|
|
|
padding: 0.2em 0.4em;
|
|
|
|
}
|
|
|
|
|
2021-05-23 12:57:44 +00:00
|
|
|
pre code {
|
2020-07-06 18:55:32 +00:00
|
|
|
display: block;
|
|
|
|
padding: 1rem;
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2020-07-13 20:11:38 +00:00
|
|
|
|
|
|
|
mark {
|
|
|
|
background-color: rgba(255, 221, 102, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
section.footnotes {
|
|
|
|
margin-top: 3rem;
|
|
|
|
color: $gray-600;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|