@import "partials/base"; @import "partials/x-normalize"; @import "../shared/themes/default/ikiwiki"; @import "compass/typography"; // site defaults @import "compass/typography/vertical_rhythm"; @include x-normalize; @include establish-baseline; h1 { @include adjust-font-size-to(32px); margin: 0; font-weight: normal; } h2 { @include adjust-font-size-to(24px); margin: 0; } h3 { @include adjust-font-size-to(16px); margin: rhythm(1) 0 0; font-weight: bold; } h4, h5, h6 { text-decoration: blink; } a { color: darkblue; font-weight: normal; text-decoration: none; &:hover { text-decoration: underline; } } p { @include rhythm; } em { font-weight: bold; } ol, ul { list-style: disc inside none; } body { font-family: Verdana, Helvetica, Sans-serif; } @include ikiwiki-images; @include ikiwiki-pre; // generic styles @include ikiwiki-lists; @include ikiwiki-feedbutton; @include ikiwiki-forms; @include ikiwiki-alignment; @include ikiwiki-debug; @include ikiwiki-plugin-highlight; @include ikiwiki-plugin-color; .img caption { font-size: 80%; caption-side: bottom; text-align: center; } img.img { margin: rhythm(.5) 0; } // shell // layout // layout - main content #wrapper, #pagebody { float: left; width: 100%; } #content { min-height: rhythm(25); max-width: 48em; margin: rhythm() 40% rhythm(2) 20%; padding: 0; text-align: left; background-color: none; } #content img { display: block; clear: both; float: right; width: 50%; max-width: 200px; margin-right: -50%; padding: 0 rhythm() rhythm(); background-color: none; } @include ikiwiki-inlinepage; .inlinepage { border: 0; padding: rhythm(.5); margin: 0 -1em; background-color: LightYellow; } @include ikiwiki-inlinecontent; @include ikiwiki-inlineheader; .inlinepage .header a { @include adjust-font-size-to(14px); font-weight: normal; } .inlinefooter { display: none; } @include ikiwiki-plugin-comments; // layout - header @include ikiwiki-plugin-search; @include ikiwiki-plugin-po; .pageheader { @include adjust-font-size-to($headerFontSize); padding: 0 0 0 1em; background-color: LightBlue; color: LightBlue; } .pageheader .actions ul { @include inline-list; } .author, .recentchanges, .committype, #footer { @include adjust-font-size-to(12px); } .branding { color: white; } .pageheader .title, .parentlinks { display: none; } #searchform { @include adjust-font-size-to($baseFontSize, $from-size: $headerFontSize); margin: rhythm(.5) 2em 0 0; } .pageheader .actions { @include adjust-font-size-to($baseFontSize, $from-size: $headerFontSize); background-color: LightBlue; ul { border-bottom: none; } } .actions ul { padding: rhythm(2/3) 0 rhythm(1/3) 2em; a { color: Lightblue; &:hover { color: white; } } } .topbar { height: rhythm(2); margin: 0; padding: rhythm() 0; background-color: LightBlue; text-align: center; text-transform: uppercase; letter-spacing: 1px; p { float: left; } a { font-weight: bold; } ul { list-style-type:none; margin: 0; padding: 0; li { display:inline; margin: 0 20px; } } } .topbar ul, .topbar ol, .topbar li { @include adjust-font-size-to(18px); } .topbar img { margin: 0 20px; } // layout - footer @include ikiwiki-footer; #footer { clear: left; width: 100%; margin: rhythm() 0 0; } @include ikiwiki-pageinfo; #pageinfo { margin: 0; border-top: 0; padding: rhythm(.5) 1em rhythm(.5) 20px; background-color: LightBlue; } .pagedate { margin-top: 0; } @include ikiwiki-tags; .tags { display: none; } @include ikiwiki-backlinks; #backlinks { display: none; } @include ikiwiki-authorship; .pagecopyright, .pagecopyright p { margin-top: 0; margin-bottom: 0; } @include ikiwiki-plugin-trail; // layout - aside @include ikiwiki-plugin-sidebar; .sidebar, .farbar { // @include force-wrap; overflow: hidden } .sidebar { float: left; min-height: rhythm(25); width: 14%; padding: rhythm(1) rhythm(.5); margin-top: rhythm(); margin-left: -98%; margin-bottom: rhythm(); border: none; background-color: LightBlue; text-align: left; } .sidebar ul { padding-left: 0.5em; margin-bottom:0; margin-top:0; } .sidebar li { list-style-type: none; padding: 0; } .sidebar li, .sidebar li p { margin-bottom: 0; } .sidebar li a { font-weight: normal; color: black; &:hover { color: white; } } .sidebar li .selflink { color: white; font-weight: bold; } .farbar { float: left; min-height: rhythm(25); width: 14%; margin-top: rhythm(); margin-left: -18%; margin-bottom: rhythm(2); padding: rhythm(1) rhythm(.5); background-color: LightBlue; text-align: left; > h3 { margin: 0; } } .farbar img.img { height: (rhythm(7) - $base-leader); width: auto; } // layout - print styles @include ikiwiki-site-print; // modulars @include ikiwiki-infobox; @include ikiwiki-notebook; @include ikiwiki-popup; @include ikiwiki-plugin-calendar; @include ikiwiki-plugin-progress; @include ikiwiki-plugin-map; @include ikiwiki-plugin-poll; @include ikiwiki-plugin-pagestats; @include ikiwiki-plugin-flattr; @include ikiwiki-blogform; // section/page specific @include ikiwiki-plugin-recentchanges; @include ikiwiki-plugin-editpage; @include ikiwiki-plugin-attachment; @include ikiwiki-plugin-openid;