moar margin for h
[mdref/mdref] / public / index.css
index 2f86d6662aa6d626b68cb5cb47547ff51613031e..0fcd08830234638c3c58a99be73560122d31c85a 100644 (file)
@@ -9,6 +9,7 @@ body {
        font-size: 1.5em;
        margin: 0;
        padding: 0;
+       padding-bottom: 5em;
        color: #3f3f3f;
 }
 
@@ -43,6 +44,7 @@ body>ul {
        position: absolute;
        top: 2em;
        right: 0.5em;
+       -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        text-decoration: none;
        color: white;
@@ -76,7 +78,7 @@ pre>code, pre>code code {
 }
 
 p, pre {
-       margin: 1em 2em;
+       margin: 1em 2em 2em 2em;
 }
 
 li>p {
@@ -119,7 +121,7 @@ h1 code {
        line-height: 1.33;
 }
 
-footer, h1, li h3 {
+footer, h1, li h3, th {
        background: #708090;
        color: #f5f5dc;
 }
@@ -137,6 +139,10 @@ li h3 {
        margin: .5em 0 0 0;
 }
 
+body>h3 {
+       margin-left: 2em;
+}
+
 h1 .constant, pre>code .consant, li h3 .constant {
        color: #98fb98;
 }
@@ -165,12 +171,15 @@ footer {
        font-size: smaller;
        text-align: center;
        clear: both;
-       margin-top: 8em;
+       position: fixed;
+       bottom: 0;
+       width: 100%;
+       padding: 0;
 }
 
 footer ul {
        margin: 0;
-       padding: 0;
+       padding: 1em 0;
 }
 
 footer li {
@@ -185,4 +194,15 @@ footer a {
 
 footer a:hover {
        text-decoration: underline;
-}
\ No newline at end of file
+}
+
+table {
+       border-collapse: collapse;
+}
+th, td {
+       padding: .4em;
+}
+
+h1, footer, table, .sidebar, pre>code, li h3 {
+       box-shadow: 0 0 4px #708090;
+}