moar margin for h
[mdref/mdref] / public / index.css
index a48ac00cbe108890578606ee1001f2ed4bf40cd4..0fcd08830234638c3c58a99be73560122d31c85a 100644 (file)
@@ -9,6 +9,7 @@ body {
        font-size: 1.5em;
        margin: 0;
        padding: 0;
+       padding-bottom: 5em;
        color: #3f3f3f;
 }
 
@@ -26,16 +27,31 @@ body>ul {
        border-bottom-left-radius: 10px;
        padding: 0;
        width: auto;
+       min-width: 200px;
        padding-right: 1em;
 }
 .sidebar>ul {
 }
 .sidebar ul {
        margin-left: 1em;
+       margin-top: .5em;
        padding: 0;
        list-style-type: none;
 }
 
+.sidebar .edit {
+       display: block;
+       position: absolute;
+       top: 2em;
+       right: 0.5em;
+       -webkit-transform: rotate(45deg);
+       transform: rotate(45deg);
+       text-decoration: none;
+       color: white;
+       font-weight: bold;
+       text-shadow: 0 0 5px red;
+}
+
 code { 
        display: inline-block;
        border-radius: 2px;
@@ -62,7 +78,11 @@ pre>code, pre>code code {
 }
 
 p, pre {
-       margin: 1em 2em;
+       margin: 1em 2em 2em 2em;
+}
+
+li>p {
+       margin: 1em 0;
 }
 
 blockquote {
@@ -101,7 +121,7 @@ h1 code {
        line-height: 1.33;
 }
 
-footer, h1, li h3 {
+footer, h1, li h3, th {
        background: #708090;
        color: #f5f5dc;
 }
@@ -119,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;
 }
@@ -147,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 {
@@ -160,3 +187,22 @@ footer li {
        display: inline-block;
        margin: 0 1em;
 }
+
+footer a {
+       text-decoration: none;
+}
+
+footer a:hover {
+       text-decoration: underline;
+}
+
+table {
+       border-collapse: collapse;
+}
+th, td {
+       padding: .4em;
+}
+
+h1, footer, table, .sidebar, pre>code, li h3 {
+       box-shadow: 0 0 4px #708090;
+}