summaryrefslogtreecommitdiff
path: root/!NetSurf
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-10-10 18:47:04 +0000
committerJames Bursa <james@netsurf-browser.org>2003-10-10 18:47:04 +0000
commit7569235a267fe5d25508a8c13c921dca541d03ef (patch)
tree115e23559b2f76600d0edbe7fe06dac3ee51325c /!NetSurf
parent0e5d05b12544a73d4ecaa4d89d22251afef92916 (diff)
downloadnetsurf-7569235a267fe5d25508a8c13c921dca541d03ef.tar.gz
netsurf-7569235a267fe5d25508a8c13c921dca541d03ef.tar.bz2
[project @ 2003-10-10 18:47:04 by bursa]
Add font[size] selectors. svn path=/import/netsurf/; revision=362
Diffstat (limited to '!NetSurf')
-rw-r--r--!NetSurf/Resources/CSS,f7914
1 files changed, 11 insertions, 3 deletions
diff --git a/!NetSurf/Resources/CSS,f79 b/!NetSurf/Resources/CSS,f79
index 6a9db5a95..c98f2e1a5 100644
--- a/!NetSurf/Resources/CSS,f79
+++ b/!NetSurf/Resources/CSS,f79
@@ -1,9 +1,7 @@
-html { font-size: medium }
-
address, blockquote, body, br, center, dd, div,
dl, dt, fieldset, form,
h1, h2, h3, h4, h5, h6, html,
-object, ol, p, ul,
+ol, p, ul,
hr, menu, pre { display: block }
/* a, abbr, acronym, b, code,
em, i, q, s, strong, u, font, span,
@@ -56,5 +54,15 @@ br[clear=all] { clear: both; }
br[clear=left] { clear: left; }
br[clear=right] { clear: right; }
+font[size=1] { font-size: x-small; }
+font[size=2] { font-size: small; }
+font[size=3] { font-size: medium; }
+font[size=4] { font-size: large; }
+font[size=5] { font-size: x-large; }
+font[size=6] { font-size: xx-large; }
+font[size=7] { font-size: xx-large; }
+font[size=-1] { font-size: smaller; }
+font[size=+1] { font-size: larger; }
+
td[nowrap], th[nowrap] { white-space: nowrap; }
pre { white-space: pre; }