ドキュメントのスタイルシートを修正
[YACASL2.git] / doc / style.css
index 04bfa1f..acedfa4 100644 (file)
@@ -33,6 +33,7 @@ h2 {
 .contents {
     background-color: #DDF;
     border: 4px double #000;
+    padding: 0.5em 1em 0.5em 1em;
 }
 
 .contents h2 {
@@ -41,6 +42,10 @@ h2 {
     background-color: #DDF;
 }
 
+.contents li {
+    list-style-type: none;
+}
+
 .shortcontents {
     background-color: #DDF;
     border: 4px double #000;
@@ -54,6 +59,10 @@ h1.node-heading {
     display: none;
 }
 
+h2.contents-heading{
+    display: none;
+}
+
 h2.shortcontents-heading{
     display: none;
 }
@@ -82,11 +91,9 @@ a:hover {
     text-decoration: underline;
 }
 
-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 {
@@ -98,11 +105,9 @@ blockquote {
     border: 1px solid #00F;
 }
 
-kbd {
+kbd, code, .file, var {
+    font-style: normal;
     font-family: monospace;
-}
-
-kbd, code, .file {
     margin-left:0.5em;
     margin-right: 0.5em;
 }
@@ -110,6 +115,7 @@ kbd, code, .file {
 table, th, td {
     border: 1px solid #CCC;
     border-collapse: collapse; /* 枠線の表示方法 */
+    margin-bottom: 1em;
 }
 
 table.cartouche, table.cartouche th, table.cartouche td  {
@@ -120,7 +126,7 @@ pre.example .command, pre.example .option, pre.example kbd {
     font-weight: bold;
     font-family: monospace;
     background-color: inherit;
-    color: white;
+    font-style: normal;
     margin-left:0;
     margin-right: 0;
 }
@@ -136,4 +142,8 @@ dt {
 
 dfn {
     font-style: normal;
-}
\ No newline at end of file
+}
+
+.header, .menu {
+    display: none;
+}