From 605edf6091e72e5892ac376debf1b28b4e2fe0fa Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Wed, 11 Nov 2009 00:51:08 -0600 Subject: [PATCH] CSS twiddling --- default.css | 9 ++------- format.css | 21 +++++++++++++++++++++ papers/reply-to-still-harmful.mdwn | 2 +- print.css | 8 ++------ template.xml | 2 ++ 5 files changed, 28 insertions(+), 14 deletions(-) create mode 100644 format.css diff --git a/default.css b/default.css index b750ac4..f6635f6 100644 --- a/default.css +++ b/default.css @@ -1,12 +1,10 @@ +@import "format.css"; + body { max-width: 35em; background-color: #eee; } -p, li, dd { - text-align: justify; -} - h1:first-child { background-color: #cc8; margin-top: 0; @@ -30,9 +28,6 @@ a:hover { pre { background: #ccc; - margin: 1em 2em; - padding: 1em; - border: solid black 1px; } #nav { diff --git a/format.css b/format.css new file mode 100644 index 0000000..0f54b27 --- /dev/null +++ b/format.css @@ -0,0 +1,21 @@ +p, li, dd { + text-align: justify; +} + +body > p { + text-indent: 1.5em; +} + +h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p { + text-indent: 0; +} + +h1, h2, h3, h4, h5, h6 { + font-family: "URW Gothic L", sans-serif; +} + +pre { + margin: 1em 2em; + padding: 1em; + border: solid black 1px; +} diff --git a/papers/reply-to-still-harmful.mdwn b/papers/reply-to-still-harmful.mdwn index cdde4e9..5df078b 100644 --- a/papers/reply-to-still-harmful.mdwn +++ b/papers/reply-to-still-harmful.mdwn @@ -70,7 +70,7 @@ are violating the standard. These standards are not written flippantly, they are carefully crafted in such a way as to ensure everything on the Internet works as smoothly -as possible. So do the Internet a favor and leave `Reply-To` alone. +as possible. Do the Internet a service and leave `Reply-To` alone. How to specify where to post list messages diff --git a/print.css b/print.css index 9cd0175..0154129 100644 --- a/print.css +++ b/print.css @@ -1,13 +1,9 @@ +@import "format.css"; + #nav { display: none; } -p { - text-align: justify; -} - pre { - margin: 1em 2em; - padding: 1em; border: solid black 1px; } diff --git a/template.xml b/template.xml index 0885af3..5024479 100644 --- a/template.xml +++ b/template.xml @@ -9,6 +9,8 @@ +