summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-09-18 11:11:30 -0400
committerGaetan Nadon <memsize@videotron.ca>2011-09-18 13:19:43 -0400
commitf79f3f5c7eb592211a7646d57e011594b60515cc (patch)
treeac357a36084d4924cfca5c150639b7d4ef3ba5e0
parent2ce8b9381538e48b57e5ab7e11dad412fd9b8429 (diff)
CSS style: support styling for multi licensed docs
For documentation having multiple licenses, the copyright and legalnotice elements sequence cannot instantiated multiple times. The copyright notice and license text are therefore coded inside a legalnotice element. The role attribute on the paragraph is used to allow styling of the copyright notice text which should not be italicized. Also restore the font size to the default "medium" size. Markup example: <para role="multiLicensing">Copyright © 1994 X Consortium</para> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--xorg.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/xorg.css b/xorg.css
index 278ed7f..8a3871c 100644
--- a/xorg.css
+++ b/xorg.css
@@ -152,6 +152,18 @@ div.titlepage .pubdate {
}
/*
+ * For documentation having multiple licenses, the copyright and legalnotice
+ * elements sequence cannot instantiated multiple times.
+ * The copyright notice and license text are therefore coded inside a legalnotice
+ * element. The role attribute on the paragraph is used to allow styling of the
+ * copyright notice text which should not be italicized.
+ */
+p.multiLicensing {
+ font-style: normal;
+ font-size: medium;
+}
+
+/*
* Selection: book or article main ToC title
* A paragraph is generated for the title rather than a level 2 heading.
* We do not want to select chapters sub table of contents, only the main one