From f79f3f5c7eb592211a7646d57e011594b60515cc Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sun, 18 Sep 2011 11:11:30 -0400 Subject: CSS style: support styling for multi licensed docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Copyright © 1994 X Consortium Signed-off-by: Gaetan Nadon --- xorg.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/xorg.css b/xorg.css index 278ed7f..8a3871c 100644 --- a/xorg.css +++ b/xorg.css @@ -151,6 +151,18 @@ div.titlepage .pubdate { font-style: italic; } +/* + * 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. -- cgit v1.2.3