docディレクトリーでデフォルトの動作をallに変更。そのほか微調整
[YACASL2.git] / doc / style.css
index 6e9bcfe..78d193f 100644 (file)
@@ -9,10 +9,14 @@ h1, h2 {
     margin-left: -2em;
 }
 
+.node{
+    margin-left: -3em;
+}
+
 h2 {
+    padding: 0.25em;
     color: white;
     background-color: navy;
-    padding: 0.25em;
 }
 
 h3, h4 {
@@ -31,23 +35,21 @@ a:hover {
     text-decoration: underline;
 }
 
-.command {
+kbd {
     font-family: monospace;
 }
 
+table.cartouche {
+    width: 60%;
+}
+
 pre.example {
-    width: 100%;
     padding: 0.5em 1em 0.5em 1em;
     color: #CCC;
     background: black;
     font-size: 90%;
 }
 
-pre.example b {
-    color: white;
-    background-color: black;
-}
-
 a {
     text-decoration: none;
 }
@@ -62,3 +64,18 @@ table, th, td {
     border: 1px solid #CCC;
     border-collapse: collapse; /* 枠線の表示方法 */
 }
+
+table.cartouche, table.cartouche th, table.cartouche td  {
+    border: none;
+}
+
+pre.example kbd, pre.example .option {
+    font-weight: bold;
+    background-color: inherit;
+    color: white;
+}
+
+pre.example em {
+    font: inherit;
+    border: 2px solid green;
+}