CSS twiddling

This commit is contained in:
Neale Pickett 2009-11-11 00:51:08 -06:00
parent 4694e806c7
commit 605edf6091
5 changed files with 28 additions and 14 deletions

View File

@ -1,12 +1,10 @@
@import "format.css";
body { body {
max-width: 35em; max-width: 35em;
background-color: #eee; background-color: #eee;
} }
p, li, dd {
text-align: justify;
}
h1:first-child { h1:first-child {
background-color: #cc8; background-color: #cc8;
margin-top: 0; margin-top: 0;
@ -30,9 +28,6 @@ a:hover {
pre { pre {
background: #ccc; background: #ccc;
margin: 1em 2em;
padding: 1em;
border: solid black 1px;
} }
#nav { #nav {

21
format.css Normal file
View File

@ -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;
}

View File

@ -70,7 +70,7 @@ are violating the standard.
These standards are not written flippantly, they are carefully crafted These standards are not written flippantly, they are carefully crafted
in such a way as to ensure everything on the Internet works as smoothly 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 How to specify where to post list messages

View File

@ -1,13 +1,9 @@
@import "format.css";
#nav { #nav {
display: none; display: none;
} }
p {
text-align: justify;
}
pre { pre {
margin: 1em 2em;
padding: 1em;
border: solid black 1px; border: solid black 1px;
} }

View File

@ -9,6 +9,8 @@
<link rel="stylesheet" type="text/css" media="print" <link rel="stylesheet" type="text/css" media="print"
href="/~neale/print.css" /> href="/~neale/print.css" />
<link rel="icon" type="image/png" href="/favicon.png" /> <link rel="icon" type="image/png" href="/favicon.png" />
<link rel="start" type="text/html" href="/~neale/"
title="Neale Pickett Page" />
</head> </head>
<body> <body>