com web/php: Fixed some typography problems.: styles/doc.css styles/theme.css

From: Date: Mon, 02 Jul 2012 23:08:37 +0000
Subject: com web/php: Fixed some typography problems.: styles/doc.css styles/theme.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-13827@lists.php.net to get a copy of this message
Commit: 92e47155b4978473a35a4dca30efaf19df8e5bcb Author: Levi Morrison <levim@php.net> Mon, 2 Jul 2012 17:08:37 -0600 Parents: d1bcb3b7111b448b8bd11523f323a6a014b87024 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=92e47155b4978473a35a4dca30efaf19df8e5bcb Log: Fixed some typography problems. Changed paths: M styles/doc.css M styles/theme.css Diff: diff --git a/styles/doc.css b/styles/doc.css index ab24f5e..61e3d00 100755 --- a/styles/doc.css +++ b/styles/doc.css @@ -57,8 +57,7 @@ aside#quicktoc { .docs .refsect1 .methodparam .parameter { cursor:pointer; } -.docs .refsect1 dt, -.docs .refsect1 p { +.docs .refsect1 dt { height:1.5em; } @@ -186,8 +185,9 @@ aside#quicktoc { font-size:1.23076em; } .docs .refentry .parameters dl, -.docs .refsect1.examples .title + p.para + * { - margin-top:-4.5em; /* there's a p tag that has whitespace (not :empty). This simply covers it up */ +.docs .refsect1.examples .title + p.para + *, +.docs .refsect1.seealso .title + p.para + * { + margin-top:-1.5em; /* there's a p tag that has whitespace (not :empty). This simply covers it up */ } .docs .refsect1.returnvalues .title + p.para { margin-top:0; @@ -206,11 +206,13 @@ aside#quicktoc { padding: 1.5em; } .docs .example-contents .phpcode code { + padding:2em; +} +.docs .phpcode code { font-size:.923em; line-height: 2; display: block; margin:-1px 0; - padding:2em; } /* }}} */ diff --git a/styles/theme.css b/styles/theme.css index 640b8d3..e54c9ed 100755 --- a/styles/theme.css +++ b/styles/theme.css @@ -321,10 +321,21 @@ ul { * User notes */ #usernotes { - margin: 0 0 10px 175px; + margin: 0 0 1.5em 175px; position: relative; } +#usernotes .note:before { + content:" "; + position:absolute; + top:-.25em; + left:0; + right:0; + bottom:0; + z-index: -1; + border-top:.25em solid #ddd; +} + #usernotes .action { display: block; top: 1em; @@ -340,21 +351,27 @@ ul { } #usernotes h3 { - border-top: 3px solid #669; + border-top: .2em solid #669; + padding-top: .801em; } #usernotes .note { - margin: ..5em 0; - border-top: 3px solid #ddd; - padding: .5em; + margin: 1.5em 0; + padding: 1.5em .75em; background-color: #f5f5f5; + position: relative; } -#usernotes .user, #usernotes .date, #usernotes .admin { +#usernotes .user, +#usernotes .date, +#usernotes .admin { display: block; width: 50%; float: left; - margin-bottom: 0.6em; + margin-top:-.25em; +} +#usernotes ..text { + padding-top:1.5em; } #usernotes .date, #usernotes ..admin { @@ -563,7 +580,7 @@ aside.tips p { .layout-content { margin-left: 175px; - padding-bottom: 12px; + padding-bottom: 1.5em; display: block; }

« previous php.webmaster (#13827) next »