diff options
-rw-r--r-- | default/_ikiwiki.scss | 16 | ||||
-rw-r--r-- | default/style.scss | 2 |
2 files changed, 18 insertions, 0 deletions
diff --git a/default/_ikiwiki.scss b/default/_ikiwiki.scss index 2ebbc20..4d73124 100644 --- a/default/_ikiwiki.scss +++ b/default/_ikiwiki.scss @@ -1,13 +1,19 @@ +@mixin ikiwiki-boilerplate { /* ikiwiki style sheet */ /* Note that instead of modifying this style sheet, you can instead edit * local.css and use it to override or change settings in this one. */ +} + +@mixin ikiwiki-reset { /* html5 compat */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } +} +@mixin ikiwiki-style-legacy { div.header, header.header { margin: 0; font-size: 140%; @@ -692,7 +698,9 @@ a.login_large_btn:focus { .trailsep { display: none; } +} +@mixin ikiwiki-flexbox { /* mobile/small-screen-friendly layout */ @media (max-width: 600px) { .sidebar { @@ -735,3 +743,11 @@ a.login_large_btn:focus { padding: 4px 4px; } } +} + +@mixin ikiwiki { + @include ikiwiki-boilerplate; + @include ikiwiki-reset; + @include ikiwiki-style-legacy; + @include ikiwiki-flexbox; +} diff --git a/default/style.scss b/default/style.scss new file mode 100644 index 0000000..a23d692 --- /dev/null +++ b/default/style.scss @@ -0,0 +1,2 @@ +@import "ikiwiki"; +@include ikiwiki; |