Commit: 11a281e0e656447ee5c35b7403ac2c758436eb9b Author: Levi Morrison <le...@php.net> Tue, 25 Jun 2013 11:53:59 -0600 Parents: 4353a6c9eb68488b175b87abc25b9f42c9632e7a Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=11a281e0e656447ee5c35b7403ac2c758436eb9b Log: Fixed vertical rhythm on the documentation pages. Please stop adjusting the margins to make them smaller; it breaks the vertical rhythm. Changed paths: M styles/doc.css M styles/theme.css Diff: diff --git a/styles/doc.css b/styles/doc.css index 1bc5ecc..eab30c2 100755 --- a/styles/doc.css +++ b/styles/doc.css @@ -404,7 +404,7 @@ ul.chunklist_children { } .docs .layout-menu ul.parent-menu-list li { - margin: .75em 0; + margin: 1.5em 0; } .docs .layout-menu ul.parent-menu-list > li:first-child { @@ -426,7 +426,7 @@ ul.chunklist_children { .docs .layout-menu ul.child-menu-list { margin: 0; - padding:.75em 0 .75em .25em; + padding:1.5em 0 1.5em .25em; border: 0; } @@ -485,7 +485,7 @@ body.docs #layout { background-color: #f5f5f5; padding: .75em; text-decoration: none; - margin-bottom:.75em; + margin-bottom:1.5em; } .docs .manualnavbar p:last-child { diff --git a/styles/theme.css b/styles/theme.css index 61c65b3..da83010 100755 --- a/styles/theme.css +++ b/styles/theme.css @@ -34,14 +34,15 @@ h1 { } h2 { font-size: 1.5em; - line-height: 2em; + line-height: 1em; + margin:1em 0; } h3 { font-size: 1.25em; line-height: 1.2em; } p { - margin: 0.75em 0; + margin: 1.5em 0; } ul { margin:1.5em 0; -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php