svn: /web/php/trunk/styles/ theme.css

From: Date: Fri, 15 Jul 2011 06:09:50 +0000
Subject: svn: /web/php/trunk/styles/ theme.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11641@lists.php.net to get a copy of this message
stewartlord Fri, 15 Jul 2011 06:09:50 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=313254 Log: Improved styling of h1's and h2's on pages such as svn, mailing lists, etc. Primarily adjusted spacing of headings to improve readability. Changed paths: U web/php/trunk/styles/theme.css Modified: web/php/trunk/styles/theme.css =================================================================== --- web/php/trunk/styles/theme.css 2011-07-15 05:49:34 UTC (rev 313253) +++ web/php/trunk/styles/theme.css 2011-07-15 06:09:50 UTC (rev 313254) @@ -25,9 +25,35 @@ background: url('/images/sprites.png') repeat-x 0px -990px #fff; } -h1 { font-size: 1.7em; line-height: 2.6em; margin-bottom: 0.2em; } -h2 { font-size: 1.6em; line-height: 2.4em; } -h3 { font-size: 1.4em; line-height: 2.2em; } +h1 { + font-size: 2.5em; + margin: 1.2em 0 0.6em 0; + line-height: 1; +} + +h1:first-child { + margin-top: 0.3em; +} + +h1, h1 a, h1 a:visited, h1 a:link { + font-weight: normal; + color: #666; +} + +h1 a:hover { + color: #444; +} + +h2 { + font-size: 1.6em; + margin: 1.4em 0 0.7em 0; + line-height: 1; +} + +h3 { + font-size: 1.4em; + line-height: 2.2em; +} h3.title { font-size: 1.5em; border-top-style: solid; @@ -185,16 +211,7 @@ color: #000; } -h1, h1 a, h1 a:visited, h1 a:link { - font-weight: normal; - color: #666; - letter-spacing: -0.04em; -} -h1 a:hover { - color: #444; -} - /** * Auto-complete */

« previous php.webmaster (#11641) next »