From: Andre Malo Date: Sat, 28 Sep 2002 23:49:14 +0000 (+0000) Subject: - add the general ability to create zebra tables X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd45ca0d47b34cb69139a6c39fc9d340852adeaf;p=apache - add the general ability to create zebra tables automagically () - allow some attributes in th (e.g. colspan) - add ability for

sections - refuse to transform deeper nesting than h4 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97008 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/style/common.dtd b/docs/manual/style/common.dtd index 31bf21af6c..9a2d4002ea 100644 --- a/docs/manual/style/common.dtd +++ b/docs/manual/style/common.dtd @@ -74,17 +74,20 @@ bgcolor CDATA #IMPLIED cellspacing CDATA #IMPLIED cellpadding CDATA #IMPLIED - border CDATA #IMPLIED > + border CDATA #IMPLIED + style CDATA #IMPLIED> + diff --git a/docs/manual/style/css/manual-loose-100pc.css b/docs/manual/style/css/manual-loose-100pc.css index c84430753f..3c402075d3 100644 --- a/docs/manual/style/css/manual-loose-100pc.css +++ b/docs/manual/style/css/manual-loose-100pc.css @@ -42,6 +42,10 @@ h3 { font-size: 1.1em; } +h4 { + font-size: 1em; +} + div.example h3, div.note h3, div.warning h3 { diff --git a/docs/manual/style/css/manual-print.css b/docs/manual/style/css/manual-print.css index ac337aedcf..bc6728b56c 100644 --- a/docs/manual/style/css/manual-print.css +++ b/docs/manual/style/css/manual-print.css @@ -26,6 +26,10 @@ strong { font-weight: bold; } +q, em, var { + font-style: italic; +} + /* fixup IE & Opera * otherwise they forget to inherit * the computed font-size value @@ -134,7 +138,7 @@ h2 a:active { text-decoration: none; } -/* h3 */ +/* h3, h4 */ /* ====================== */ h3 { background-color: inherit; @@ -146,8 +150,18 @@ h3 { padding: 0 0 0 0.2em; } +h4 { + background-color: inherit; + color: #000; + text-decoration: none; + font-weight: bold; + font-size: 11pt; + margin: 1.3em 0 0.2em 0; + padding: 0 0 0 0.2em; +} + /* margin adjustment */ -h3 + * { +h3 + *, h4 + * { margin-top: 0; } @@ -182,7 +196,10 @@ div#quickview h3.directives { /* take care of s inside */ h3 a, h3 a:hover, -h3 a:active { +h3 a:active, +h4 a, +h4 a:hover, +h4 a:active { color: inherit; background-color: inherit; text-decoration: none; @@ -224,6 +241,11 @@ th { font-weight: bold; } +tr.header, tr.header th { + border-top: 1px solid #000; + border-bottom: 1px solid #000; +} + /* bordered table cells */ /* ====================== */ diff --git a/docs/manual/style/css/manual.css b/docs/manual/style/css/manual.css index 64b46b45ab..4ff6f781d3 100644 --- a/docs/manual/style/css/manual.css +++ b/docs/manual/style/css/manual.css @@ -26,6 +26,10 @@ strong { font-weight: bold; } +q, em, var { + font-style: italic; +} + /* fixup IE & Opera * otherwise they forget to inherit * the computed font-size value @@ -59,6 +63,8 @@ a:active { /* hover on non-white backgrounds */ tr.odd a:hover, tr.odd a:active, +tr.header a:hover, +tr.header a:active, div.note a:hover, div.note a:active, div.example a:hover, @@ -93,6 +99,8 @@ code.module a:active { /* hover on non-white backgrounds */ tr.odd code.module a:hover, tr.odd code.module a:active, +tr.header code.module a:hover, +tr.header code.module a:active, div.note code.module a:hover, div.note code.module a:active, div.example code.module a:hover, @@ -127,6 +135,8 @@ code.directive a:active { /* hover on non-white backgrounds */ tr.odd code.directive a:hover, tr.odd code.directive a:active, +tr.header code.directive a:hover, +tr.header code.directive a:active, div.note code.directive a:hover, div.note code.directive a:active, div.example code.directive a:hover, @@ -185,7 +195,7 @@ h2 a:active { text-decoration: none; } -/* h3 */ +/* h3, h4 */ /* ====================== */ h3 { background-color: inherit; @@ -197,8 +207,18 @@ h3 { padding: 0; } +h4 { + background-color: inherit; + color: #036; + text-decoration: none; + font-weight: bold; + font-size: 14px; + margin: 1.3em 0 0.2em 0; + padding: 0; +} + /* margin adjustment */ -h3 + * { +h3 + *, h4 + * { margin-top: 0; } @@ -233,7 +253,10 @@ div#quickview h3.directives { /* take care of s inside */ h3 a, h3 a:hover, -h3 a:active { +h3 a:active, +h4 a, +h4 a:hover, +h4 a:active { color: inherit; background-color: inherit; text-decoration: none; @@ -307,6 +330,12 @@ tr.odd { /* for large tables alternating colors */ background-color: #f2f2f2; } +tr.header, tr.header th { + background-color: #e2e2e2; + border-top: 1px solid #aaa; + border-bottom: 1px solid #aaa; +} + /* bordered table cells */ /* ====================== */ diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl index 01df2333fc..26cf1aa11c 100644 --- a/docs/manual/style/xsl/common.xsl +++ b/docs/manual/style/xsl/common.xsl @@ -217,6 +217,46 @@ + + + + + + +

+ + + + + + + + + +

+ + + + + + + + + + + + + + FATAL: exceeding maximum section nesting level. + + Perhaps you should consider to split your document into + several ones... + + + + + + @@ -501,18 +541,56 @@ - + + + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
- +
- +