summaryrefslogtreecommitdiff
path: root/default/_ikiwiki.scss
diff options
context:
space:
mode:
Diffstat (limited to 'default/_ikiwiki.scss')
-rw-r--r--default/_ikiwiki.scss16
1 files changed, 16 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;
+}