sample: format section titles as html headers
[sheet.git] / base.css
index 0c135b3294c40c213d046ef5c7add47308387138..9953dee96ff730c587544e141f3d58c54ff4a605 100644 (file)
--- a/base.css
+++ b/base.css
@@ -98,7 +98,7 @@ ul {
        list-style: none;
 }
 
-#source pre {
+pre {
        display: inline-block;
        text-align: left;
 }
@@ -465,7 +465,7 @@ table.dimap {
 .sy-todo       { background-color: #FF0 }
 
 /* boolean alternate */
-.glyphs i      { font-variant: normal; color: #800 }
+.glyphs b      { font-weight: normal; color: #800 }
 
 /* hover effects */
 .X:hover {cursor: help}
@@ -685,6 +685,25 @@ form.aside {
        right: 1em;
 }
 
+.family-name {
+       font-variant: small-caps;
+}
+
+#index nav {
+       columns: 3;
+       -moz-columns: 3;
+       -webkit-columns: 3;
+}
+nav > .section {
+       break-inside: avoid;
+       -webkit-column-break-inside: avoid; /* webkit */
+       page-break-inside: avoid; /* moz */
+}
+#index nav a {
+       display: inline-block;
+       margin-top: 1em;
+}
+
 /* printing hints */
 
 @page {