2020-01-12 14:33:02 +00:00
|
|
|
.gdoc-markdown {
|
|
|
|
line-height: 1.6em;
|
|
|
|
|
|
|
|
> :first-child {
|
2021-11-13 12:57:06 +00:00
|
|
|
margin-top: 0 !important;
|
2020-01-12 14:33:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--nested {
|
2020-05-31 16:20:39 +00:00
|
|
|
:first-child {
|
2022-02-03 09:58:37 +00:00
|
|
|
margin-top: 0 !important;
|
2020-01-12 14:33:02 +00:00
|
|
|
}
|
2021-11-13 12:57:06 +00:00
|
|
|
|
|
|
|
> pre {
|
|
|
|
margin-top: 0 !important;
|
|
|
|
}
|
|
|
|
|
2020-01-12 14:33:02 +00:00
|
|
|
> :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2020-09-17 20:44:42 +00:00
|
|
|
> code {
|
2021-04-27 21:44:35 +00:00
|
|
|
border-top: $border-4 solid var(--accent-color);
|
2020-09-17 20:44:42 +00:00
|
|
|
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;
|
2021-02-21 21:34:34 +00:00
|
|
|
border-bottom: $border-1 solid transparent;
|
2020-01-12 14:33:02 +00:00
|
|
|
line-height: 1em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-21 13:04:40 +00:00
|
|
|
&__link--raw {
|
2021-02-24 15:38:18 +00:00
|
|
|
text-decoration: none !important;
|
|
|
|
color: $body-font-color !important;
|
2021-02-21 13:04:40 +00:00
|
|
|
|
|
|
|
&:hover {
|
2021-02-24 15:38:18 +00:00
|
|
|
text-decoration: none !important;
|
2021-02-21 13:04:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:visited {
|
2021-02-24 15:38:18 +00:00
|
|
|
color: $body-font-color !important;
|
2021-02-21 13:04:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-03 10:42:26 +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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-06 12:58:10 +00:00
|
|
|
&__figure {
|
|
|
|
padding: $padding-4;
|
|
|
|
margin: $padding-16 0;
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
display: table;
|
|
|
|
border-top-left-radius: $border-radius;
|
|
|
|
border-top-right-radius: $border-radius;
|
|
|
|
|
|
|
|
figcaption {
|
|
|
|
display: table-caption;
|
|
|
|
caption-side: bottom;
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
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
|
|
|
img {
|
|
|
|
max-width: 100%;
|
2021-02-20 20:39:31 +00:00
|
|
|
border-radius: $border-radius;
|
|
|
|
}
|
|
|
|
|
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-04-27 21:44:35 +00:00
|
|
|
border-left: $border-4 solid var(--accent-color);
|
2020-01-12 14:33:02 +00:00
|
|
|
border-radius: $border-radius;
|
|
|
|
|
|
|
|
:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-02 12:06:24 +00:00
|
|
|
table:not(.lntable) {
|
2021-05-08 20:44:52 +00:00
|
|
|
display: table;
|
2020-01-12 14:33:02 +00:00
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
margin-top: $padding-16;
|
|
|
|
margin-bottom: $padding-16;
|
2021-05-08 20:44:52 +00:00
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
thead {
|
|
|
|
border-bottom: $border-4 solid var(--accent-color);
|
|
|
|
}
|
2020-01-12 14:33:02 +00:00
|
|
|
|
|
|
|
tr th,
|
|
|
|
tr td {
|
|
|
|
padding: $padding-8 $padding-16;
|
2021-05-08 20:44:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
border-bottom: $border-2 solid var(--accent-color);
|
2020-01-12 14:33:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tr:nth-child(2n) {
|
2021-04-27 21:44:35 +00:00
|
|
|
background: var(--accent-color-lite);
|
2020-01-12 14:33:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2021-04-27 21:44:35 +00:00
|
|
|
height: $border-2;
|
2020-01-12 14:33:02 +00:00
|
|
|
border: none;
|
2021-04-27 21:44:35 +00:00
|
|
|
background: var(--accent-color);
|
2020-01-12 14:33:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
2022-04-23 13:14:42 +00:00
|
|
|
padding-left: $padding-32;
|
2020-01-12 14:33:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dl {
|
|
|
|
dt {
|
|
|
|
font-weight: bolder;
|
|
|
|
margin-top: $padding-16;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
2022-04-23 13:14:42 +00:00
|
|
|
margin-left: $padding-32;
|
2020-01-12 14:33:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2021-04-27 21:44:35 +00:00
|
|
|
background-color: var(--code-background);
|
2021-07-05 06:42:48 +00:00
|
|
|
border-radius: $border-radius;
|
|
|
|
color: var(--code-font-color);
|
2020-01-12 14:33:02 +00:00
|
|
|
font-size: 0.85em;
|
2021-04-27 21:44:35 +00:00
|
|
|
line-height: 1.45em;
|
2020-01-12 14:33:02 +00:00
|
|
|
padding: 0.2em 0.4em;
|
|
|
|
}
|
|
|
|
|
2021-02-23 08:55:39 +00:00
|
|
|
pre code {
|
2020-01-12 14:33:02 +00:00
|
|
|
display: block;
|
|
|
|
padding: 1rem;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-05-18 22:00:57 +00:00
|
|
|
|
2021-11-24 08:10:26 +00:00
|
|
|
mark {
|
|
|
|
background-color: var(--mark-color);
|
|
|
|
}
|
|
|
|
|
2021-05-18 22:00:57 +00:00
|
|
|
&__align {
|
|
|
|
&--left {
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--center {
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--right {
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
2020-01-12 14:33:02 +00:00
|
|
|
}
|