From: Marek Vasut Date: Sat, 6 Oct 2012 14:04:59 +0000 (+0000) Subject: kerneldoc: Add nicer CSS stylesheet for HTML docs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8d5d89e21dee6c4a4ec3613ea1550b9f5b74ac19;p=project%2Fbcm63xx%2Fu-boot.git 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 --- diff --git a/doc/DocBook/docbook.css b/doc/DocBook/docbook.css new file mode 100644 index 0000000000..7a79ec54bd --- /dev/null +++ b/doc/DocBook/docbook.css @@ -0,0 +1,16 @@ +body { + font-family: sans-serif; +} + +.programlisting { + font-family: monospace; + font-size: 1em; + display: block; + padding: 10px; + border: 1px solid #aaa; + color: #000; + background-color: #eee; + overflow: auto; + margin: 1em 0em; + border-radius: 6px; +} diff --git a/doc/DocBook/stylesheet.xsl b/doc/DocBook/stylesheet.xsl index 85b2527519..8adce568b6 100644 --- a/doc/DocBook/stylesheet.xsl +++ b/doc/DocBook/stylesheet.xsl @@ -7,4 +7,5 @@ 2 1 +../docbook.css