css: factor out colors from main css (#4158).

This commit is contained in:
evazion
2019-09-17 00:28:41 -05:00
parent d203a543d0
commit c325bfa199
52 changed files with 519 additions and 332 deletions

View File

@@ -55,18 +55,25 @@ div.prose {
font-size: 1.2em;
margin: 0.5em 0;
padding: 0.5em 1em;
background: #EEE;
background: var(--dtext-code-background-color);
white-space: pre-wrap;
}
blockquote {
margin-bottom: 1em;
padding: 1em 1em 0.2em;
border: var(--dtext-blockquote-border);
background: var(--dtext-blockquote-background);
}
code {
font-family: monospace;
background: #EEE;
background: var(--dtext-code-background);
}
div.expandable {
margin-bottom: 1em;
border: 1px inset #666;
border: var(--dtext-expand-border);
}
div.expandable-header {
@@ -81,7 +88,7 @@ div.prose {
div.expandable-content {
display: none;
padding: 0.4em;
border-top: 1px solid #666;
border-top: 1px solid var(--dtext-expand-border-color);
> :last-child {
margin-bottom: 0;