From 7569235a267fe5d25508a8c13c921dca541d03ef Mon Sep 17 00:00:00 2001 From: James Bursa Date: Fri, 10 Oct 2003 18:47:04 +0000 Subject: [project @ 2003-10-10 18:47:04 by bursa] Add font[size] selectors. svn path=/import/netsurf/; revision=362 --- !NetSurf/Resources/CSS,f79 | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to '!NetSurf') 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; } -- cgit v1.2.3