sample: delineate preformatted block
[sheet.git] / base.css
index 0c135b3294c40c213d046ef5c7add47308387138..0fdf1096f8d935d6c9be54dc75214738757669c4 100644 (file)
--- a/base.css
+++ b/base.css
@@ -98,10 +98,16 @@ ul {
        list-style: none;
 }
 
-#source pre {
+pre {
        display: inline-block;
        text-align: left;
 }
+#sample > pre {
+       width: 78ch;
+       padding: 0 1em;
+       border-width: 0 1px;
+       border-style: solid;
+}
 
 h2 small {
        position: absolute; /* side note; do not influence alignment */
@@ -465,7 +471,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 +691,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 {