From: Fredrik Unger Date: Thu, 29 Aug 2013 12:58:30 +0000 (+0200) Subject: style: adding a very simple style X-Git-Url: https://source.tree.se/git?p=treecutter.git;a=commitdiff_plain;h=a5d302ebffb20a984f2393d6e1f6aea6ae39c1d9 style: adding a very simple style Adding a simple but elegant style for websites with only articles and no need for flashy menues or language menues --- diff --git a/style/simple/css/css.css b/style/simple/css/css.css new file mode 100644 index 0000000..00df3e7 --- /dev/null +++ b/style/simple/css/css.css @@ -0,0 +1,73 @@ +body { +margin-left: 100px; +margin-right: 100px; +} +div.mediaobject { + float: left; + border: thin silver solid; + width: 500px; + margin: 0.5em; + padding: 0.5em; +} +div.caption p { + text-align: center; + font-style: italic; + font-size: smaller; + text-indent: 0; +} +div.mediaobject table { + margin-left: auto; + margin-right: auto; +} +div.toc { +width:250px; +font-size:80%; +border:1px solid #d3d3d3; +border-radius:5px; +padding:0; +margin:0; +} + +div.toc p { +margin-bottom: 4px; +text-align:center; +background:#e8eaeb; +} + +div.toc dl { +padding:1px 10px; +} +div.toc dl dl{ +margin:1px 1px; +} + +h1,h2,h3 { + font-family:Georgia,serif; + color:#4E443C; + font-variant: small-caps; text-transform: none; font-weight: 100; margin-bottom: 0; +} + +p { +font-family: "Helvetica Neue", "Lucida Grande", Helvetica, Arial, Verdana, sans-serif; + font-size: 14px; + margin-top: .5em; color: #666; +} + +nav ul { + list-style:none; + margin:0px 0 0px 0px; + padding:0; + text-indent:10px; + font-family: Georgia,serif + font-size: 14px; + font-weight: bold; +} +nav ul ul { + margin:0; + padding:0; + list-style:none; + text-indent:20px; + font-family: Georgia,serif + font-size: 12px; + font-weight: normal; +} diff --git a/style/simple/docbook.xsl b/style/simple/docbook.xsl new file mode 100644 index 0000000..a16fa26 --- /dev/null +++ b/style/simple/docbook.xsl @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/style/simple/index.de.html.tmpl b/style/simple/index.de.html.tmpl new file mode 100644 index 0000000..3631308 --- /dev/null +++ b/style/simple/index.de.html.tmpl @@ -0,0 +1,17 @@ + + + + + $title + + + + +
+ $article +
+ + diff --git a/style/simple/index.en.html.tmpl b/style/simple/index.en.html.tmpl new file mode 100644 index 0000000..676458c --- /dev/null +++ b/style/simple/index.en.html.tmpl @@ -0,0 +1,17 @@ + + + + + $title + + + + +
+ $article +
+ +