index: link sections in columns
[sheet.git] / base.css
index 0c135b3294c40c213d046ef5c7add47308387138..5336d63971caa510dade6a7d71bbfb9368758fbb 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,17 @@ form.aside {
        right: 1em;
 }
 
+#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 */
+}
+
 /* printing hints */
 
 @page {