diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2008-02-02 00:48:39 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2008-02-02 00:48:39 +0000 |
commit | 477cfc8bafcfdb6f5093801be27c95a6c0b1d3f8 (patch) | |
tree | 053e920b9f6c085785f2956c6032355aa7edcd81 /!NetSurf | |
parent | 87c68e38ebfe32cc29d8baee0376edc287afcd1b (diff) | |
download | netsurf-477cfc8bafcfdb6f5093801be27c95a6c0b1d3f8.tar.gz netsurf-477cfc8bafcfdb6f5093801be27c95a6c0b1d3f8.tar.bz2 |
Treat font tag relative sizes of +/- >1 the same as one.
svn path=/trunk/netsurf/; revision=3817
Diffstat (limited to '!NetSurf')
-rw-r--r-- | !NetSurf/Resources/CSS,f79 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/!NetSurf/Resources/CSS,f79 b/!NetSurf/Resources/CSS,f79 index 78d0bbce4..f4f3c4250 100644 --- a/!NetSurf/Resources/CSS,f79 +++ b/!NetSurf/Resources/CSS,f79 @@ -134,8 +134,10 @@ 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; } +font[size="-1"], font[size="-2"], font[size="-3"], font[size="-4"], +font[size="-5"], font[size="-6"] { font-size: smaller; } +font[size="+1"], font[size="+2"], font[size="+3"], font[size="+4"], +font[size="+5"], font[size="+6"] { font-size: larger; } hr { display: block; background-color: #000; height: 1px; margin: 4px auto; border: 1px #d9d9d9 inset; } |