diff options
-rw-r--r-- | style.scss | 30 |
1 files changed, 18 insertions, 12 deletions
@@ -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 |