diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-07-10 17:30:50 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-07-10 17:30:50 +0200 |
commit | 09e9252a0596ef92461e318bb3295135047d6e2e (patch) | |
tree | 529a0bec4dccf81bffaaf835c0e15637fc30b387 /style.scss | |
parent | c2a106a7059ea0731d2bcb3723024ef93d608e68 (diff) |
Merge content layout with ikiwiki.
Diffstat (limited to 'style.scss')
-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 |