fix class vs constant issue
[mdref/mdref] / public / index.css
index 2af8a74dd7f931799b6ade96a8a966885774a175..e305c7a07927f7643cb6ca12ac9d404169672363 100644 (file)
@@ -6,6 +6,7 @@ body, code {
        font-family: Inconsolata, Monospace, 'Courier New', Courier, monospace;
 }
 body {
+       line-height: 140%;
        font-size: 1.1em;
        margin: 0;
        padding: 0;
@@ -73,14 +74,15 @@ pre>code {
        display: inline-block;
        padding: 1em;
        min-width: 50%;
+       line-height: 110%;
 }
 pre>code, pre>code code {
        background: #333;
        color: #eee;
 }
 
-p, pre, table {
-       margin: 1em 2em 2em 2em;
+p, pre, table, dl {
+       margin: 1em 2em;
 }
 
 li>p {
@@ -95,6 +97,7 @@ blockquote {
 }
 
 ul {
+       margin-top: 1em;
        margin-bottom: 2em;
 }
 li {
@@ -145,6 +148,15 @@ li h3 {
 }
 
 body>h3, body>div>h3 {
+       margin-left: 1.25em;
+}
+body>h4, body>div>h4 {
+       margin-left: 1.5em;
+}
+body>h5, body>div>h5 {
+       margin-left: 1.75em;
+}
+body>h6, body>div>h6 {
        margin-left: 2em;
 }
 
@@ -207,7 +219,14 @@ table {
 th, td {
        padding: .4em;
 }
-
+dt {
+       font-weight: bold;
+       margin-top: 1em;
+}
+dd {
+       line-height: 1.2em;
+       margin-left: 1em;
+}
 h1, footer, table, .sidebar, pre>code, li h3 {
        box-shadow: 0 0 4px #708090;
 }