]> granicus.if.org Git - p11-kit/commitdiff
Fix up styling of documentation.
authorStef Walter <stefw@collabora.co.uk>
Thu, 31 Mar 2011 12:27:56 +0000 (14:27 +0200)
committerStef Walter <stefw@collabora.co.uk>
Thu, 31 Mar 2011 12:27:56 +0000 (14:27 +0200)
doc/p11-kit-docs.sgml
doc/style.css [new file with mode: 0644]
gtk-doc.make

index 03fd582d7c371035a91c1ce7aa4ea59bf91f3e6b..d00cc36c8745f9f9dcccdde7f6b718ac3856bcb4 100644 (file)
@@ -7,7 +7,7 @@
 ]>
 <book id="index">
        <bookinfo>
-               <title>P11-Kit Manual</title>
+               <title>p11-kit</title>
                <releaseinfo>for p11-kit &version;</releaseinfo>
        </bookinfo>
 
diff --git a/doc/style.css b/doc/style.css
new file mode 100644 (file)
index 0000000..859273f
--- /dev/null
@@ -0,0 +1,70 @@
+@import url("gtk-doc.css");
+
+TABLE.navigation {
+       background-color: #f9b631 !important;
+       border-width: 0 !important;
+       color: white;
+       font-family: Georgia, "Times New Roman", Times, serif;
+       height: 4em !important;
+}
+
+TABLE.navigation TH {
+       font-size: 30pt !important;
+       font-weight: normal;
+       text-align: left !important;
+       padding-left: 10pt;
+}
+
+TABLE.navigation TH:first-child {
+       padding-left: 40pt;
+}
+
+.shortcuts {
+       color: white !important;
+}
+
+.shortcuts a {
+       color: white !important;
+       font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;
+}
+
+P.title {
+       font-size: 30pt !important;
+}
+
+BODY {
+       padding-top: 5.5em !important;
+}
+
+DIV.book,
+DIV.refentry,
+DIV.chapter {
+       font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;
+       font-size: 9.5pt;
+       line-height: 150%;
+}
+
+DIV.variablelist TABLE {
+       font-size: 9.5pt;
+       line-height: 150%;
+}
+
+DIV.refentry,
+DIV.chapter {
+       margin-left: 3em;
+       margin-right: 1em;
+}
+
+DIV.refsect2 {
+       margin-bottom: 3em !important;
+}
+
+H2 {
+       position: relative;
+       left: -1em;
+       font-weight: normal !important;
+}
+
+H3 {
+       font-weight: normal !important;
+}
index a97578b34a0aeee19499879f5e410c6b21bafba5..00b080f8c59f1f6d1c53b8d2e9643814ae9f7314 100644 (file)
@@ -124,7 +124,7 @@ sgml.stamp: sgml-build.stamp
 
 #### html ####
 
-html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
+html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) style.css
        @echo 'gtk-doc: Building HTML'
        @-chmod -R u+w $(srcdir)
        @rm -rf $(srcdir)/html
@@ -138,6 +138,8 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
        @test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )
        @echo 'gtk-doc: Fixing cross-references'
        @cd $(srcdir) && gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) | grep -v "no link for.*CK-.*CAPS" || true
+       @mv html/style.css html/gtk-doc.css
+       @cp $(srcdir)/style.css html
        @touch html-build.stamp
 
 #### pdf ####