style fixes
[mdref/mdref] / public / index.css
index 9de9a07d3b2be8fb6488c5d526fdbeda704c0960..22417db30804ddc7c0267a4535c45c2ba10a871a 100644 (file)
@@ -1,4 +1,4 @@
-* { 
+* {
        font-size: 99.9%;
 }
 
@@ -10,7 +10,7 @@ body, code {
        font-family: Inconsolata, Monospace, 'Courier New', Courier, monospace;
 }
 body {
-       line-height: 140%;
+       line-height: 1.5;
        font-size: 1.1em;
        margin: 0;
        padding: 0;
@@ -66,7 +66,7 @@ div.page>ul, div.page>div>ul {
 .sidebar .edit a {
        color: white !important;
 }
-code { 
+code {
        border-radius: 2px;
        padding: 0px 2px 2px 2px;
        background: #f0f0f0;
@@ -86,8 +86,9 @@ pre>code {
        display: inline-block;
        padding: 1em;
        min-width: 50%;
-       line-height: 110%;
+       line-height: 1.2;
 }
+
 pre>code, pre>code code {
        background: #333;
        color: #eee;
@@ -95,6 +96,11 @@ pre>code, pre>code code {
 
 p, pre, table, dl {
        margin: 1em 2em;
+       margin-left: 2em !important;
+}
+
+pre>code, table, dl {
+       margin-bottom: 2em !important;
 }
 
 li>p {
@@ -105,7 +111,7 @@ blockquote {
        border-top: 1px solid #800000;
        border-bottom: 1px solid #800000;
        background: #ffe4e1;
-       margin: 2em 0;
+       margin: 2em 0 !important;
 }
 
 ul {
@@ -239,20 +245,9 @@ dt {
        margin-top: 1em;
 }
 dd {
-       line-height: 1.2em;
+       line-height: 1.33;
        margin-left: 1em;
 }
 h1, footer, table, .sidebar, pre>code, li h3 {
        box-shadow: 0 0 4px #708090;
 }
-
-.gradient {
-background: rgba(254,254,254,1);
-background: -moz-linear-gradient(left, rgba(254,254,254,1) 0%, rgba(254,254,254,1) 20%, rgba(209,209,209,1) 25%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, rgba(209,209,209,1) 75%, rgba(255,255,255,1) 80%, rgba(255,255,255,1) 100%);
-background: -webkit-gradient(left top, right top, color-stop(0%, rgba(254,254,254,1)), color-stop(20%, rgba(254,254,254,1)), color-stop(25%, rgba(209,209,209,1)), color-stop(25%, rgba(255,255,255,1)), color-stop(75%, rgba(255,255,255,1)), color-stop(75%, rgba(209,209,209,1)), color-stop(80%, rgba(255,255,255,1)), color-stop(100%, rgba(255,255,255,1)));
-background: -webkit-linear-gradient(left, rgba(254,254,254,1) 0%, rgba(254,254,254,1) 20%, rgba(209,209,209,1) 25%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, rgba(209,209,209,1) 75%, rgba(255,255,255,1) 80%, rgba(255,255,255,1) 100%);
-background: -o-linear-gradient(left, rgba(254,254,254,1) 0%, rgba(254,254,254,1) 20%, rgba(209,209,209,1) 25%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, rgba(209,209,209,1) 75%, rgba(255,255,255,1) 80%, rgba(255,255,255,1) 100%);
-background: -ms-linear-gradient(left, rgba(254,254,254,1) 0%, rgba(254,254,254,1) 20%, rgba(209,209,209,1) 25%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, rgba(209,209,209,1) 75%, rgba(255,255,255,1) 80%, rgba(255,255,255,1) 100%);
-background: linear-gradient(to right, rgba(254,254,254,1) 0%, rgba(254,254,254,1) 20%, rgba(209,209,209,1) 25%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, rgba(209,209,209,1) 75%, rgba(255,255,255,1) 80%, rgba(255,255,255,1) 100%);
-filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#ffffff', GradientType=1 );
-}
\ No newline at end of file