2020-01-12 14:33:02 +00:00
|
|
|
.gdoc-markdown {
|
|
|
|
line-height: 1.6em;
|
|
|
|
|
|
|
|
> :first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--nested {
|
2020-05-31 16:20:39 +00:00
|
|
|
:first-child {
|
2020-01-12 14:33:02 +00:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
> :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2020-09-17 20:44:42 +00:00
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
> code {
|
|
|
|
border-top: 3px solid $gray-300;
|
|
|
|
font-size: 0.75em !important;
|
|
|
|
}
|
2020-01-12 14:33:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2020-09-17 20:44:42 +00:00
|
|
|
> code {
|
|
|
|
font-size: 0.8rem !important;
|
|
|
|
}
|
2020-01-12 14:33:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
b,
|
|
|
|
optgroup,
|
|
|
|
strong {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
|
2021-02-21 13:04:40 +00:00
|
|
|
a,
|
|
|
|
&__link {
|
2020-01-12 14:33:02 +00:00
|
|
|
text-decoration: none;
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
line-height: 1em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-21 13:04:40 +00:00
|
|
|
&__link--raw {
|
|
|
|
text-decoration: none;
|
|
|
|
color: $body-font-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:visited {
|
|
|
|
color: $body-font-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-12 14:33:02 +00:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
2021-02-20 20:39:31 +00:00
|
|
|
border-radius: $border-radius;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__figure {
|
|
|
|
padding: $padding-4;
|
|
|
|
margin: $padding-16 0;
|
|
|
|
background-color: $gray-300;
|
|
|
|
display: table;
|
|
|
|
border-top-left-radius: $border-radius;
|
|
|
|
border-top-right-radius: $border-radius;
|
|
|
|
|
|
|
|
figcaption {
|
|
|
|
display: table-caption;
|
|
|
|
caption-side: bottom;
|
|
|
|
background-color: $gray-300;
|
|
|
|
padding: 0 $padding-4 $padding-4;
|
|
|
|
text-align: center;
|
|
|
|
border-bottom-left-radius: $border-radius;
|
|
|
|
border-bottom-right-radius: $border-radius;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
2020-01-12 14:33:02 +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:44:44 +00:00
|
|
|
border-left: $border-4 solid $gray-200;
|
2020-01-12 14:33:02 +00:00
|
|
|
border-radius: $border-radius;
|
|
|
|
|
|
|
|
:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
overflow: auto;
|
|
|
|
display: block;
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
margin-top: $padding-16;
|
|
|
|
margin-bottom: $padding-16;
|
|
|
|
|
|
|
|
tr th,
|
|
|
|
tr td {
|
|
|
|
padding: $padding-8 $padding-16;
|
2021-02-21 13:44:44 +00:00
|
|
|
border: $border-2 solid $gray-200;
|
2020-01-12 14:33:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tr:nth-child(2n) {
|
|
|
|
background: $gray-100;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2021-02-21 13:44:44 +00:00
|
|
|
height: $padding-2;
|
2020-01-12 14:33:02 +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;
|
|
|
|
}
|
|
|
|
|
|
|
|
> pre code {
|
|
|
|
display: block;
|
|
|
|
padding: 1rem;
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
}
|