stas 02/03/02 19:43:21 Modified: src style.css Log: * moved some stuff in style.css around a little bit to remove a anoying effect in Opera with hover: in the original version, the size of the text would change when hovering. I now moved font-size and font-family into the base style def (i.e. td.download, div.nonselectedmenuitem, div.selectedmenuitem) and let the a:* styles inherit from it. also saves some bytes ... Submitted by: thomas Revision Changes Path 1.36 +23 -17 modperl-docs/src/style.css Index: style.css =================================================================== RCS file: /home/cvs/modperl-docs/src/style.css,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- style.css 27 Feb 2002 03:30:10 -0000 1.35 +++ style.css 3 Mar 2002 03:43:21 -0000 1.36 @@ -33,34 +33,37 @@ background-color: #525d76; } -div.nonselectedmenuitem a:link, div.nonselectedmenuitem a:visited, div.nonselectedmenuitem a:active { - font-family: verdana, arial, helvetica, sans-serif; + +div.nonselectedmenuitem { + padding: 3px; + background-color: #ffffff; font-size: 0.9em; - color: #525d76; - text-decoration: none; + font-family: verdana, arial, helvetica, sans-serif; } -div.selectedmenuitem a, div.selectedmenuitem a:link, div.selectedmenuitem a:visited, div.selectedmenuitem a:active { - font-family: verdana, arial, helvetica, sans-serif; - font-size: 0.9em; - color: #ffffff; +div.nonselectedmenuitem a:link, div.nonselectedmenuitem a:visited, div.nonselectedmenuitem a:active { + color: #525d76; text-decoration: none; } -div.nonselectedmenuitem { - padding: 3px; - background-color: #ffffff; + +div.nonselectedmenuitem a:hover { + color: #999999; } div.selectedmenuitem { padding: 3px; background-color: #525d76; + font-family: verdana, arial, helvetica, sans-serif; + font-size: 0.9em; } -div.nonselectedmenuitem a:hover { - color: #999999; +div.selectedmenuitem a, div.selectedmenuitem a:link, div.selectedmenuitem a:visited, div.selectedmenuitem a:active { + color: #ffffff; + text-decoration: none; } + div.selectedmenuitem a:hover { color: #cccc99; } @@ -88,6 +91,8 @@ color: #ffffff; } + + /* main boxes */ div.leftbox { position: absolute; @@ -246,17 +251,18 @@ /* font specs for download widget */ +td.download { + font-size: 0.80em; + font-family: helvetica, arial, verdana, sans-serif; +} + td.download a:link, td.download a:active , td.download a:visited { text-decoration: none; - font-size: 0.85em; - font-family: helvetica, arial, verdana, sans-serif; } td.download a:hover { text-decoration: none; color: #666666; - font-size: 0.85em; - font-family: helvetica, arial, verdana, sans-serif; } /* "spacegif" substitute in menus */
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]