summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2010-11-07 21:40:09 +0000
committerAnika Henke <anika@selfthinker.org>2010-11-07 21:40:09 +0000
commit922090dfa40a54e4e3509dc218015b4fbdc64f01 (patch)
tree0bfd0d9a2c5cdffe183011af8ac8f77380f453f7
parent0adc52038c89b5a01beeef44630df615c526791f (diff)
downloadrpg-922090dfa40a54e4e3509dc218015b4fbdc64f01.tar.gz
rpg-922090dfa40a54e4e3509dc218015b4fbdc64f01.tar.bz2
added basic print styles
-rw-r--r--css/print.css128
-rw-r--r--style.ini2
2 files changed, 129 insertions, 1 deletions
diff --git a/css/print.css b/css/print.css
index 8b1378917..01214564f 100644
--- a/css/print.css
+++ b/css/print.css
@@ -1 +1,129 @@
+/**
+ * This file provides the styles for printing.
+ *
+ * @todo: improve and finish
+ */
+body {
+ /*
+ font: normal 12pt/1.2 serif;
+ color: #000;
+ background-color: #fff;
+ */
+}
+
+/* hide certain sections */
+.a11y,
+div.notify, div.info, div.success, div.error,
+#dokuwiki__header .tools, #dokuwiki__aside,
+.dokuwiki .breadcrumbs, .dokuwiki .toc, .dokuwiki .secedit,
+#dokuwiki__pagetools, #dokuwiki__footer {
+ display: none;
+}
+
+.dokuwiki h1, .dokuwiki h2, .dokuwiki h3, .dokuwiki h4, .dokuwiki h5,
+.dokuwiki caption, .dokuwiki legend {
+ clear: both;
+}
+.dokuwiki ul { list-style: disc outside; }
+.dokuwiki ol { list-style: decimal outside; }
+.dokuwiki ol ol { list-style-type: lower-alpha; }
+.dokuwiki ol ol ol { list-style-type: upper-roman; }
+.dokuwiki ol ol ol ol { list-style-type: upper-alpha; }
+.dokuwiki ol ol ol ol ol { list-style-type: lower-roman; }
+
+/* undo icons */
+.dokuwiki a:link, .dokuwiki a:visited {
+ text-decoration: underline;
+ color: #333;
+ background-color: inherit;
+ background-image: none;
+ padding: 0;
+}
+
+/* display href after link */
+a.urlextern:after,
+a.interwiki:after,
+a.mail:after {
+ content: " [" attr(href) "]";
+ font-size: 90%;
+}
+
+/* undo section indenting */
+.dokuwiki h1, .dokuwiki h2, .dokuwiki h3, .dokuwiki h4, .dokuwiki h5,
+.dokuwiki div.level1, .dokuwiki div.level2, .dokuwiki div.level3, .dokuwiki div.level4, .dokuwiki div.level5 {
+ margin-left: 0;
+}
+
+/* code blocks */
+.dokuwiki pre {
+ font-family: monospace;
+}
+.dokuwiki dl.code dt, .dokuwiki dl.file dt {
+ font-weight: bold;
+}
+
+/* images */
+.dokuwiki img { border-width: 0; vertical-align: middle; }
+.dokuwiki img.medialeft { margin: .5em 1.5em .5em 0; float: left; }
+.dokuwiki img.mediaright { margin: .5em 0 .5em 1.5em; float: right; }
+.dokuwiki img.mediacenter { margin: .5em auto; display: block; }
+
+/* align table cells */
+.dokuwiki .leftalign { text-align: left; }
+.dokuwiki .centeralign { text-align: center; }
+.dokuwiki .rightalign { text-align: right; }
+
+/* underline */
+.dokuwiki em.u { font-style: normal; text-decoration: underline; }
+.dokuwiki em em.u { font-style: italic; }
+
+div.clearer {
+ clear: both;
+ line-height: 0;
+ height: 0;
+ overflow: hidden;
+}
+
+.dokuwiki blockquote {
+ padding: 0 10pt;
+ margin: 0;
+ border: solid #ccc;
+ border-width: 0 0 0 2pt;
+}
+
+/* tables */
+.dokuwiki table {
+ border-collapse: collapse;
+ empty-cells: show;
+ border-spacing: 0;
+ border: 1pt solid #ccc;
+}
+.dokuwiki th, .dokuwiki td {
+ padding: 3pt 5pt;
+ margin: 0;
+ vertical-align: top;
+ border: 1pt solid #666;
+ text-align: left;
+}
+.dokuwiki th {
+ font-weight: bold;
+}
+
+
+/*____________ a bit of layout ____________*/
+
+#dokuwiki__header {
+ border-bottom: 2pt solid #ccc;
+}
+#dokuwiki__header h1 {
+ font-size: 1.5em;
+}
+#dokuwiki__header h1 a {
+ text-decoration: none;
+}
+.dokuwiki div.footnotes {
+ clear: both;
+ border-top: 1pt solid #000;
+ margin-top: 10pt;
+}
diff --git a/style.ini b/style.ini
index 9dfbb3ce4..636b4b6f3 100644
--- a/style.ini
+++ b/style.ini
@@ -27,7 +27,7 @@ css/_admin.css = screen
css/includes.css = screen
css/rtl.css = rtl
-;css/print.css = print
+css/print.css = print
; This section is used to configure some placeholder values used in