Bob Goodwin:
> The chrome directory does not exist. Am I supposed to create it?
poma:
Yep.
And, of course, swap the whites and blacks around in the CSS file.
Years ago, I made a similar CSS file for reading web pages with sore
eyes. I did a wildcard for make *everything* black on grey (which
suited me better), rather than making tons of clauses for specific HTML
elements. Then just added a few additional clauses for things like
making links still different from plain text, normalising all the fonts,
and adding spacing around things for clarity.
/*
* "Sore eyes"
*
* A style sheet for sore eyes, and irritating websites.
*
* It normalises most of the rendering of webpages, removing
* annoying colours, styles, etc. Shows certain elements in
* consistent manners (e.g. bolder headings).
*
* I use this as a user-stylesheet in my own web browsers to
* view badly styled websites.
*
* It takes the colour out of everything that you read,
* and uses normal fonts:
*/
body
{
margin: auto !important;
padding: 0.5em 1em 1em 1em !important;
max-width: 45em !important;
}
*
{
color: black !important;
background: #ddd !important;
font-family: serif !important;
font-size: 1em !important;
line-height: 1.4em !important;
}
/* Makes the headings different (than the body),
* but not too different:
*/
h1, h2, h3, h4, h5, h6
{
font-family: sans-serif !important;
font-size: 1.5em !important;
}
/* Show up links, and make them easier to read:
*/
a:link
{
color: #0000aa !important;
}
a:visited
{
color: #550099 !important;
}
a:link, a:visited
{
background: inherit !important;
text-decoration: underline !important;
}
a:hover[href], a:active[href], a:focus[href]
{
color: #000 !important;
background: #eee !important;
text-decoration:none !important;
}
/* Add padding around things that are often squashed together:
*/
p + h2, p + h3, p + h4, p + h5, p + h6,
div + h2, div + h3, div + h4, div + h5, div + h6,
table + h2, table + h3, table + h4, table + h5, table + h6,
ul + h2, ul + h3, ul + h4, ul + h5, ul + h6,
ol + h2, ol + h3, ol + h4, ol + h5, ol + h6,
hr + div
{
margin-top: 2em !important;
}
dt
{
padding-bottom: 0.5em !important;
font-weight: bolder !important;
font-family: sans-serif !important;
}
dd
{
padding-bottom: 0.5em !important;
}
legend, caption
{
font-size: larger !important;
}
legend, caption, th
{
font-weight: bolder !important;
font-family: sans-serif !important;
}
th, td
{
padding: 0.3em !important;
}
code, pre, tt
{
font-family: monospace !important;
font-style: normal !important;
}
a, span
{
font-family: inherit !important;
font-weight: inherit !important;
font-size: inherit !important;
}
--
[tim@localhost ~]$ uname -rsvp
Linux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27 UTC 2013 x86_64
All mail to my mailbox is automatically deleted, there is no point
trying to privately email me, I will only read messages posted to the
public lists.
George Orwell's '1984' was supposed to be a warning against tyranny, not
a set of instructions for supposedly democratic governments.
ZNQR LBH YBBX