From 555fe1cc4d96047df2a2000cf138e41d3e301b8d Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Wed, 23 Nov 2011 17:09:41 -0800 Subject: Various stylesheet changes. --- index.mdwn | 4 ++-- style.css | 65 ++++++++++++++++++++++++++++++++++++++++++++--------- templates/page.tmpl | 1 + 3 files changed, 57 insertions(+), 13 deletions(-) diff --git a/index.mdwn b/index.mdwn index ef9b8cc..e624efa 100644 --- a/index.mdwn +++ b/index.mdwn @@ -10,8 +10,8 @@ distinct font, try upgrading to a newer version. I have some [[standard notes|notes]] on the Harry Potter universe. -My oneshots: -[[!inline pages="oneshots/*" archive="yes" description="Oneshots" feedfile="oneshots" sort="title"]] +> My oneshots: +> [[!inline pages="oneshots/*" archive="yes" description="Oneshots" feedfile="oneshots" sort="title"]] For my own reference, this ikiwiki supports these directives: [[!listdirectives]] diff --git a/style.css b/style.css index 3c9b7dd..0dfd31b 100644 --- a/style.css +++ b/style.css @@ -16,13 +16,46 @@ src: url(fonts/Junkyard.ttf); } -body { - font-family: UnBatang, "Palatino", "URW Palladio L", "Book Antiqua", serif; +blockquote { + background-color: #f0f0c9; + font-size: 0.9em; + margin: 0; + padding: 1em; +} + +em { font-style: italic; } + +h1, h2, h3, h4, h5, h6 { + font-weight: bold; + margin-bottom: 1ex; + margin-top: 1ex; +} + +h1 { font-size: 2em; } +h2 { font-size: 1.8em; } +h3 { font-size: 1.6em; } +h4 { font-size: 1.4em; } +h5 { font-size: 1.2em; } + +hr { + border: 0px solid #000; + border-top: 1px solid #000; + margin: 1em; +} + +html { + font-family: UnBatang; + background-color: #fafad2; +} + +p { + margin-bottom: 1ex; + margin-top: 1ex; } section.header { - font-size: 1.5em; text-align: center; + font-size: 1.2em; } section.content { @@ -34,22 +67,32 @@ section.content { } section.footer { - font-size: 0.75em; + font-size: 0.8em; font-style: italic; text-align: center; } -blockquote { - background-color: #eee; - margin: 0; - padding: 1ex; -} +strong { font-weight: bold; } table { margin-left: auto; margin-right: auto; } -.parsel { - font-family: "Junkyard"; +th { + font-weight: bold; + padding: 0.4ex; +} + +td { padding: 0.4ex; } + +ul li { + list-style-type: square; + margin-left: 2em; } + +.feedlink { font-size: 0.8em; } + +.parsel { font-family: "Junkyard"; } + +.small { font-size: 0.8em; } diff --git a/templates/page.tmpl b/templates/page.tmpl index f7baae0..bef43ed 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -4,6 +4,7 @@