バージョンアップ
[YACASL2.git] / doc / style.css
index 42c692e..9cb0659 100644 (file)
@@ -3,6 +3,12 @@ body {
     margin-right: 12em;
     color: black;
     background-color: #EEE;
+    font-family: sans-serif;
+}
+
+h1, h2, h3, h4, h5, h6 {
+    color: navy;
+    background-color: inherit;
 }
 
 h1, h2 {
@@ -11,21 +17,75 @@ h1, h2 {
 
 .node{
     margin-left: -3em;
+    color: inherit;
+    background-color: #DDF;
+}
+
+.menu, .node {
+    color: inherit;
+    background-color: #DDF;
+}
+
+table.menu, table.menu th, table.menu td {
+    border-style: none;
 }
 
 h2 {
     padding: 0.25em;
-    color: white;
-    background-color: navy;
+    border: 2px solid navy;
 }
 
-h3, h4 {
-    color: navy;
+.contents {
+    background-color: #DDF;
+    border: 4px double #000;
+    padding: 0.5em 1em 0.5em 1em;
+}
+
+.contents h2 {
+    margin-left: 0;
+    color: black;
+    background-color: #DDF;
+}
+
+.contents li {
+    list-style-type: none;
+}
+
+.shortcontents {
+    background-color: #DDF;
+    border: 4px double #000;
+ }
+
+.shortcontents h2{
+    display: none;
+}
+
+h1.node-heading {
+    display: none;
+}
+
+h2.contents-heading{
+    display: none;
+}
+
+h2.shortcontents-heading{
+    display: none;
+}
+
+.shortcontents a {
+   margin-right: 1em;
+}
+
+h3, h4, h5 {
     margin-left: -1em;
 }
 
+h5 {
+    font-size: 100%;
+}
+
 p {
-    line-height: 1.5em;
+    line-height: 1.25em;
     margin-top: 0;
     margin-bottom: 0.5em;
 }
@@ -35,42 +95,68 @@ a:hover {
     text-decoration: underline;
 }
 
-.command {
-    font-family: monospace;
-}
-
-table.cartouche {
-    width: 60%;
-}
-
-pre.example {
+pre.example, pre.verbatim {
     padding: 0.5em 1em 0.5em 1em;
-    color: #CCC;
-    background: black;
-    font-size: 90%;
+    border: 1px solid #CCC;
 }
 
 a {
     text-decoration: none;
 }
 
-blockquote.p {
-    margin-top:0;
-    padding-top:0;
-    line-height: 100%;
+blockquote {
+    line-height: 1.25em;
+    border: 1px solid #00F;
+}
+
+kbd, code, .file, var {
+    font-style: normal;
+    font-weight: normal;
+    font-family: monospace;
+    font-size: 120%;
+    margin-left:0.25em;
+    margin-right: 0.25em;
 }
 
 table, th, td {
-    border: 1px solid #CCC;
+    border: 1px solid black;
     border-collapse: collapse; /* 枠線の表示方法 */
+    margin-bottom: 1em;
 }
 
 table.cartouche, table.cartouche th, table.cartouche td  {
     border: none;
 }
 
-pre.example .command {
+pre.example .command, pre.example .option, pre.example kbd {
     font-weight: bold;
+    font-family: monospace;
+    font-size: 110%;
     background-color: inherit;
-    color: white;
-}
\ No newline at end of file
+    font-style: normal;
+    margin-left:0;
+    margin-right: 0;
+}
+
+pre.example strong {
+    font: inherit;
+    border: 2px solid green;
+}
+
+th, em {
+    font-style: normal;
+    font-weight: bold;
+    font-family: sans-serif;
+}
+
+th {
+    text-align: center;
+}
+
+dfn {
+    font-style: normal;
+}
+
+.header, .menu {
+    display: none;
+}