X-Git-Url: https://git.donarmstrong.com/?p=don.git;a=blobdiff_plain;f=local.css;h=ce5b8e5dce7999d702934cd9fa4e67db37e6784d;hp=70890d5a3d526bb4669cda12e6dd75d0e5e86510;hb=fe93ce2017c20bf1e81a5684d44460c6be68321b;hpb=6d8b0081b88f6e7a564d9328bc9de4b9b4527d68 diff --git a/local.css b/local.css index 70890d5..ce5b8e5 100644 --- a/local.css +++ b/local.css @@ -1,9 +1,12 @@ +/* -*- mode: css -*- */ /* ikiwiki style sheet */ /* Note that instead of modifying this style sheet, you can instead edit * local.css and use it to override or change settings in this one. */ +@import url("/fonts/liberationserif/stylesheet.css"); + /* html5 compat */ article, header, @@ -12,6 +15,20 @@ nav { display: block; } +#pagebody #content img { + margin: 0.4em; + } + +p:nth-of-type(odd) img.agimg { + float: left; + clear: left; +} + +p:nth-of-type(even) img.agimg { + float: right; + clear: right; +} + .header { margin: 0; font-size: 140%; @@ -370,21 +387,21 @@ input#searchbox { } /* highlight plugin */ -pre.hl { color:#000000; background-color:#ffffff; } -.hl.num { color:#2928ff; } -.hl.esc { color:#ff00ff; } -.hl.str { color:#ff0000; } -.hl.dstr { color:#818100; } -.hl.slc { color:#838183; font-style:italic; } -.hl.com { color:#838183; font-style:italic; } +pre.hl { color:#404048; background-color:#eef; } +.hl.num { color:#2020ff; } +.hl.esc { color:#005858; } +.hl.str { color:#2020ff; } +.hl.dstr { color:#2020ff; } +.hl.slc { color:#2020ff; font-style:italic; } +.hl.com { color:#ff00c0; font-style:italic; } .hl.dir { color:#008200; } -.hl.sym { color:#000000; } -.hl.line { color:#555555; } -.hl.mark { background-color:#ffffbb; } -.hl.kwa { color:#000000; font-weight:bold; } -.hl.kwb { color:#830000; } -.hl.kwc { color:#000000; font-weight:bold; } -.hl.kwd { color:#010181; } +.hl.sym { color:#404048; } +.hl.line { color:#ff00c0; } +.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; } +.hl.kwd { color:#404048; font-weight:bold;} /* calendar plugin */ .month-calendar-day-this-day, @@ -523,7 +540,7 @@ hr { } code, pre { - background: #eee; + background: #bcd; } pre { @@ -533,7 +550,7 @@ pre { body { margin: 0; padding: 0; - font-family: sans-serif; + font-family: "liberation_serifregular",sans-serif; color: black; background: white; } @@ -543,15 +560,22 @@ body { padding: 1em 2em; position: relative; overflow: hidden; - background: #eee; + background: #abc; border-color: #999; border-style: none none solid none; border-width: 1px; + 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 { @@ -561,7 +585,7 @@ body { .title { display: block; margin-top: .2em; - font: 140% sans-serif; + font: 180% "liberation_serifregular", san-serif; } #searchform { @@ -580,7 +604,9 @@ body { } #content, #comments, #footer { - margin: 1em 2em; + margin: 1em auto; + max-width: 55em; + text-align: justify; } #pageinfo { @@ -598,9 +624,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% } @@ -638,10 +664,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%; +}