disqus got lost while refactoring
[mdref/mdref] / public / index.css
index 754f96cd50e663503306e7f619adee6890c8bc8e..ce3f5aa3515c2e7df4bd7d9ba0f3f4fbc51479d8 100644 (file)
@@ -9,6 +9,7 @@ body {
        font-size: 1.5em;
        margin: 0;
        padding: 0;
+       padding-bottom: 5em;
        color: #3f3f3f;
 }
 
@@ -26,6 +27,7 @@ body>ul {
        border-bottom-left-radius: 10px;
        padding: 0;
        width: auto;
+       min-width: 200px;
        padding-right: 1em;
 }
 .sidebar>ul {
@@ -37,6 +39,19 @@ body>ul {
        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;
@@ -66,6 +81,10 @@ p, pre {
        margin: 1em 2em;
 }
 
+li>p {
+       margin: 1em 0;
+}
+
 blockquote {
        border-top: 1px solid #800000;
        border-bottom: 1px solid #800000;
@@ -102,7 +121,7 @@ h1 code {
        line-height: 1.33;
 }
 
-footer, h1, li h3 {
+footer, h1, li h3, th {
        background: #708090;
        color: #f5f5dc;
 }
@@ -148,12 +167,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 {
@@ -168,4 +190,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;
+}