summaryrefslogtreecommitdiff
path: root/xorg.css
AgeCommit message (Collapse)Author
2011-09-18CSS style: support styling for multi licensed docsGaetan Nadon
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>
2011-09-09Embed CSS styles inside the HTML HEAD elementGaetan Nadon
Rather than referring to the external xorg.css stylesheet, embed the content of the file in the html output produced. This is accomplished by adding an xsl:template to the customization layer. The content of xorg.css must not be encoded due to the '<' character. This makes the whole html docs tree much more relocatable. In addition, it eliminates xorg.css as a runtime file which makes xorg-sgml-doctools a build time only package. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-09CSS: authors and affiliation spacingGaetan Nadon
The objective is to have more spacing between each author so their affiliation is visually grouped with its author. The previous method was not reliable as it was making an assumption about the preceeding element. The new method of reducing the bottom margin for the author should be more reliable. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-08-10Review documents cascading style sheetGaetan Nadon
There is no drastic changes in style, it will go unnoticed for the most part. Many inconsistencies in titles and headings were fixed in both books and articles. The large libX11 specs was used a reference. The border above each and every section was removed, keeping only level 2 headings. It alleviates the sense of "being lost". An additional step might be the section numbering. The body background and foreground colors are no longer set, which will not interfere with the user own styling. This should fix #37535. The figure-float was removed as it was specific for one figure and did not yield nice results. There is virtually no room for improvements with what docbook has to offer. All xorg docs were reviewed to ensure nothing got badly broken. A few changes in the doc source was made in libX11 and similar changes need to be done in the remaining xorg docs. They only affect minor spacing issues. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-11-06xorg.css: center <othercredit> as wellAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-08xorg.css: center more bits of title pagesAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-28Add style rules for <screen> output sections to xorg.cssAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-18Provide common CSS & XSL stylesheets for DocBook docsAlan Coopersmith
These have been copied into & expanded in several modules already, might as well make a common copy to share so that our docs end up with a common style. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>