2020-08-11 19:29:55 -07:00
|
|
|
@import "variables.scss";
|
|
|
|
|
|
|
|
$code-color-lineno: grey;
|
|
|
|
$code-color-keyword: black;
|
|
|
|
$code-color-type: black;
|
|
|
|
$code-color-comment: grey;
|
|
|
|
|
2020-09-27 14:41:56 -07:00
|
|
|
.highlight-label {
|
|
|
|
padding: 0.25rem 0.5rem 0.25rem 0.5rem;
|
|
|
|
border: $code-border;
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-family: $font-code;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-11 19:29:55 -07:00
|
|
|
code {
|
|
|
|
font-family: $font-code;
|
|
|
|
background-color: $code-color;
|
|
|
|
border: $code-border;
|
|
|
|
padding: 0 0.25rem 0 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre code {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0.5rem;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chroma {
|
|
|
|
.lntable {
|
|
|
|
border-spacing: 0;
|
|
|
|
padding: 0.5rem 0 0.5rem 0;
|
|
|
|
background-color: $code-color;
|
|
|
|
border-radius: 0;
|
|
|
|
border: $code-border;
|
|
|
|
display: block;
|
|
|
|
overflow: auto;
|
2020-08-15 01:18:01 -07:00
|
|
|
margin-bottom: 1rem;
|
2020-08-11 19:29:55 -07:00
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lntd:last-child {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.lntr {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lnt {
|
|
|
|
display: block;
|
|
|
|
padding: 0 1rem 0 1rem;
|
|
|
|
color: $code-color-lineno;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hl {
|
|
|
|
display: block;
|
2020-08-12 01:37:39 -07:00
|
|
|
background-color: #fffd99;
|
2020-10-10 17:12:40 -07:00
|
|
|
|
|
|
|
.lnt::before {
|
|
|
|
content: "*";
|
|
|
|
}
|
2020-08-11 19:29:55 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.kr, .k {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $code-color-keyword;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kt {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $code-color-type;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c, .c1 {
|
|
|
|
color: $code-color-comment;
|
|
|
|
}
|