Skip to content

Commit 312ea7d

Browse files
author
H. Peter Anvin
committed
nasmdoc.css: make columns wider, smaller text in Appendix F
The column width really wasn't quite enough. Make the text size in Appendix F which can be rather wide smaller. There is also no real reason to put that in a background box. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
1 parent 1ec9d7d commit 312ea7d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

doc/nasmdoc.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ code, pre {
5050
font-family: "roboto mono", "source code pro", "liberation mono", "monospace";
5151
font-size: 90%;
5252
}
53+
pre {
54+
background: #f0f0f0;
55+
}
56+
#appendix-F ~ pre {
57+
font-size: 75%;
58+
background: white;
59+
}
5360
code {
5461
font-weight: bolder;
5562
}
@@ -58,9 +65,6 @@ pre, blockquote {
5865
margin-right: 4em;
5966
padding: 0.25em 0.4em;
6067
}
61-
pre {
62-
background: #f0f0f0;
63-
}
6468
code {
6569
display: inline;
6670
white-space: nowrap;
@@ -119,10 +123,10 @@ div.index .ref {
119123
flex: 1 1 0;
120124
}
121125
div.toc, div.chapter, div.appendix {
122-
column-width: 32em;
126+
column-width: 42em;
123127
}
124128
div.index {
125-
column-width: 16em;
129+
column-width: 20em;
126130
margin-right: 3em;
127131
}
128132
div.index li {

0 commit comments

Comments
 (0)