Skip to content

Commit f21ff0a

Browse files
committed
Add some more commenting to section up the stylesheet a bit
1 parent e99bb25 commit f21ff0a

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

default.css

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,22 @@
3333

3434
body {counter-reset: exampleno figure}
3535

36-
h2, h3, h5, h6 { margin-top: 2em }
36+
/* Pagination */
3737
h1, h2, h3, h4, h5, h6 { page-break-after: avoid; font-family: inherit }
3838
div.figure, div.sidefigure, pre, table.propdef, table.propdef-extra,
3939
div.example { page-break-inside: avoid }
4040
dt { page-break-after: avoid }
4141

4242
span.id {float: right; font-weight: bold}
4343

44+
/* General Structural Markup */
45+
h2, h3, h5, h6 {
46+
margin-top: 2em;
47+
}
48+
h1 + h2 {
49+
margin-top: 0;
50+
}
51+
4452
p, p.testlink + p, p.mtb {
4553
text-indent: 0;
4654
margin-bottom: 0;
@@ -54,10 +62,6 @@ dd > p:first-child, li > p:first-child {
5462
margin-top: 0
5563
}
5664

57-
h1 + h2 {
58-
margin-top: 0;
59-
}
60-
6165
pre {
6266
text-align: left; /* fixes justification in Mac IE 5 */
6367
text-indent: 0; /* fixes indent in Mac Netscape 6 */
@@ -106,6 +110,8 @@ ul.indexlist { margin-left: 0; /*column-width: 13em; columns: 13em*/ }
106110
ul.indexlist li { margin-left: 0; list-style: none }
107111
ul.indexlist li li { margin-left: 1em }
108112

113+
/* Examples */
114+
109115
.example {
110116
counter-increment: exampleno;
111117
}

0 commit comments

Comments
 (0)