flush
[mdref/mdref] / index.css
index 949bcbc94b753c9270b3d6681a3d44168875c42d..0f33468f9d5a4f88c1eb8bf18110aaab3227172b 100644 (file)
--- a/index.css
+++ b/index.css
@@ -2,29 +2,38 @@
        font-size: 99.9%;
 }
 
+body, code {
+       font-family: Inconsolata, Monospace, 'Courier New', Courier, monospace;
+}
 body {
-       font-family: monospace;
        font-size: 1.5em;
        margin: 0;
        padding: 0;
+       color: #3f3f3f;
 }
 
 body>* {
        margin-left: 1em;
 }
+body>ul {
+       margin-left: 2em;
+}
 
 .sidebar {
+       font-size: .9em;
        float: right;
-       width: 400px;
        background: #f0f0f0;
        border-bottom-left-radius: 10px;
        padding: 0;
-       margin-bottom: 1em;
-       margin-left: 2em;
+       width: auto;
+       padding-right: 1em;
 }
 .sidebar>ul {
-       paddinng: 1em;
+}
+.sidebar ul {
        margin-left: 1em;
+       padding: 0;
+       list-style-type: none;
 }
 
 code { 
@@ -36,31 +45,45 @@ code {
        box-shadow: 0 0 1px #999;
 }
 
-h1 {
-       margin: 0;
+code code {
+       display: inline;
+       padding: 0;
+       background: transparent;
+       border: none;
+       box-shadow: none;
+}
+
+pre>code {
        padding: 1em;
 }
-p {
-       color: #3f3f3f;
+pre>code, pre>code code {
+       background: #333;
+       color: #eee;
+}
+
+p, pre {
        margin: 1em 2em;
 }
 
 blockquote {
-       padding: 1em;
-       border-radius: 4px;
-}
-blockquote, blockquote p {
-       color: #f0f0f0;
+       border-top: 1px solid #800000;
+       border-bottom: 1px solid #800000;
+       background: #ffe4e1;
+       margin: 2em 0;
 }
+
 ul {
        margin-bottom: 2em;
 }
 li {
        margin-bottom: .5em;
 }
-a {
+a, h1 code>a {
        color: #2f4f4f;
 }
+a:hover {
+       text-decoration: none;
+}
 
 .var {
        color: #800000;
@@ -69,19 +92,61 @@ a {
        color: #2e8b57;
 }
 
-.invert, h1, blockquote, blockquote p {
+h1 {
+       line-height: 1.5;
+}
+h1 code {
+       font-weight: normal;
+       font-size: .9em;
+       line-height: 1.33;
+}
+
+footer, h1, li h3 {
        background: #708090;
        color: #f5f5dc;
 }
 
-.invert .constant, h1 .constant, blockquote .constant {
+footer, h1 {
+       margin: 0;
+       padding: 1em;
+}
+
+li h3 {
+       border-radius: 4px;
+       display: inline-block;
+       width: auto;
+       padding: .2em;
+       margin: .5em 0 0 0;
+}
+
+h1 .constant, pre>code .consant, li h3 .constant {
        color: #98fb98;
 }
 
-.invert .var, h1 .var, blockquote .var {
+h1 .var, pre>code .var, li h3 .var {
        color: #f4a460;
 }
 
-.invert a, h1 a, blockquote a {
+footer a, h1 a, pre>code a, li h3 a {
        color: #b0e0e6;
 }
+
+li h3 a {
+       text-decoration: none;
+}
+li h3 a:hover {
+       text-decoration: underline;
+}
+
+#disqus_thread {
+       margin-top: 8em;
+       margin-right: 2em;
+}
+
+footer {
+       font-size: smaller;
+       text-align: center;
+       word-spacing: 1em;
+       clear: both;
+       margin-top: 8em;
+}