]> git.donarmstrong.com Git - don.git/blobdiff - local.css
move the sidebar align to top
[don.git] / local.css
index 1181ae3aaaa28fad5d8c169a3d6b3a7352f829ac..3a7e5717fafe7f9e087c036d4bf750d8a6e9fe0f 100644 (file)
--- a/local.css
+++ b/local.css
@@ -226,6 +226,7 @@ div.recentchanges {
 .sidebar {
        width: 20ex;
        float: right;
+    vertical-align: top;
        margin-left: 4px;
        margin-bottom: 4px;
        margin-top: -1px;
@@ -387,7 +388,7 @@ input#searchbox {
 }
 
 /* highlight plugin */
-pre.hl { color:#404048; background-color:#ddf; }
+pre.hl { color:#404048; background-color:#eef; }
 .hl.num { color:#2020ff; }
 .hl.esc { color:#005858; }
 .hl.str { color:#2020ff; }
@@ -397,7 +398,7 @@ pre.hl { color:#404048; background-color:#ddf; }
 .hl.dir { color:#008200; }
 .hl.sym { color:#404048; }
 .hl.line { color:#ff00c0; }
-.hl.mark { background-color:#ffffbb; }
+.hl.mark { background-color:#ffb; }
 .hl.kwa { color:#008858; font-weight:bold; }
 .hl.kwb { color:#7040ff; font-weight:bold;}
 .hl.kwc { color:#87002f; font-weight:bold; }
@@ -459,7 +460,7 @@ li.L8 { list-style: upper-alpha; }
        border-right: 1px solid #993300;
        border-bottom: 1px solid #331100;
        padding: 0px 0.5em 0px 0.5em;
-       font-family: "liberation_serifregular",sans-serif;
+       font-family: sans-serif;
        font-weight: bold;
        font-size: small;
        text-decoration: none;
@@ -550,7 +551,7 @@ pre {
 body {
        margin: 0;
        padding: 0;
-       font-family: sans-serif;
+       font-family: "liberation_serifregular",sans-serif;
        color: black;
        background: white;
 }
@@ -564,13 +565,18 @@ body {
        border-color: #999;
        border-style: none none solid none;
        border-width: 1px;
-        background-image: url('/images/da_background.jpg');
-        background-repeat: no-repeat;
+    background-image: url('/images/da_background.jpg');
+    background-repeat: no-repeat;
+    background-size: 100% 100%;
 }
 
 .pageheader .header {
        float: left;
        font-size: 120%;
+    background-color: rgba(255, 255, 255, 0.8);
+    border-radius: 0.5em;
+    box-shadow: 4px 4px rgba(0, 0, 0, 0.2);
+    padding: 0.25em;
 }
 
 .header {
@@ -580,7 +586,7 @@ body {
 .title {
        display: block;
        margin-top: .2em;
-       font: 140% sans-serif;
+       font: 180% "liberation_serifregular", san-serif;
 }
 
 #searchform {
@@ -599,7 +605,9 @@ body {
 }
 
 #content, #comments, #footer {
-       margin: 1em 2em;
+       margin: 1em auto;
+    max-width: 55em;
+    text-align: justify;
 }
 
 #pageinfo {
@@ -617,9 +625,9 @@ body {
        font-size: 120%;
 }
 
-h1 { font: 120% sans-serif }
-h2 { font: bold 100% sans-serif }
-h3, h4, h5, h6 { font: bold 80% sans-serif }
+h1 { font: 140% "liberation_serifbold", sans-serif }
+h2 { font: 100% "liberation_serifbold",sans-serif }
+h3, h4, h5, h6 { font: 80% "liberation_serifbold",sans-serif }
 
 /* Smaller headings for inline pages */
 .inlinepage h1 { font-size: 110% }
@@ -657,10 +665,13 @@ div.recentchanges {
 }
 
 .sidebar {
-        border-bottom: 0;
-       border-right: 0;
+    border-bottom: 0;
+    border-right: 0;
        border-top: 0;
        margin-top: 0.5em;
        padding: 0 0 0 2ex;
        border-color: #999;
 }
+.sidebar p {
+    font-size: 120%;
+}