com web/php: The 'tips' sidebar now conforms to typography grid, as do hr tags.: styles/theme.css

From: Date: Mon, 02 Jul 2012 23:27:59 +0000
Subject: com web/php: The 'tips' sidebar now conforms to typography grid, as do hr tags.: styles/theme.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-13830@lists.php.net to get a copy of this message
Commit: 42f716e8444cffa9034b222cf820e1d9446f0423 Author: Levi Morrison <levim@php.net> Mon, 2 Jul 2012 17:27:59 -0600 Parents: 92e47155b4978473a35a4dca30efaf19df8e5bcb Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=42f716e8444cffa9034b222cf820e1d9446f0423 Log: The 'tips' sidebar now conforms to typography grid, as do hr tags. Changed paths: M styles/theme.css Diff: diff --git a/styles/theme.css b/styles/theme.css index e54c9ed...af02ee0 100755 --- a/styles/theme.css +++ b/styles/theme.css @@ -105,7 +105,14 @@ a:hover { ul { list-style-type: disc; - margin: 10px 25px; + margin: 1.5em; +} + +hr { + margin:1.5em 0 1.25em; + border:0; + height:0; + border-top:.25em solid #99c; } #headnav { @@ -510,16 +517,16 @@ a.genanchor:hover { aside.tips { background-color: #f9f9f9; - border-bottom: 12px solid #9999CC; + border-bottom: .5em solid #9999CC; float: right; - margin: 10px 0 30px 30px; + margin:0 0 1.5em 1em; width: 294px; } aside.tips div.border { float: left; width: 98px; - border-top: 12px solid #9999CC; + border-top: .5em solid #9999CC; } aside.tips div.border.second { @@ -532,16 +539,7 @@ aside.tips div.border.third { aside.tips div.inner { clear: both; - padding: 5px 20px 15px 20px; -} - -aside.tips h3 { - line-height: 1; - margin: 20px 0 10px 0; -} - -aside.tips p { - margin: 10px 0; + padding: 1em 1em 0; }

« previous php.webmaster (#13830) next »