Commit 8d5d89e21dee6c4a4ec3613ea1550b9f5b74ac19
Committed by
Tom Rini
1 parent
30ff89189b
Exists in
master
and in
54 other branches
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