summaryrefslogtreecommitdiff
path: root/stylesheets
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2011-05-29 12:55:40 +1200
committerStuart Rackham <srackham@methods.co.nz>2011-05-29 12:55:40 +1200
commit122ce40edf03b4ce6b13880f3079ce3fec67ad2d (patch)
tree0d8b6019ffef984aa5b9e5b5a1f6603a306b751d /stylesheets
parent50366cd6edae23e930a59e52d60833d7c074d5d0 (diff)
downloadasciidoc-122ce40edf03b4ce6b13880f3079ce3fec67ad2d.tar.gz
xhtml11, html5: Remove necessity for separate manpage CSS files.
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/asciidoc-manpage.css18
-rw-r--r--stylesheets/asciidoc.css23
-rw-r--r--stylesheets/flask-manpage.css1
-rw-r--r--stylesheets/flask.css33
-rw-r--r--stylesheets/volnitsky-manpage.css1
5 files changed, 46 insertions, 30 deletions
diff --git a/stylesheets/asciidoc-manpage.css b/stylesheets/asciidoc-manpage.css
deleted file mode 100644
index 45eba23..0000000
--- a/stylesheets/asciidoc-manpage.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/* Overrides for manpage documents */
-h1 {
- padding-top: 0.5em;
- padding-bottom: 0.5em;
- border-top: 2px solid silver;
- border-bottom: 2px solid silver;
-}
-h2 {
- border-style: none;
-}
-div.sectionbody {
- margin-left: 3em;
-}
-
-@media print {
- div#toc { display: none; }
-}
-
diff --git a/stylesheets/asciidoc.css b/stylesheets/asciidoc.css
index 1475be7..9a84393 100644
--- a/stylesheets/asciidoc.css
+++ b/stylesheets/asciidoc.css
@@ -506,3 +506,26 @@ th.tableblock.valign-middle, td.tableblock.valign-middle {
th.tableblock.valign-bottom, td.tableblock.valign-bottom {
vertical-align: bottom;
}
+
+
+/*
+ * manpage specific
+ *
+ * */
+
+body.manpage h1 {
+ padding-top: 0.5em;
+ padding-bottom: 0.5em;
+ border-top: 2px solid silver;
+ border-bottom: 2px solid silver;
+}
+body.manpage h2 {
+ border-style: none;
+}
+body.manpage div.sectionbody {
+ margin-left: 3em;
+}
+
+@media print {
+ body.manpage div#toc { display: none; }
+}
diff --git a/stylesheets/flask-manpage.css b/stylesheets/flask-manpage.css
deleted file mode 100644
index 75a2dda..0000000
--- a/stylesheets/flask-manpage.css
+++ /dev/null
@@ -1 +0,0 @@
-/* Empty placeholder file */
diff --git a/stylesheets/flask.css b/stylesheets/flask.css
index 8d33bc4..b7bc823 100644
--- a/stylesheets/flask.css
+++ b/stylesheets/flask.css
@@ -1,13 +1,3 @@
-/*
- * AsciiDoc 'flask' theme for xhtml11 and html5 backends. A shameless knock-off
- * of the Flask website styling (http://flask.pocoo.org/docs/).
- *
- * The implementation is straight-forward, consisting of the asciidoc.css file
- * followed by theme specific overrides.
- *
- * */
-
-
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
/* Default font. */
@@ -519,6 +509,29 @@ th.tableblock.valign-bottom, td.tableblock.valign-bottom {
/*
+ * manpage specific
+ *
+ * */
+
+body.manpage h1 {
+ padding-top: 0.5em;
+ padding-bottom: 0.5em;
+ border-top: 2px solid silver;
+ border-bottom: 2px solid silver;
+}
+body.manpage h2 {
+ border-style: none;
+}
+body.manpage div.sectionbody {
+ margin-left: 3em;
+}
+
+@media print {
+ body.manpage div#toc { display: none; }
+}
+
+
+/*
* Theme specific overrides of the preceding (asciidoc.css) CSS.
*
*/
diff --git a/stylesheets/volnitsky-manpage.css b/stylesheets/volnitsky-manpage.css
deleted file mode 100644
index 75a2dda..0000000
--- a/stylesheets/volnitsky-manpage.css
+++ /dev/null
@@ -1 +0,0 @@
-/* Empty placeholder file */