2017-07-23 18:42:08 +00:00
|
|
|
@import './variables';
|
|
|
|
|
|
|
|
.markdown-highlighting {
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light;
|
|
|
|
caret-color: $editor-color-light-low;
|
2018-01-10 21:45:34 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark;
|
|
|
|
caret-color: $editor-color-dark-low;
|
|
|
|
}
|
|
|
|
|
2017-07-23 18:42:08 +00:00
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
-webkit-font-smoothing: auto;
|
|
|
|
-moz-osx-font-smoothing: auto;
|
|
|
|
font-weight: $editor-font-weight-base;
|
|
|
|
|
|
|
|
.code {
|
|
|
|
font-family: $font-family-monospace;
|
|
|
|
font-size: $font-size-monospace;
|
|
|
|
|
|
|
|
* {
|
|
|
|
font-size: inherit !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pre {
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light;
|
2018-01-10 21:45:34 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark;
|
|
|
|
}
|
|
|
|
|
2017-07-23 18:42:08 +00:00
|
|
|
font-family: $font-family-monospace;
|
|
|
|
font-size: $font-size-monospace;
|
|
|
|
|
|
|
|
[class*='language-'] {
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light-low;
|
2018-01-10 21:45:34 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark-low;
|
|
|
|
}
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
font-size: inherit !important;
|
|
|
|
}
|
2017-11-10 23:39:51 +00:00
|
|
|
|
|
|
|
&,
|
|
|
|
* {
|
|
|
|
line-height: $line-height-title;
|
|
|
|
}
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tag {
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light;
|
2018-01-10 21:45:34 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark;
|
|
|
|
}
|
|
|
|
|
2017-07-23 18:42:08 +00:00
|
|
|
font-family: $font-family-monospace;
|
|
|
|
font-size: $font-size-monospace;
|
|
|
|
font-weight: $editor-font-weight-bold;
|
|
|
|
|
|
|
|
.punctuation,
|
|
|
|
.attr-value,
|
|
|
|
.attr-name {
|
|
|
|
font-weight: $editor-font-weight-base;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
font-size: inherit !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.latex,
|
|
|
|
.math {
|
2022-08-22 04:38:04 +00:00
|
|
|
font-family: $font-family-monospace;
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light;
|
2018-01-10 21:45:34 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark;
|
|
|
|
}
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.entity {
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light;
|
2018-01-10 21:45:34 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark;
|
|
|
|
}
|
|
|
|
|
2017-07-23 18:42:08 +00:00
|
|
|
font-family: $font-family-monospace;
|
|
|
|
font-size: $font-size-monospace;
|
|
|
|
font-style: italic;
|
|
|
|
|
|
|
|
* {
|
|
|
|
font-size: inherit !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.table {
|
|
|
|
font-family: $font-family-monospace;
|
|
|
|
font-size: $font-size-monospace;
|
|
|
|
|
|
|
|
* {
|
|
|
|
font-size: inherit !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment {
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light-high;
|
2018-01-10 21:45:34 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark-high;
|
|
|
|
}
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.keyword {
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light-low;
|
2018-01-10 21:45:34 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark-low;
|
|
|
|
}
|
|
|
|
|
2017-07-23 18:42:08 +00:00
|
|
|
font-weight: $editor-font-weight-bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.code,
|
|
|
|
.img,
|
|
|
|
.img-wrapper,
|
|
|
|
.imgref,
|
|
|
|
.cl-toc {
|
|
|
|
background-color: $code-bg;
|
|
|
|
border-radius: $code-border-radius;
|
|
|
|
padding: 0.15em 0;
|
2022-08-07 02:48:53 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
background-color: $code-dark-bg;
|
|
|
|
}
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.img-wrapper {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
.img {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0;
|
2017-07-25 08:19:39 +00:00
|
|
|
background-color: transparent;
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
padding: 0 0.15em;
|
2018-04-06 15:20:02 +00:00
|
|
|
box-sizing: content-box;
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cl-toc {
|
|
|
|
font-size: 2.8em;
|
|
|
|
padding: 0.15em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.blockquote {
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light-blockquote;
|
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark-blockquote;
|
|
|
|
}
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.h1,
|
2017-07-25 23:34:01 +00:00
|
|
|
.h11,
|
2017-07-23 18:42:08 +00:00
|
|
|
.h2,
|
2017-07-25 23:34:01 +00:00
|
|
|
.h22,
|
2017-07-23 18:42:08 +00:00
|
|
|
.h3,
|
|
|
|
.h4,
|
|
|
|
.h5,
|
|
|
|
.h6 {
|
|
|
|
font-weight: $editor-font-weight-bold;
|
2017-07-25 23:34:01 +00:00
|
|
|
|
2017-07-28 20:04:12 +00:00
|
|
|
&,
|
2017-07-25 23:34:01 +00:00
|
|
|
* {
|
|
|
|
line-height: $line-height-title;
|
|
|
|
}
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.h1,
|
|
|
|
.h11 {
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h2,
|
|
|
|
.h22 {
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h3 {
|
|
|
|
font-size: 1.17em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h4 {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h5 {
|
|
|
|
font-size: 0.83em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h6 {
|
|
|
|
font-size: 0.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cl-hash {
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light-high;
|
2018-01-10 21:45:34 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark-high;
|
|
|
|
}
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.cl,
|
|
|
|
.hr {
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light-high;
|
2018-01-10 21:45:34 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark-high;
|
|
|
|
}
|
|
|
|
|
2017-07-23 18:42:08 +00:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: $editor-font-weight-base;
|
|
|
|
}
|
|
|
|
|
|
|
|
.em,
|
|
|
|
.em .cl {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.strong,
|
|
|
|
.strong .cl,
|
|
|
|
.term {
|
|
|
|
font-weight: $editor-font-weight-bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cl-del-text {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
|
2018-04-06 13:07:30 +00:00
|
|
|
.cl-mark-text {
|
2018-04-15 17:13:03 +00:00
|
|
|
background-color: #f8f840;
|
2018-04-06 13:07:30 +00:00
|
|
|
color: $editor-color-light-low;
|
|
|
|
}
|
|
|
|
|
2017-07-23 18:42:08 +00:00
|
|
|
.url,
|
|
|
|
.email,
|
|
|
|
.cl-underlined-text {
|
|
|
|
text-decoration: underline;
|
2022-08-10 23:12:21 +00:00
|
|
|
color: #d7a55b;
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.linkdef .url {
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light-high;
|
2018-01-10 21:45:34 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark-high;
|
|
|
|
}
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.fn,
|
|
|
|
.inlinefn,
|
|
|
|
.sup {
|
|
|
|
font-size: smaller;
|
|
|
|
position: relative;
|
|
|
|
top: -0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sub {
|
|
|
|
bottom: -0.25em;
|
|
|
|
font-size: smaller;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.img,
|
|
|
|
.imgref,
|
|
|
|
.link,
|
|
|
|
.linkref {
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light-high;
|
2018-01-10 21:45:34 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark-high;
|
|
|
|
}
|
2017-07-23 18:42:08 +00:00
|
|
|
|
|
|
|
.cl-underlined-text {
|
2022-08-10 23:12:21 +00:00
|
|
|
color: #d7a55b;
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cl-title {
|
2018-01-14 16:27:06 +00:00
|
|
|
color: $editor-color-light;
|
2018-01-10 21:45:34 +00:00
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: $editor-color-dark;
|
|
|
|
}
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
2022-08-10 23:12:21 +00:00
|
|
|
|
|
|
|
.cn-head {
|
|
|
|
color: #dea731;
|
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: #f8bb39;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cn-strong {
|
|
|
|
color: #db784d;
|
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: #db784d;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cn-code {
|
|
|
|
color: #59b003;
|
|
|
|
|
|
|
|
.app--dark & {
|
|
|
|
color: #95cc5e;
|
|
|
|
}
|
|
|
|
}
|
2017-07-23 18:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-highlighting--inline {
|
|
|
|
.h1,
|
|
|
|
.h11,
|
|
|
|
.h2,
|
|
|
|
.h22,
|
|
|
|
.h3,
|
|
|
|
.h4,
|
|
|
|
.h5,
|
|
|
|
.h6,
|
|
|
|
.cl-toc {
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
}
|