From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sun, 7 Oct 2012 02:04:59 +0200 Subject: [U-Boot] [PATCH 2/4 V3] kerneldoc: Add nicer CSS stylesheet for HTML docs In-Reply-To: <1349568301-27116-1-git-send-email-marex@denx.de> References: <1348882394-20629-1-git-send-email-marex@denx.de> <1349568301-27116-1-git-send-email-marex@denx.de> Message-ID: <1349568301-27116-2-git-send-email-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- doc/DocBook/docbook.css | 16 ++++++++++++++++ doc/DocBook/stylesheet.xsl | 1 + 2 files changed, 17 insertions(+) create mode 100644 doc/DocBook/docbook.css V3: - Make use of patman tags in commit description - Push the patches to testing: http://git.denx.de/?p=u-boot/u-boot-testing.git;a=shortlog;h=refs/heads/dm-kerneldoc V2: - Resend diff --git a/doc/DocBook/docbook.css b/doc/DocBook/docbook.css new file mode 100644 index 0000000..7a79ec5 --- /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 85b2527..8adce56 100644 --- a/doc/DocBook/stylesheet.xsl +++ b/doc/DocBook/stylesheet.xsl @@ -7,4 +7,5 @@ 2 1 +../docbook.css -- 1.7.10.4