Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

new theme: monochrome

  • Loading branch information...
commit 38d258b171acf7268c7a2bbeaf2cb910b74a025a 1 parent 9bd8cd2
Jon Dowland authored
5 doc/themes.mdwn
Source Rendered
@@ -21,6 +21,11 @@ blueview and featuring the photography of Lars Wirzenius.
21 21
22 22 <br clear="both" />
23 23
  24 +[[!img monochrome.png size="192x146" align==left]] The **monochrome** theme,
  25 +based on [[Jon]]'s homepage design.
  26 +
  27 +<br clear="both" />
  28 +
24 29 [[!img none_small.png align=left]] For completeness, ikiwiki's default
25 30 anti-theme.
26 31
BIN  doc/themes/monochrome.png
BIN  themes/monochrome/gradient.png
53 themes/monochrome/style.css
... ... @@ -0,0 +1,53 @@
  1 +/*
  2 + * monochrome - ikiwiki theme © Jon Dowland 2012
  3 + * based on ikiwiki style.css and bits from jmtd.net at the time
  4 + * License: GPL-2+
  5 + */
  6 +
  7 +@import url(http://fonts.googleapis.com/css?family=Lato&v2);
  8 +
  9 +body {
  10 + margin-left: auto;
  11 + margin-right: auto;
  12 + width: 48em;
  13 +
  14 + background: url(gradient.png) repeat-x white 0px -16px;
  15 + margin-top: 48px; /* height of gradient.png that we want to see */
  16 +
  17 + color: #555;
  18 + font-family: 'Lato', sans-serif;
  19 +}
  20 +
  21 +.header {
  22 + margin-bottom: 0.5em;
  23 +}
  24 +.pageheader .actions ul {
  25 + border-bottom: 2px solid #c00040;
  26 +}
  27 +
  28 +#pageinfo {
  29 + border-top: 2px solid #c00040;
  30 + text-align: center;
  31 + color: #aaa;
  32 +}
  33 +
  34 +/*
  35 + * css3 external links stuff
  36 + * thanks to <http://www.kryogenix.org/days/2002/08/30/external>
  37 + */
  38 +#content a[href^="http:"]:after,
  39 +#content a[href^="https:"]:after {
  40 + content: "↗";
  41 +}
  42 +/* you will want to replicate this for your own domain in local.css */
  43 +#content a[href^="http://localhost"]:after,
  44 +#content a[href^="http://ikiwiki.info"]:after {
  45 + content: none;
  46 +}
  47 +
  48 +/* colouring */
  49 +a:link { color: #c00040; font-weight: bold; text-decoration: none; }
  50 +a:hover { color: #f01070; text-decoration: underline;}
  51 +a:active { color: #c00040; }
  52 +a:visited { color: #c08080; font-weight: normal; font-style: italic; }
  53 +hr { border: none; border-top: 2px solid #c00040; clear: both; }

0 comments on commit 38d258b

Please sign in to comment.
Something went wrong with that request. Please try again.