From 5311e578cae3bd35bfcbfff4685e9566614b955a Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Fri, 10 Apr 2020 19:55:05 +0200 Subject: css: Add indent and clear pre styles This commit adds two new classes for
 tags:

1) pre.clear overrides the standard canary background color with white

2) pre.indent defines a 
 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.
---
 scss/style.scss | 13 +++++++++++++
 1 file changed, 13 insertions(+)

(limited to 'scss')

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;
-- 
cgit v1.2.3-2-gb3c3