Hi,
This change fixes a particular sore point of mine about many web pages:
they force the choice of a microscopic font that's too small for my old
eyes to read. Instead, the base font size should be inherited from the
user preferences and the other font sizes should be relative to that
size.
In the current stylesheet (styles.css), points and pixels are mixed,
meaning that the output will be "correct" (i.e., whatever the page
designer expected) only on screens with a certain number of dots per
inch. This patch assumes that the originating screen was 120 dpi; if
it was something else, the relative values may need to be tweaked some
more.
There are some other changes that should be made to the stylesheet (for
one, the default font family should be moved to the BODY style so that
it only need appear once), but this change is sufficient to scratch my
itch.
I hope I get this right...
[[[
* doc/book/book/styles.css: use relative font sizes instead of
absolute; inherit base size from user preferences
]]]
--- styles.css.orig Thu Nov 13 06:52:25 2003
+++ styles.css Thu Nov 13 07:43:55 2003
@@ -17,7 +17,7 @@
H1
{
font-family: times new roman,times,serif;
- font-size: 30pt;
+ font-size: 250%;
font-style: normal;
font-weight: bold;
color: black;
@@ -26,7 +26,7 @@
H2
{
font-family: times new roman,times,serif;
- font-size: 24px;
+ font-size: 150%;
font-style: normal;
font-weight: bold;
color: black;
@@ -35,7 +35,7 @@
H3
{
font-family: times new roman,times,serif;
- font-size: 20px;
+ font-size: 125%;
font-style: normal;
font-weight: bold;
color: black;
@@ -44,7 +44,7 @@
H4
{
font-family: times new roman,times,serif;
- font-size: 16px;
+ font-size: 100%;
font-style: normal;
font-weight: bold;
color: black;
@@ -53,7 +53,6 @@
P,LI,UL,OL,DD,DT,TD
{
font-family: times new roman,times,serif;
- font-size: 12pt;
font-style: normal;
font-weight: normal;
color: black;
@@ -62,7 +61,6 @@
TT,PRE
{
font-family: courier new,courier,fixed;
- font-size: 10pt;
font-style: normal;
font-weight: normal;
color: black;
@@ -92,7 +90,7 @@
.author
{
font-family: times new roman,times,serif;
- font-size: 12pt;
+ font-size: 100%;
font-style: italic;
font-weight: normal;
color: black;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 14 16:55:37 2003