summaryrefslogtreecommitdiff
path: root/stylesheets
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2008-07-03 12:55:24 +1200
committerStuart Rackham <srackham@methods.co.nz>2008-07-03 12:55:24 +1200
commite6b2527cf3920c9be730321c8a2d580b2e53642b (patch)
tree5c68c2ab9c1ee6f4ce46f45d526fb720bccd35ed /stylesheets
parent9a17b51e7ef843920bc43e0e33a15f89a82f7ebf (diff)
downloadasciidoc-py3-e6b2527cf3920c9be730321c8a2d580b2e53642b.tar.gz
Added style attribute with quote and verse styles for QuoteBlocks.
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/xhtml11-quirks.css13
-rw-r--r--stylesheets/xhtml11.css22
2 files changed, 26 insertions, 9 deletions
diff --git a/stylesheets/xhtml11-quirks.css b/stylesheets/xhtml11-quirks.css
index dbb7775..24fbe9e 100644
--- a/stylesheets/xhtml11-quirks.css
+++ b/stylesheets/xhtml11-quirks.css
@@ -19,8 +19,17 @@ div.listingblock div.content {
padding: 0.5em;
}
-div.quoteblock-content {
- padding-left: 2.0em;
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
}
div.exampleblock-content {
diff --git a/stylesheets/xhtml11.css b/stylesheets/xhtml11.css
index fd931dd..ec9e518 100644
--- a/stylesheets/xhtml11.css
+++ b/stylesheets/xhtml11.css
@@ -158,13 +158,25 @@ div.listingblock > div.content {
padding: 0.5em;
}
-div.quoteblock > div.content {
+div.quoteblock {
padding-left: 2.0em;
}
-
-div.attribution {
+div.quoteblock > div.attribution {
+ padding-top: 0.5em;
text-align: right;
}
+
+div.verseblock {
+ padding-left: 2.0em;
+}
+div.verseblock > div.content {
+ white-space: pre;
+}
+div.verseblock > div.attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+/* DEPRECATED: Pre version 8.2.7 verse style literal block. */
div.verseblock + div.attribution {
text-align: left;
}
@@ -187,10 +199,6 @@ div.exampleblock > div.content {
padding: 0.5em;
}
-div.verseblock div.content {
- white-space: pre;
-}
-
div.imageblock div.content { padding-left: 0; }
div.imageblock img { border: 1px solid silver; }
span.image img { border-style: none; }