diff options
author | Wynn Wolf Arbor | 2020-04-10 19:55:05 +0200 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-04-11 15:45:18 +0200 |
commit | 5311e578cae3bd35bfcbfff4685e9566614b955a (patch) | |
tree | 6a10faea2f4ba52a6dbdf34c30572e5856d44fd6 /scss | |
parent | 0828addca51f96f088ac11d786eee6b5a76a0d7f (diff) | |
download | site-5311e578cae3bd35bfcbfff4685e9566614b955a.tar.gz |
css: Add indent and clear pre styles
This commit adds two new classes for <pre> tags:
1) pre.clear overrides the standard canary background color with white
2) pre.indent defines a <pre> tag that is indented and marked with a
border
These classes are mainly meant for preformatted content that has been
added manually and should not be styled like the common code blocks.
Diffstat (limited to '')
-rw-r--r-- | scss/style.scss | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scss/style.scss b/scss/style.scss index e818f7b..79ec07a 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -36,6 +36,19 @@ pre { padding: .7rem; } +pre.clear { + background-color: white; +} + +pre.indent { + font-size: smaller; + + border-left: 4px solid lightgrey; + + margin-left: 1.5rem; + padding-left: 1.5rem; +} + blockquote { background-color: $canary; padding: .7rem; |