X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=local.css;h=5cce312aca5e2f6681178ef694ebf97e1026f617;hb=dfbcde035062b9208f2b9785778b906aa52f71ea;hp=718f25f4d19216ffed378692b5779156cfa766ec;hpb=a17b8c2260d8400970384b08278798cb541ad165;p=blog.git diff --git a/local.css b/local.css index 718f25f..5cce312 100644 --- a/local.css +++ b/local.css @@ -1,71 +1,100 @@ -/* Embedded Moose local.css for use with ikiwiki - * Written by Josh Triplett - * Some ideas from the Debian lighttpd index.html page. - * - * Editted by W. Trevor King to support: +/* Derived from Embedded Moose by Josh Triplett + * Edited by W. Trevor King to support: * - Sidebars + * - + * - streamlined layout (fewer borders, etc.) + * - added fun fonts */ -body { background: #e7e7e7; } +@font-face { + font-family: Pecita; + src: url("/font/Pecita-reduced.woff") format("woff"); + /* http://pecita.eu/police-en.php */ +} + +body { + background: #e7e7e7; +} + +#content { + background: #ffffff; + margin: 10px 0px; + padding: 10px; + font-family: sans-serif; +} + +.header { + background: #4b6983; + padding: 10px; + color: #ffffff; + font-family: Pecita, sans-serif; +} -#content { background: #ffffff; margin: 10px 0px; border: 2px solid #c0c0c0; padding: 10px; font-family: sans-serif;} +.header a { + margin-right: 1ex; + color: #ffffff; +} + +.actions ul { + border: none; + padding-bottom: 0px; + font-family: sans-serif; +} -.header { background: #4b6983; border: 2px solid #7590ae; padding: 10px; color: #ffffff; font-family: sans-serif;} -.header a { margin-right: 1ex; color: #ffffff; font-family: sans-serif;} +#footer { + border: none; + font-family: sans-serif; +} -.actions ul { border: none; padding-bottom: 0px; font-family: sans-serif;} -#footer { border: none; font-family: sans-serif;} +.scaled { + width: 100%; + height: auto; +} + +.header { + border-radius: 1em; +} .sidebar { - border: solid; - border-width: 1px; - padding: 0; - margin-top: 15px; - border: 1px solid; - border-color: #aaa; - background: #eee; - width: 18ex; + border: none; + padding: 0; + margin-top: 10px; + background: #e7e7e7; + width: 18ex; + border-bottom-left-radius: 1em; } .sidebar ul { - margin-left: 0; - padding: 0; - list-style-type: none; + margin-left: 1em; + padding: 0; + list-style-type: none; } .sidebar ul ul { - padding-left: 1em; + padding-left: 1em; } .sidebar .pagecloud { - float: none; - width: auto; - margin-bottom: 1em; + float: none; + width: auto; + border: none; + background: none; } -#sidebar { - border: solid; - border-width: 1px; - padding: 0ex 2ex; - margin-top: 15px; - border: 1px solid; - border-color: #aaa; - background: #eee; - width: 18ex; +#content { + border-radius: 0.5em; } -#sidebar ul { - margin-left: 0; - padding: 0; - list-style-type: none; +.inlinepage { + border: none; } -#sidebar ul ul { - padding-left: 1em; +code { + color: gray; + font-family: monospace; } -#sidebar .pagecloud { - float: none; - width: auto; - margin-bottom: 1em; +.center { + margin-left: auto; + margin-right: auto; }