[Workaround.org] r127 - trunk/etch
chaas at workaround.org
chaas at workaround.org
Thu Jul 5 15:30:16 CEST 2007
Author: chaas
Date: 2007-07-05 15:30:16 +0200 (Thu, 05 Jul 2007)
New Revision: 127
Added:
trunk/etch/style.css-oliver-ladner
trunk/etch/voidspace.css
Removed:
trunk/etch/style.css
Modified:
trunk/etch/Makefile
Log:
Temporarily switched to the "voidspace" stylesheet because there were some
rendering problems - especially with "notes" sections. I yet have to find
the cause.
Modified: trunk/etch/Makefile
===================================================================
--- trunk/etch/Makefile 2007-07-01 18:38:13 UTC (rev 126)
+++ trunk/etch/Makefile 2007-07-05 13:30:16 UTC (rev 127)
@@ -10,10 +10,11 @@
%.html: %.rest
@echo Building $@
- @$(RST2HTML) --stylesheet=style.css $< $@
+ @$(RST2HTML) --stylesheet-path=voidspace.css $< $@
%.pdf: %.rest
@echo Building $@
+ #rst2latex en.rest en.tex
rst2latex en.rest en.tex
latex en.tex
dvi2ps -c en.ps en.dvi
@@ -26,5 +27,5 @@
cp dialog*.png $(WWWDIR)
clean:
- @rm -f *.html *.aux *.dvi *.log *.latex *.pdf
+ @rm -f *.html *.aux *.dvi *.log *.latex *.pdf *.tex *.ps *.out
Deleted: trunk/etch/style.css
===================================================================
--- trunk/etch/style.css 2007-07-01 18:38:13 UTC (rev 126)
+++ trunk/etch/style.css 2007-07-05 13:30:16 UTC (rev 127)
@@ -1,95 +0,0 @@
-/*
-:Author: Oliver Ladner
-:Contact: oli at lugh.ch
-:Copyright: - Stylesheet license: WTFPL (http://sam.zoy.org/wtfpl/)
-: - Icons: Gnome (http://www.gnome.org)
-
-Stylesheet for use with Docutils.
-*/
-
- at import url(html4css1.css);
-/* /usr/share/pycentral/python-docutils/site-packages/docutils/writers/html4css1/html4css1.css /*
-
-/* workaround.org-specific things */
-body {
- font-family: Arial, Helvetica, sans-serif ;
- font-size: 0.9em ;
- background: #dedfce ; }
-
-.document {
- width: 100% ; }
-
-/* Main text, lists */
-p, ul.simple {
- font-family: Georgia, "Trebuchet MS", "Times New Roman", Times, serif ; }
-
-/* TOC */
-a.reference {
- font-family: Arial ; }
-
-/* Info box */
-div.sidebar {
- border: 1px solid #505050 ;
- background: #a6a898 ;
- width: 30% ; }
-
-/* Info box title */
-.sidebar-title {
- background-image:url(dialog-information.png) ;
- background-repeat: no-repeat ;
- padding-left: 25px ;
- padding-bottom: 5px ; }
-
-/* Note/warning box */
-div.note {
- border: 1px solid #787878 ;
- background: #a4a687 ;
- width: 70% ; }
-
-/* Note/warning box title */
-.admonition-title {
- background-image:url(dialog-warning.png) ;
- background-repeat: no-repeat ;
- padding-left: 25px ;
- padding-bottom: 5px ; }
-
-h1 {
- font-size: 1.6em ; }
-
-h2 {
- font-size: 1.4em ; }
-
-h3 {
- font-size: 1.1em ; }
-
-h4 {
- font-size: 1.0em ; }
-
-/* Code */
-pre.literal-block {
- font-family: monospace ;
- background: #efefef ;
- border: 1px dotted #000000 ;
- margin: 5px ;
- padding: 5px ; }
-
-/* Inline code/commands */
-span.pre, literal, tt.docutils {
- font-weight: 800 ;
- background: #efefef ;
- font-family: monospace ; }
-
-/* Table */
-table.docutils {
- border: 0px ; }
-
-/* Headings */
-th {
- border: 0px ;
- background: #a4a687 ; }
-
-/* Data */
-td {
- border: 0px ;
- background: #a6a898 ; }
-
Copied: trunk/etch/style.css-oliver-ladner (from rev 126, trunk/etch/style.css)
===================================================================
--- trunk/etch/style.css-oliver-ladner (rev 0)
+++ trunk/etch/style.css-oliver-ladner 2007-07-05 13:30:16 UTC (rev 127)
@@ -0,0 +1,95 @@
+/*
+:Author: Oliver Ladner
+:Contact: oli at lugh.ch
+:Copyright: - Stylesheet license: WTFPL (http://sam.zoy.org/wtfpl/)
+: - Icons: Gnome (http://www.gnome.org)
+
+Stylesheet for use with Docutils.
+*/
+
+ at import url(html4css1.css);
+/* /usr/share/pycentral/python-docutils/site-packages/docutils/writers/html4css1/html4css1.css /*
+
+/* workaround.org-specific things */
+body {
+ font-family: Arial, Helvetica, sans-serif ;
+ font-size: 0.9em ;
+ background: #dedfce ; }
+
+.document {
+ width: 100% ; }
+
+/* Main text, lists */
+p, ul.simple {
+ font-family: Georgia, "Trebuchet MS", "Times New Roman", Times, serif ; }
+
+/* TOC */
+a.reference {
+ font-family: Arial ; }
+
+/* Info box */
+div.sidebar {
+ border: 1px solid #505050 ;
+ background: #a6a898 ;
+ width: 30% ; }
+
+/* Info box title */
+.sidebar-title {
+ background-image:url(dialog-information.png) ;
+ background-repeat: no-repeat ;
+ padding-left: 25px ;
+ padding-bottom: 5px ; }
+
+/* Note/warning box */
+div.note {
+ border: 1px solid #787878 ;
+ background: #a4a687 ;
+ width: 70% ; }
+
+/* Note/warning box title */
+.admonition-title {
+ background-image:url(dialog-warning.png) ;
+ background-repeat: no-repeat ;
+ padding-left: 25px ;
+ padding-bottom: 5px ; }
+
+h1 {
+ font-size: 1.6em ; }
+
+h2 {
+ font-size: 1.4em ; }
+
+h3 {
+ font-size: 1.1em ; }
+
+h4 {
+ font-size: 1.0em ; }
+
+/* Code */
+pre.literal-block {
+ font-family: monospace ;
+ background: #efefef ;
+ border: 1px dotted #000000 ;
+ margin: 5px ;
+ padding: 5px ; }
+
+/* Inline code/commands */
+span.pre, literal, tt.docutils {
+ font-weight: 800 ;
+ background: #efefef ;
+ font-family: monospace ; }
+
+/* Table */
+table.docutils {
+ border: 0px ; }
+
+/* Headings */
+th {
+ border: 0px ;
+ background: #a4a687 ; }
+
+/* Data */
+td {
+ border: 0px ;
+ background: #a6a898 ; }
+
Added: trunk/etch/voidspace.css
===================================================================
--- trunk/etch/voidspace.css (rev 0)
+++ trunk/etch/voidspace.css 2007-07-05 13:30:16 UTC (rev 127)
@@ -0,0 +1,137 @@
+/*
+:Authors: Ian Bicking, Michael Foord
+:Contact: fuzzyman at voidspace.org.uk
+:Date: 2005/08/26
+:Version: 0.1.0
+:Copyright: This stylesheet has been placed in the public domain.
+
+Stylesheet for Docutils.
+Based on ``blue_box.css`` by Ian Bicking
+and ``html4css1.css`` revision 1.46.
+*/
+
+ at import url(html4css1.css);
+
+body {
+ font-family: Arial, sans-serif;
+}
+
+em, i {
+ /* Typically serif fonts have much nicer italics */
+ font-family: Times New Roman, Times, serif;
+}
+
+a.target {
+ color: blue;
+}
+
+a.target {
+ color: blue;
+}
+
+a.toc-backref {
+ text-decoration: none;
+ color: black;
+}
+
+a.toc-backref:hover {
+ background-color: inherit;
+}
+
+a:hover {
+ background-color: #cccccc;
+}
+
+div.attention, div.caution, div.danger, div.error, div.hint,
+div.important, div.note, div.tip, div.warning {
+ background-color: #cccccc;
+ padding: 3px;
+ width: 80%;
+}
+
+div.admonition p.admonition-title, div.hint p.admonition-title,
+div.important p.admonition-title, div.note p.admonition-title,
+div.tip p.admonition-title {
+ text-align: center;
+ background-color: #999999;
+ display: block;
+ margin: 0;
+}
+
+div.attention p.admonition-title, div.caution p.admonition-title,
+div.danger p.admonition-title, div.error p.admonition-title,
+div.warning p.admonition-title {
+ color: #cc0000;
+ font-family: sans-serif;
+ text-align: center;
+ background-color: #999999;
+ display: block;
+ margin: 0;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: Helvetica, Arial, sans-serif;
+ border: thin solid black;
+ /* This makes the borders rounded on Mozilla, which pleases me */
+ -moz-border-radius: 8px;
+ padding: 4px;
+}
+
+h1 {
+ background-color: #444499;
+ color: #ffffff;
+ border: medium solid black;
+}
+
+h1 a.toc-backref, h2 a.toc-backref {
+ color: #ffffff;
+}
+
+h2 {
+ background-color: #666666;
+ color: #ffffff;
+ border: medium solid black;
+}
+
+h3, h4, h5, h6 {
+ background-color: #cccccc;
+ color: #000000;
+}
+
+h3 a.toc-backref, h4 a.toc-backref, h5 a.toc-backref,
+h6 a.toc-backref {
+ color: #000000;
+}
+
+h1.title {
+ text-align: center;
+ background-color: #444499;
+ color: #eeeeee;
+ border: thick solid black;
+ -moz-border-radius: 20px;
+}
+
+table.footnote {
+ padding-left: 0.5ex;
+}
+
+table.citation {
+ padding-left: 0.5ex
+}
+
+pre.literal-block, pre.doctest-block {
+ border: thin black solid;
+ padding: 5px;
+}
+
+.image img { border-style : solid;
+ border-width : 2px;
+}
+
+h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
+ font-size: 100%;
+}
+
+code, tt {
+ color: #000066;
+}
More information about the Workaround-chitchat
mailing list