X-Git-Url: https://git.donarmstrong.com/?p=don.git;a=blobdiff_plain;f=local.css;h=f5613a9d4d1728673c99f8503534655227eae13d;hp=70890d5a3d526bb4669cda12e6dd75d0e5e86510;hb=0ae141d5ccfb8ae77a215815fb21ff3668cb79fe;hpb=6d8b0081b88f6e7a564d9328bc9de4b9b4527d68 diff --git a/local.css b/local.css index 70890d5..f5613a9 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:#ddf; } +.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.sym { color:#404048; } +.hl.line { color:#ff00c0; } .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.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,10 +560,12 @@ 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; } .pageheader .header { @@ -561,7 +580,7 @@ body { .title { display: block; margin-top: .2em; - font: 140% sans-serif; + font: 180% "liberation_serifregular", san-serif; } #searchform { @@ -598,9 +617,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: 120% "liberation_serifregular", sans-serif } +h2 { font: bold 100% "liberation_serifbold",sans-serif } +h3, h4, h5, h6 { font: bold 80% "liberation_serifbold",sans-serif } /* Smaller headings for inline pages */ .inlinepage h1 { font-size: 110% } @@ -638,10 +657,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%; +}