summaryrefslogtreecommitdiff
path: root/xhtml11.conf
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2011-05-19 12:03:31 +1200
committerStuart Rackham <srackham@methods.co.nz>2011-05-19 12:03:31 +1200
commit4b48b4a737863ad8bea5cbbb67b8a606227309f6 (patch)
tree304f8c786e6ff4db53f44be1ed8db48e8f296a8e /xhtml11.conf
parente19dc3df6e0ef79ab2af87783bde556f63e72d86 (diff)
downloadasciidoc-4b48b4a737863ad8bea5cbbb67b8a606227309f6.tar.gz
- Rolled CSS files for xhtml11 and html5 into single asciidoc.css file.
- Added 'flask' theme for xhtml11 and html5 backends. - CSS tweaking. - CSS injected by 'stylesheet' attribute now has highest precedence. - html5: table 'frame' attribute now defaults to 'all' instead of 'topbot' as per documentation. - Documented HTML stylesheets and JavaScripts locations.
Diffstat (limited to 'xhtml11.conf')
-rw-r--r--xhtml11.conf20
1 files changed, 9 insertions, 11 deletions
diff --git a/xhtml11.conf b/xhtml11.conf
index 45067c9..543bb1a 100644
--- a/xhtml11.conf
+++ b/xhtml11.conf
@@ -530,33 +530,31 @@ cellspacing="0" cellpadding="4">
<title>{title}</title>
{title%}<title>{doctitle=}</title>
ifdef::linkcss[]
-<link rel="stylesheet" href="{stylesdir=.}/{theme%asciidoc-common.css}" type="text/css" />
-<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
-{doctype-manpage}<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-manpage.css" type="text/css" />
+<link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}.css" type="text/css" />
+{doctype-manpage}<link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}-manpage.css" type="text/css" />
ifdef::quirks[]
-<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-quirks.css" type="text/css" />
+<link rel="stylesheet" href="{stylesdir=.}/xhtml11-quirks.css" type="text/css" />
endif::quirks[]
-<link rel="stylesheet" href="{stylesdir=.}/{stylesheet}" type="text/css" />
ifdef::pygments[<link rel="stylesheet" href="{stylesdir=.}/pygments.css" type="text/css" />]
ifdef::toc2[<link rel="stylesheet" href="{stylesdir=.}/toc2.css" type="text/css" />]
+<link rel="stylesheet" href="{stylesdir=.}/{stylesheet}" type="text/css" />
endif::linkcss[]
ifndef::linkcss[]
<style type="text/css">
-include1::{stylesdir=./stylesheets}/{theme%asciidoc-common.css}[]
-include1::{stylesdir=./stylesheets}/{theme={backend}}.css[]
+include1::{stylesdir=./stylesheets}/{theme=asciidoc}.css[]
ifdef::doctype-manpage[]
-include1::{stylesdir=./stylesheets}/{theme={backend}}-manpage.css[]
+include1::{stylesdir=./stylesheets}/{theme=asciidoc}-manpage.css[]
endif::doctype-manpage[]
ifdef::quirks[]
-include1::{stylesdir=./stylesheets}/{theme={backend}}-quirks.css[]
+include1::{stylesdir=./stylesheets}/xhtml11-quirks.css[]
endif::quirks[]
-include1::{stylesheet}[]
ifdef::pygments[]
include1::{stylesdir=./stylesheets}/pygments.css[]
endif::pygments[]
ifdef::toc2[]
include1::{stylesdir=./stylesheets}/toc2.css[]
endif::toc2[]
+include1::{stylesheet}[]
</style>
endif::linkcss[]
ifndef::disable-javascript[]
@@ -682,5 +680,5 @@ template::[sect1]
endif::doctype-manpage[]
ifdef::quirks[]
-include::{backend}-quirks.conf[]
+include::xhtml11-quirks.conf[]
endif::quirks[]