diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-07-04 08:38:34 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-07-04 08:38:34 +0000 |
commit | a43ebe157cce06f96afe0301cd770bb967f231d2 (patch) | |
tree | e81160a2c15361a98be8942bac7e540b1f3067a5 /css | |
parent | 9e43485b3fedd8259dbecf8e2e6880d8090fd1b2 (diff) | |
download | nav-a43ebe157cce06f96afe0301cd770bb967f231d2.tar nav-a43ebe157cce06f96afe0301cd770bb967f231d2.tar.gz nav-a43ebe157cce06f96afe0301cd770bb967f231d2.tar.bz2 nav-a43ebe157cce06f96afe0301cd770bb967f231d2.tar.xz nav-a43ebe157cce06f96afe0301cd770bb967f231d2.zip |
lighter font
Diffstat (limited to 'css')
-rw-r--r-- | css/source.css | 47 |
1 files changed, 28 insertions, 19 deletions
diff --git a/css/source.css b/css/source.css index 5b3ca57..4e41062 100644 --- a/css/source.css +++ b/css/source.css @@ -5,6 +5,29 @@ * */ +/** Global rules for *.mageia.org */ +/* +body { + background: #fff; + font-family: Verdana, "Trebuchet MS", "Lucida Grande", "Lucida Sans", Verdana, Tahoma, Arial, sans-serif; +} +a, a:link { color: #2383c2; text-decoration: none; } +*/ +h1, +h2, +h3 { + font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif; + font-weight: normal; + color: #3494d3; +} + +h2 a, +h3 a { + color: #3494d3; + text-decoration: none; +} + +/** Specific to navigation elements */ #hmgn { margin: 0; padding: 0; } #mgnav { margin: 0; padding: 0; @@ -14,7 +37,7 @@ background: -moz-linear-gradient(top, #3494D3 0%, #2383C2 50%); background: -o-linear-gradient(top, #3494D3 0%, #2383C2 50%); background: linear-gradient(top, #3494D3 0%, #2383C2 50%); - font: normal 14px/1.3em "Trebuchet MS", "Lucida Grande", "Lucida Sans", Verdana, Tahoma, Arial, sans-serif; + font: normal 13px/1.3em "Trebuchet MS", "Lucida Grande", "Lucida Sans", Verdana, Tahoma, Arial, sans-serif; } #nav { @@ -27,6 +50,7 @@ padding: 0; border-right: 1px solid #f0f0f0; } +#nav li:last-child { border: none; } #nav a { display: block; height: 64px; @@ -35,9 +59,8 @@ text-align: center; line-height: 75px; min-width: 2.5em; - color: #000; + color: #444; background: #fff; - text-shadow: 0 0 4px #ddd; cursor: pointer; } #nav a:hover { @@ -65,7 +88,7 @@ font-weight: bold; background: transparent; color: white; - text-shadow: 0 0 4px #222; + text-shadow: 0 0 3px #222; /*outline: 4px solid white; => works with Chrome 18+, fails with Firefox 12 => using this ~ hack in the meantime {{ @@ -76,20 +99,6 @@ /* }} */ } -h1, -h2, -h3 { - font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif; - font-weight: normal; - color: #3494d3; -} - -h2 a, -h3 a { - color: #3494d3; - text-decoration: none; -} - #mgnavtitle, /* deprecated */ #mgnavt /* preferred */ { @@ -97,7 +106,7 @@ h3 a { margin: 0; padding: 0.5em 1em 0.8em 30px; color: #fff; - text-shadow: 0 0 4px #222; + text-shadow: 0 0 3px #222; background: #2383C2; background: -webkit-linear-gradient(top, #2383C2 0%, #1272B1 50%); background: -moz-linear-gradient(top, #2383C2 0%, #1272B1 50%); |