From 282f6995f72787ec08d70dd4c5ada29728ba49f3 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 16 Nov 2003 22:56:53 +0000 Subject: [PATCH] Customize XSL for YAZ and add CSS for it --- doc/Makefile.am | 6 +++--- doc/yaz.css | 31 +++++++++++++++++++++++++++++++ doc/yazhtml.xsl.in | 12 +++++++++--- 3 files changed, 43 insertions(+), 6 deletions(-) create mode 100644 doc/yaz.css diff --git a/doc/Makefile.am b/doc/Makefile.am index 7bc45ad..2c71662 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.49 2003-10-27 12:21:24 adam Exp $ +## $Id: Makefile.am,v 1.50 2003-11-16 22:56:53 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ @@ -31,9 +31,9 @@ REFFILES=yaz-client-man.xml yaz-ztest-man.xml yaz-config-man.xml \ yaz-marcdump-man.xml SUPPORTFILES=yazhtml.dsl yazphp.dsl yazprint.dsl tkl.xsl xml.dcl id.eps \ - apilayer.obj + apilayer.obj yaz.css -doc_DATA = $(HTMLFILES) yaz.pdf id.png apilayer.png +doc_DATA = $(HTMLFILES) yaz.pdf id.png apilayer.png yaz.css man_MANS = $(MANFILES) EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(man_MANS) $(REFFILES) \ diff --git a/doc/yaz.css b/doc/yaz.css new file mode 100644 index 0000000..0090156 --- /dev/null +++ b/doc/yaz.css @@ -0,0 +1,31 @@ + +.author { + color: green; +} + +.table table { + border-collapse; + border: 1px solid black; + border-spacing: 0; + width: 92%; + margin-left: auto; + margin-right: auto; +} + +.table th { + padding: 3px 6px; + border: 1px solid black; +} +.table td { + text-align: left; + padding: 3px 6px; +} + +.screen, .synopsis, .programlisting { + margin-left: 4%; + margin-right: 4%; + padding: 4px; + border-style: solid; + border-width: 1px; + border-color: #bbbbbb; +} diff --git a/doc/yazhtml.xsl.in b/doc/yazhtml.xsl.in index 0bc5333..fb93005 100644 --- a/doc/yazhtml.xsl.in +++ b/doc/yazhtml.xsl.in @@ -3,9 +3,15 @@ - - - + + + +0 +1 +1 +3 +3 +1 -- 1.7.10.4