diff options
author | André Malo <nd@apache.org> | 2002-10-07 17:17:25 +0200 |
---|---|---|
committer | André Malo <nd@apache.org> | 2002-10-07 17:17:25 +0200 |
commit | f89d0bed8ededea096b25aae002639dbed6ad737 (patch) | |
tree | 6021b2a0189afd2e822aade28ef8c44d052eae23 | |
parent | update transformation... (diff) | |
download | apache2-f89d0bed8ededea096b25aae002639dbed6ad737.tar.xz apache2-f89d0bed8ededea096b25aae002639dbed6ad737.zip |
fix some style issues
- red solid border around warning areas
- <syntax> gets a <code> around
(more shouldn't be used, because it breaks the flow too much)
- headings of warnings, notes & examples are left aligned
Based on a Proposal by: Tim Gerundt <tim@gerundt.de>
Added some linebreaks for better diffs... ;-)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97133 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | docs/manual/style/css/manual-print.css | 2 | ||||
-rw-r--r-- | docs/manual/style/css/manual.css | 6 | ||||
-rw-r--r-- | docs/manual/style/xsl/synopsis.xsl | 12 |
3 files changed, 17 insertions, 3 deletions
diff --git a/docs/manual/style/css/manual-print.css b/docs/manual/style/css/manual-print.css index cf1b0a835c..26dfc19cff 100644 --- a/docs/manual/style/css/manual-print.css +++ b/docs/manual/style/css/manual-print.css @@ -179,7 +179,7 @@ div.example h3, div.note h3, div.warning h3 { margin: 0 0 0.5em 0; - text-align: center; + text-align: left; font-size: 11pt; } diff --git a/docs/manual/style/css/manual.css b/docs/manual/style/css/manual.css index baa7a19d96..1db80b09f8 100644 --- a/docs/manual/style/css/manual.css +++ b/docs/manual/style/css/manual.css @@ -236,7 +236,7 @@ div.example h3, div.note h3, div.warning h3 { margin: 0 0 0.5em 0; - text-align: center; + text-align: left; font-size: 13px; } @@ -755,6 +755,10 @@ div.warning { margin: 1em 2em 1em 1em; } +div.warning { + border: 1px solid #f00; +} + div.note p, div.warning p { margin: 0; diff --git a/docs/manual/style/xsl/synopsis.xsl b/docs/manual/style/xsl/synopsis.xsl index 88bb69e5c6..3049a7c09b 100644 --- a/docs/manual/style/xsl/synopsis.xsl +++ b/docs/manual/style/xsl/synopsis.xsl @@ -121,6 +121,10 @@ <xsl:if test="@type='section'">></xsl:if> </a> </li> + +<xsl:text> +</xsl:text> <!-- insert linebreak --> + </xsl:if> <xsl:if test="@location"> @@ -135,6 +139,10 @@ <xsl:if test="@type='section'">></xsl:if> </a> </li> + +<xsl:text> +</xsl:text> <!-- insert linebreak --> + </xsl:if> </xsl:for-each> </ul> <!-- /toc --> @@ -233,7 +241,9 @@ </a> </th> <td> - <xsl:apply-templates select="syntax"/> + <code> + <xsl:apply-templates select="syntax"/> + </code> </td> </tr> |