]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
kerneldoc: Add nicer CSS stylesheet for HTML docs
authorMarek Vasut <marex@denx.de>
Sat, 6 Oct 2012 14:04:59 +0000 (14:04 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:15 +0000 (11:54 -0700)
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>
doc/DocBook/docbook.css [new file with mode: 0644]
doc/DocBook/stylesheet.xsl

diff --git a/doc/DocBook/docbook.css b/doc/DocBook/docbook.css
new file mode 100644 (file)
index 0000000..7a79ec5
--- /dev/null
@@ -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;
+}
index 85b25275196ffab5d34e31e207b78a483128a3f1..8adce568b6040df7ba3d426ca91f09e81ee2e236 100644 (file)
@@ -7,4 +7,5 @@
 <!-- <param name="paper.type">A4</param> -->
 <param name="generate.section.toc.level">2</param>
 <param name="use.id.as.filename">1</param>
+<param name="html.stylesheet">../docbook.css</param>
 </stylesheet>