summary refs log tree commit diff
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2023-05-24 20:02:17 -0500
committerStarfall <us@starfall.systems>2023-05-24 20:11:05 -0500
commitf3d6b99cb8e36b8607d73e0941b8c32fd9102b85 (patch)
treed4b345afca8d75744fda30ab91216f02adee2ea0
parenteb6d8bd51fb3a5ad9868829e19c838939346f8cb (diff)
style: blockquotes, wrap main content in <main>
-rw-r--r--_includes/base.njk2
-rw-r--r--css/terminal.css9
2 files changed, 10 insertions, 1 deletions
diff --git a/_includes/base.njk b/_includes/base.njk
index a11c22c..22f94b6 100644
--- a/_includes/base.njk
+++ b/_includes/base.njk
@@ -27,7 +27,9 @@ title = "Starfall"
 	</nav>
 </header>
 
+<main>
 {{ content | safe }}
+</main>
 
 <footer>
 <section>
diff --git a/css/terminal.css b/css/terminal.css
index 3cdd138..41280f4 100644
--- a/css/terminal.css
+++ b/css/terminal.css
@@ -45,7 +45,7 @@
 }
 
 /* UTILITY CLASSES */
-.clearfix::after, section::after, article::after { clear:both; display:block; content: ""; }
+.clearfix::after { clear:both; display:block; content: ""; }
 .inline { display:inline }
 /* MAIN STYLES*/
 html {
@@ -132,6 +132,7 @@ header > nav a.active {
 	color: var(--bg);
 }
 /* SECTION */
+main,
 section,
 article {
 	border-bottom: 1px solid;
@@ -155,6 +156,12 @@ details {
 	border: 1px solid;
 	padding: 0.4em;
 }
+/* BLOCKQUOTE */
+blockquote {
+	margin: 1em;
+	border-left: 0.25em;
+	padding-left: 1em;
+}
 /* TABLES */
 table {
 	margin: 0.4em;