From 15ad40c8d8abd86a4b83e445031fd467406b45d8 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Thu, 8 Mar 2007 22:09:41 -0500 Subject: tweak the css for the docs --- doc/ConsoleKit.xml.in | 4 --- doc/docbook.css | 77 +++++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 66 insertions(+), 15 deletions(-) (limited to 'doc') diff --git a/doc/ConsoleKit.xml.in b/doc/ConsoleKit.xml.in index 7eb0cb1..73834a1 100644 --- a/doc/ConsoleKit.xml.in +++ b/doc/ConsoleKit.xml.in @@ -62,8 +62,4 @@ - - Index - - diff --git a/doc/docbook.css b/doc/docbook.css index 9a0e72a..f1ee7e1 100644 --- a/doc/docbook.css +++ b/doc/docbook.css @@ -1,18 +1,73 @@ -body { - font-family: luxi sans,sans-serif; +body +{ + font-family: sans-serif; +} +h1.title +{ +} +.synopsis, .classsynopsis +{ + background: #eeeeee; + border: solid 1px #aaaaaa; + padding: 0.5em; +} +.programlisting +{ + background: #eeeeff; + border: solid 1px #aaaaff; + padding: 0.5em; +} +.variablelist +{ + padding: 4px; + margin-left: 3em; +} +.variablelist td:first-child +{ + vertical-align: top; +} +td.shortcuts +{ + color: #770000; + font-size: 80%; +} +div.refnamediv +{ + margin-top: 2em; +} +div.toc +{ + border: 2em; +} +a +{ + text-decoration: none; +} +a:hover +{ + text-decoration: underline; + color: #FF0000; } -table { - border: solid 1pt; - border-collapse: collapse; +div.table table +{ + border-collapse: collapse; + border-spacing: 0px; + border-style: solid; + border-color: #777777; + border-width: 1px; } -th { - background: #eeeeee; - padding: 5px; +div.table table td, div.table table th +{ + border-style: solid; + border-color: #777777; + border-width: 1px; + padding: 3px; + vertical-align: top; } -td { - border: solid 1pt; - padding: 5px; +div.table table th +{ + background-color: #eeeeee; } -- cgit