Commit 8d5d89e21dee6c4a4ec3613ea1550b9f5b74ac19

Authored by Marek Vasut
Committed by Tom Rini
1 parent 30ff89189b

kerneldoc: Add nicer CSS stylesheet for HTML docs

Import basic CSS stylesheet for the HTML documentation. The base for
the stylesheet is taken from:

	http://ds9a.nl/docbook/minimal-page.html

I customized the CSS a bit further, for example to add curvy corners
to example section and change the tint of gray. The HTML documentation
does not look that crude anymore.

Signed-off-by: Marek Vasut <marex@denx.de>

Showing 2 changed files with 17 additions and 0 deletions Side-by-side Diff

doc/DocBook/docbook.css
  1 +body {
  2 + font-family: sans-serif;
  3 +}
  4 +
  5 +.programlisting {
  6 + font-family: monospace;
  7 + font-size: 1em;
  8 + display: block;
  9 + padding: 10px;
  10 + border: 1px solid #aaa;
  11 + color: #000;
  12 + background-color: #eee;
  13 + overflow: auto;
  14 + margin: 1em 0em;
  15 + border-radius: 6px;
  16 +}
doc/DocBook/stylesheet.xsl
... ... @@ -7,5 +7,6 @@
7 7 <!-- <param name="paper.type">A4</param> -->
8 8 <param name="generate.section.toc.level">2</param>
9 9 <param name="use.id.as.filename">1</param>
  10 +<param name="html.stylesheet">../docbook.css</param>
10 11 </stylesheet>