Skip to content

Commit f6f9f8a

Browse files
committed
doc: Tweak CSS
Tweak CSS a bit to match latest similar changes to web site style. Also move some CSS out of the HTML to the stylesheet so that the web site stylesheet can override it. This should ensure that notes and such are back to being centered.
1 parent 8548540 commit f6f9f8a

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

doc/src/sgml/stylesheet.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ h2 {
2525
font-size: 1.2em;
2626
margin: 1.2em 0em 1.2em 0em;
2727
font-weight: bold;
28+
color: #666;
29+
}
30+
31+
.titlepage h2.title,
32+
.refnamediv h2 {
2833
color: #EC5800;
2934
}
3035

@@ -71,6 +76,19 @@ div.example {
7176
margin: 0.5ex;
7277
}
7378

79+
/* Put these here instead of inside the HTML (see unsetting of
80+
admon.style in XSL) so that the web site stylesheet can set its own
81+
style. */
82+
83+
.tip,
84+
.note,
85+
.important,
86+
.caution,
87+
.warning {
88+
margin-left: 0.5in;
89+
margin-right: 0.5in;
90+
}
91+
7492
/* miscellaneous */
7593

7694
pre.literallayout, .screen, .synopsis, .programlisting {

doc/src/sgml/stylesheet.xsl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<xsl:param name="generate.legalnotice.link" select="1"></xsl:param>
1717
<xsl:param name="chunk.first.sections" select="1"/>
1818
<xsl:param name="chunk.quietly" select="1"></xsl:param>
19+
<xsl:param name="admon.style"></xsl:param> <!-- handled by CSS stylesheet -->
1920

2021
<xsl:param name="website.stylesheet" select="0"/>
2122

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy