lift max-width limitation
[mdref/mdref] / public / index.css
index 9de9a07d3b2be8fb6488c5d526fdbeda704c0960..69f33cc8d72f6e339f23a49fea9b6f34972a0203 100644 (file)
@@ -1,16 +1,15 @@
-* { 
-       font-size: 99.9%;
+html {
+       font-size: 18px;
 }
-
 html, body{
        height: 100%;
        min-height: 100%;
 }
 body, code {
-       font-family: Inconsolata, Monospace, 'Courier New', Courier, monospace;
+       font-family: Inconsolata, 'Inconsolata Awesome', 'Andale Mono', Monaco, 'Courier New', Courier, monospace;
 }
 body {
-       line-height: 140%;
+       line-height: 1.5;
        font-size: 1.1em;
        margin: 0;
        padding: 0;
@@ -19,8 +18,8 @@ body {
 
 div.page {
        margin: auto;
-       max-width: 1200px;
-       min-height: 100%;
+/*     max-width: 1200px;
+*/     min-height: 100%;
        padding-bottom: 5em;
        box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.5);
 }
@@ -40,12 +39,15 @@ div.page>ul, div.page>div>ul {
        width: auto;
        min-width: 200px;
        padding-right: 1em;
+       padding-bottom: 1em;
+       margin-bottom: 1em;
 }
 .sidebar>ul {
 }
 .sidebar ul {
        margin-left: 1em;
        margin-top: .5em;
+       margin-bottom: 0;
        padding: 0;
        list-style-type: none;
 }
@@ -66,7 +68,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 +88,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 +98,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,13 +113,30 @@ blockquote {
        border-top: 1px solid #800000;
        border-bottom: 1px solid #800000;
        background: #ffe4e1;
-       margin: 2em 0;
+       margin: 2em 0 !important;
 }
 
 ul {
        margin-top: 1em;
        margin-bottom: 2em;
 }
+ol {
+       list-style-type: none;
+}
+ol ul {
+       margin-top: 0;
+       margin-bottom: 0;
+}
+ol li {
+       margin-bottom: 0;
+}
+ol>li {
+       font-weight: bold;
+       margin-bottom: .5em;
+}
+ol>li>* {
+       font-weight: normal;
+}
 li {
        margin-bottom: .5em;
 }
@@ -125,6 +150,14 @@ a[href^="http:"]:after, a[href^="https:"]:after {
        content: " ⬈";
 }
 
+a.permalink {
+       position: relative;
+       top: 0;
+       right: 0;
+       color: #999999;
+       opacity: 0.25;
+}
+
 .var {
        color: #800000;
 }
@@ -132,25 +165,30 @@ a[href^="http:"]:after, a[href^="https:"]:after {
        color: #2e8b57;
 }
 
+h1, li h3, th, footer {
+       background: #708090;
+       color: #f5f5dc;
+}
+
+h1, footer {
+       margin: 0;
+/*     max-width: 1200px;
+*/     padding: 1em;
+}
+
 h1 {
        line-height: 1.5;
        margin-left: 0 !important;
+       padding-left: 2em;
 }
 h1 code {
        font-weight: normal;
        font-size: .9em;
        line-height: 1.33;
 }
-
-footer, h1, li h3, th {
-       background: #708090;
-       color: #f5f5dc;
-}
-
-footer, h1 {
-       margin: 0;
-       max-width: 1200px;
-       padding: 1em;
+h1 a.permalink {
+       left: -.8em;
+       margin-right: -.6em;
 }
 
 li h3 {
@@ -181,11 +219,23 @@ h1 .constant, pre>code .consant, li h3 .constant {
 h1 .var, pre>code .var, li h3 .var {
        color: #f4a460;
 }
-
+h1 {
+       font-size: 125%;
+}
+h2 {
+       font-size: 120%;
+}
+h3 {
+       font-size: 110%;
+}
+h4 {
+       font-size: 100%;
+}
 footer a, h1 a, pre>code a, li h3 a {
        color: #b0e0e6;
 }
-
+li h3 {
+}
 li h3 a {
        text-decoration: none;
 }
@@ -233,26 +283,16 @@ table {
 }
 th, td {
        padding: .4em;
+       border-bottom: 1px solid rgba(112, 128, 144, 0.1);
 }
 dt {
        font-weight: bold;
        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