summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--style.scss30
1 files changed, 18 insertions, 12 deletions
diff --git a/style.scss b/style.scss
index ef5f4ec..8fcf368 100644
--- a/style.scss
+++ b/style.scss
@@ -15,7 +15,22 @@
@include ikiwiki-plugin-highlight;
@include ikiwiki-plugin-color;
// shell
+
+// Content
+//
+// Light grey underlay
+// Max. 45 chars., balanced margins on large viewports
+%anycontent {
+ max-width: 45em;
+ margin: 0 auto;
+ padding: .5em 2em;
+ background-color: lightgrey;
+}
+
// layout - main content
+#content {
+ @extend %anycontent;
+}
@include ikiwiki-inlinepage;
@include ikiwiki-inlineheader;
@include ikiwiki-inlinecontent;
@@ -26,6 +41,9 @@
@include ikiwiki-actions;
@include ikiwiki-plugin-po;
// layout - footer
+#footer {
+ @extend %anycontent;
+}
@include ikiwiki-footer;
@include ikiwiki-pageinfo;
@include ikiwiki-tags;
@@ -107,18 +125,6 @@ dd {
clear: right;
}
-// Content
-//
-// Light grey underlay
-// Max. 45 chars., balanced margins on large viewports
-#content,
-#footer {
- max-width: 45em;
- margin: 0 auto;
- padding: .5em 2em;
- background-color: lightgrey;
-}
-
// Pagedate
//
// very tiny in lower right corner