new theme: monochrome
authorJon Dowland <jmtd@debian.org>
Wed, 15 Aug 2012 19:42:33 +0000 (20:42 +0100)
committerJon Dowland <jmtd@debian.org>
Thu, 30 Aug 2012 15:34:38 +0000 (16:34 +0100)
doc/themes.mdwn
doc/themes/monochrome.png [new file with mode: 0644]
themes/monochrome/gradient.png [new file with mode: 0644]
themes/monochrome/style.css [new file with mode: 0644]

index 57f899677f8bade0c71f21d350414cd09e5adaa8..9f7f78dbfeb9d1518c6db46e5b1145c1481b3470 100644 (file)
@@ -21,6 +21,11 @@ blueview and featuring the photography of Lars Wirzenius.
 
 <br clear="both" />
 
+[[!img monochrome.png size="192x146" align==left]] The **monochrome** theme,
+based on [[Jon]]'s homepage design.
+
+<br clear="both" />
+
 [[!img none_small.png align=left]] For completeness, ikiwiki's default
 anti-theme.
 
diff --git a/doc/themes/monochrome.png b/doc/themes/monochrome.png
new file mode 100644 (file)
index 0000000..0d5854d
Binary files /dev/null and b/doc/themes/monochrome.png differ
diff --git a/themes/monochrome/gradient.png b/themes/monochrome/gradient.png
new file mode 100644 (file)
index 0000000..7363185
Binary files /dev/null and b/themes/monochrome/gradient.png differ
diff --git a/themes/monochrome/style.css b/themes/monochrome/style.css
new file mode 100644 (file)
index 0000000..41a3a44
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * monochrome - ikiwiki theme © Jon Dowland 2012
+ * based on ikiwiki style.css and bits from jmtd.net at the time
+ * License: GPL-2+
+ */
+
+@import url(http://fonts.googleapis.com/css?family=Lato&v2);
+
+body {
+       margin-left: auto;
+       margin-right: auto;
+       width: 48em;
+
+       background: url(gradient.png) repeat-x white 0px -16px;
+       margin-top: 48px; /* height of gradient.png that we want to see */
+
+       color: #555;
+       font-family: 'Lato', sans-serif;
+}
+
+.header {
+       margin-bottom: 0.5em;
+}
+.pageheader .actions ul {
+       border-bottom: 2px solid #c00040;
+}
+
+#pageinfo {
+       border-top: 2px solid #c00040;
+       text-align: center;
+       color: #aaa;
+}
+
+/*
+ * css3 external links stuff
+ * thanks to <http://www.kryogenix.org/days/2002/08/30/external>
+ */
+#content a[href^="http:"]:after,
+#content a[href^="https:"]:after {
+  content: "↗";
+}
+/* you will want to replicate this for your own domain in local.css */
+#content a[href^="http://localhost"]:after,
+#content a[href^="http://ikiwiki.info"]:after {
+  content: none;
+}
+
+/* colouring */
+a:link    { color: #c00040; font-weight: bold; text-decoration: none; }
+a:hover   { color: #f01070; text-decoration: underline;}
+a:active  { color: #c00040; }
+a:visited { color: #c08080; font-weight: normal; font-style: italic; }
+hr { border: none; border-top: 2px solid #c00040; clear: both; }