- @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
- div#wrapper,
- div#pagebody {
- float: left;
- width: 100%;
- }
- div#content {
- min-height: rhythm(25);
- max-width: 48em;
- margin: rhythm() 40% rhythm(2) 20%;
- padding: 0;
- text-align: left;
- background-color: none;
- }
- div#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;
- div.inlinepage {
- border: 0;
- padding: rhythm(.5);
- margin: 0 -1em;
- background-color: LightYellow;
- }
- @include ikiwiki-inlinecontent;
- @include ikiwiki-inlineheader;
- div.inlinepage SPAN.header a {
- @include adjust-font-size-to(14px);
- font-weight: normal;
- }
- div.inlinefooter {
- display: none;
- }
- @include ikiwiki-plugin-comments;
- // layout - header
- @include ikiwiki-plugin-search;
- @include ikiwiki-plugin-po;
- div.header {
- @include adjust-font-size-to($headerFontSize);
- padding: 0 0 0 1em;
- background-color: LightBlue;
- color: LightBlue;
- }
- .pageheader .actions ul {
- @include inline-list;
- }
- span.author,
- div.recentchanges,
- span.committype,
- div#footer {
- @include adjust-font-size-to(12px);
- }
- div.pageheader span.title {
- color: white;
- }
- span.parentlinks {
- display: none;
- }
- FORM#searchform {
- @include adjust-font-size-to($baseFontSize, $from-size: $headerFontSize);
- margin: rhythm(.5) 2em 0 0;
- }
- div.pageheader div.actions {
- background-color: LightBlue;
- ul {
- border-bottom: none;
- }
- }
- div.actions ul {
- padding: rhythm(2/3) 0 rhythm(1/3) 2em;
- a {
- color: Lightblue;
- &:hover {
- color: white;
- }
- }
- }
- div#topbar,
- div.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;
- }
- }
- }
- div#topbar li,
- div#topbar ul,
- div#topbar ul li,
- div#topbar ol,
- div#topbar ol li,
- div.topbar li,
- div.topbar ul,
- div.topbar ul li,
- div.topbar ol,
- div.topbar ol li {
- @include adjust-font-size-to(18px);
- }
- div#topbar img,
- div.topbar img {
- margin: 0 20px;
- }
- // layout - footer
- @include ikiwiki-footer;
- div#footer {
- clear: left;
- width: 100%;
- margin: rhythm() 0 0;
- }
- @include ikiwiki-pageinfo;
- div#pageinfo {
- margin: 0;
- border-top: 0;
- padding: rhythm(.5) 1em rhythm(.5) 20px;
- background-color: LightBlue;
- }
- div.pagedate {
- margin-top: 0;
- }
- @include ikiwiki-tags;
- div.tags {
- display: none;
- }
- @include ikiwiki-backlinks;
- div#backlinks {
- display: none;
- }
- @include ikiwiki-authorship;
- div.pagecopyright,
- div.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
- }
- div#sidebar,
- div.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;
- }
- div#sidebar ul,
- div.sidebar ul {
- padding-left: 0.5em;
- margin-bottom:0;
- margin-top:0;
- }
- div#sidebar ul li,
- div.sidebar ul li {
- list-style-type: none;
- padding: 0;
- }
- div#sidebar ul li,
- div.sidebar ul li,
- div#sidebar ul li p,
- div.sidebar ul li p {
- margin-bottom: 0;
- }
- div#sidebar ul li a,
- div.sidebar ul li a {
- font-weight: normal;
- color: black;
- &:hover {
- color: white;
- }
- }
- div#sidebar ul li SPAN.selflink,
- div.sidebar ul li SPAN.selflink {
- color: white;
- font-weight: bold;
- }
- div#farbar,
- div.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;
|