CSS text-color specified...

...so it is readable for people who use black bg browsers
This commit is contained in:
Sitaram Chamarty 2012-04-05 18:42:40 +05:30
parent ecb172b785
commit 9bbc5703e3

View file

@ -96,14 +96,14 @@ sub main {
__DATA__ __DATA__
<head><style> <head><style>
body { background: #fff; margin-left: 40px; font-size: 0.9em; font-family: sans-serif; max-width: 800px; } body { background: #fff; text-color: #000; margin-left: 40px; font-size: 0.9em; font-family: sans-serif; max-width: 800px; }
h1 { background: #ffb; margin-left: -30px; border-top: 5px solid #ccc; } h1 { background: #ffb; text-color: #000; margin-left: -30px; border-top: 5px solid #ccc; }
h2 { background: #ffb; margin-left: -20px; border-top: 3px solid #ddd; } h2 { background: #ffb; text-color: #000; margin-left: -20px; border-top: 3px solid #ddd; }
h3 { background: #ffb; margin-left: -10px; } h3 { background: #ffb; text-color: #000; margin-left: -10px; }
h4 { background: #ffb; } h4 { background: #ffb; text-color: #000; }
code { font-size: 1.1em; background: #ddf; } code { font-size: 1.1em; background: #ddf; text-color: #000; }
pre { margin-left: 2em; background: #ddf; } pre { margin-left: 2em; background: #ddf; text-color: #000; }
pre code { font-size: 1.1em; background: #ddf; } pre code { font-size: 1.1em; background: #ddf; text-color: #000; }
</style></head> </style></head>
<p style="text-align:center"> <p style="text-align:center">