Mercurial > hg-website
changeset 301:841b5e0ab726
Make navigation font a little bit smaller
The navigation font was optimized for the custom font, but was compeltly
unreadable if the javascript files cannot be load. To avoid this issue we make
them a little bit smaller so without the custom fonts the items still fit. If
the font is loaded it's a little bit smaller but I think it's okay.
author | David Soria Parra <dsp@php.net> |
---|---|
date | Tue, 09 Mar 2010 02:15:02 +0100 |
parents | a2be6892b348 |
children | dc2f9b48714e |
files | static/css/styles.css |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/static/css/styles.css Sun Mar 07 23:01:14 2010 +0100 +++ b/static/css/styles.css Tue Mar 09 02:15:02 2010 +0100 @@ -91,7 +91,7 @@ /* * Nav */ -#nav { position: absolute; top: 17px; right: 0; background: #999; height: 42px; margin: 0; width: 665px; font-size: 1.1428em; *font-size: 16px; line-height: 42px; font-family: Optimer, Helvetica, Arial, sans-serif; overflow: hidden; } +#nav { position: absolute; top: 17px; right: 0; background: #999; height: 42px; margin: 0; width: 665px; font-size: 1em; *font-size: 16px; line-height: 42px; font-family: Optimer, Helvetica, Arial, sans-serif; overflow: hidden; } #nav li { float: left; margin: 0; padding: 0; list-style: none; } #nav a { float: left; color: #fff; text-decoration: none; padding: 0 16px; *padding: 0 14px; } #nav a:hover, #nav a:focus, #nav .active a { background: #00b5f1; }