summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2012-03-24 01:05:13 +0100
committerJonas Smedegaard <dr@jones.dk>2012-03-24 01:11:16 +0100
commit4c117ea7a308e6ce30788e8d1546d0159edc0b57 (patch)
treebb80fa5d9d397cfcf1028c825f2a85eb5eaaeee4
parentee5cc3491b0423e5581e27fbbcf07db9313f97e6 (diff)
Restructure and simplify into only ikiwiki-site and ikiwiki-style.
-rw-r--r--default/_ikiwiki.scss81
1 files changed, 36 insertions, 45 deletions
diff --git a/default/_ikiwiki.scss b/default/_ikiwiki.scss
index a5a3b18..a3e748a 100644
--- a/default/_ikiwiki.scss
+++ b/default/_ikiwiki.scss
@@ -772,70 +772,61 @@ a.openid_large_btn:focus {
@include ikiwiki-plugin-attachment;
}
-@mixin ikiwiki-basic {
-}
@mixin ikiwiki-site {
- @include ikiwiki-header;
+ // main content
+ @include ikiwiki-inlinepage;
@include ikiwiki-inlineheader;
- @include ikiwiki-actions;
@include ikiwiki-inlinecontent;
+ @include ikiwiki-plugin-comments;
+ // header
+ @include ikiwiki-header;
+ @include ikiwiki-plugin-search;
+ @include ikiwiki-actions;
+ @include ikiwiki-plugin-po;
+ // footer
@include ikiwiki-footer;
@include ikiwiki-pageinfo;
@include ikiwiki-tags;
@include ikiwiki-backlinks;
- @include ikiwiki-blogform;
- @include ikiwiki-inlinepage;
@include ikiwiki-authorship;
+ // aside
+ @include ikiwiki-plugin-sidebar;
}
-@mixin ikiwiki-typography {
+
+// http://www.louddog.com/2008/create-maintainable-code-with-a-css-styleguide/
+@mixin ikiwiki-style {
+ // site defaults
+ @include ikiwiki-images;
@include ikiwiki-pre;
-}
-@mixin ikiwiki-links {
-}
-@mixin ikiwiki-buttons {
+ // generic styles
+ @include ikiwiki-lists;
+ @include ikiwiki-plugin-img;
@include ikiwiki-feedbutton;
-}
-@mixin ikiwiki-tabs {
-}
-@mixin ikiwiki-misc {
+ @include ikiwiki-forms;
+ @include ikiwiki-alignment;
+ @include ikiwiki-debug;
+ @include ikiwiki-plugin-highlight;
+ @include ikiwiki-plugin-color;
+ // shell
+ // layout
+ @include ikiwiki-site;
+ @include ikiwiki-site-print;
+ // modulars
@include ikiwiki-infobox;
@include ikiwiki-notebook;
@include ikiwiki-popup;
- @include ikiwiki-alignment;
- @include ikiwiki-debug;
-}
-@mixin ikiwiki-plugins {
- @include ikiwiki-plugin-recentchanges;
- @include ikiwiki-plugin-po;
+ @include ikiwiki-plugin-calendar;
+ @include ikiwiki-plugin-progress;
@include ikiwiki-plugin-map;
- @include ikiwiki-plugin-img;
- @include ikiwiki-plugin-search;
- @include ikiwiki-plugin-editpage;
- @include ikiwiki-plugin-sidebar;
@include ikiwiki-plugin-poll;
- @include ikiwiki-plugin-color;
- @include ikiwiki-plugin-comments;
- @include ikiwiki-plugin-progress;
- @include ikiwiki-plugin-highlight;
- @include ikiwiki-plugin-calendar;
@include ikiwiki-plugin-pagestats;
@include ikiwiki-plugin-flattr;
- @include ikiwiki-plugin-openid;
+ @include ikiwiki-blogform;
+ // section/page specific
+ @include ikiwiki-plugin-recentchanges;
+ @include ikiwiki-plugin-editpage;
@include ikiwiki-plugin-attachment;
-}
-@mixin ikiwiki-style {
- @include ikiwiki-basic;
- @include ikiwiki-site;
- @include ikiwiki-site-print;
- @include ikiwiki-typography;
- @include ikiwiki-links;
- @include ikiwiki-lists;
- @include ikiwiki-images;
- @include ikiwiki-buttons;
- @include ikiwiki-tabs;
- @include ikiwiki-forms;
- @include ikiwiki-misc;
- @include ikiwiki-plugins;
+ @include ikiwiki-plugin-openid;
}
@mixin ikiwiki {