ドキュメント作成
[YACASL2.git] / doc / yacasl2 / style.css
index 9d84815..931e539 100644 (file)
@@ -1,10 +1,29 @@
 body {
     margin-left: 6em;
     margin-right: 12em;
+    color: black;
+    background-color: #EEC;
+}
+
+h1, h2 {
+    margin-left: -2em;
+}
+
+h2 {
+    color: white;
+    background-color: navy;
+    padding: 0.25em;
+}
+
+h3, h4 {
+    color: navy;
+    margin-left: -1em;
 }
 
 p {
     line-height: 1.5em;
+    margin-top: 0;
+    margin-bottom: 0.5em;
 }
 
 a:hover {
@@ -16,13 +35,19 @@ a:hover {
     font-family: monospace;
 }
 
-pre.verbatim {
-    width: 75%;
-    padding: 0.5em 1em 0.5em 1em;
-    color: white;
+pre.example {
+    width: 90%;
+    margin-left: 0;
+    padding: 0.5em 1em 0.5em 0;
+    color: #CCC;
     background: black;
 }
 
+pre.example b {
+    color: white;
+    background-color: black;
+}
+
 a {
     text-decoration: none;
 }
@@ -32,3 +57,8 @@ blockquote.p {
     padding-top:0;
     line-height: 100%;
 }
+
+table, th, td {
+    border: 1px solid #CCC;
+    border-collapse: collapse; /* 枠線の表示方法 */
+}