Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf6f9f8a

Browse files
committed
doc: Tweak CSS
Tweak CSS a bit to match latest similar changes to web site style. Alsomove some CSS out of the HTML to the stylesheet so that the web sitestylesheet can override it. This should ensure that notes and such areback to being centered.
1 parent8548540 commitf6f9f8a

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.2em0em1.2em0em;
2727
font-weight: bold;
28+
color:#666;
29+
}
30+
31+
.titlepageh2.title,
32+
.refnamedivh2 {
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:paramname="generate.legalnotice.link"select="1"></xsl:param>
1717
<xsl:paramname="chunk.first.sections"select="1"/>
1818
<xsl:paramname="chunk.quietly"select="1"></xsl:param>
19+
<xsl:paramname="admon.style"></xsl:param><!-- handled by CSS stylesheet-->
1920

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp