com web/php: Fixed some typography alignment and whitespace issues.: styles/doc.css

From: Date: Wed, 11 Jul 2012 22:53:42 +0000
Subject: com web/php: Fixed some typography alignment and whitespace issues.: styles/doc.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-13916@lists.php.net to get a copy of this message
Commit: c974698cad1c1df572cf9f4e964d307d62315edc Author: Levi Morrison <levim@php.net> Wed, 11 Jul 2012 16:53:42 -0600 Parents: 40755d0dbf67c35a1f03e41c4a36da45e3e9cc9c Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=c974698cad1c1df572cf9f4e964d307d62315edc Log: Fixed some typography alignment and whitespace issues. Changed paths: M styles/doc.css Diff: diff --git a/styles/doc.css b/styles/doc.css index 0bf3766..da10ea3 100755 --- a/styles/doc.css +++ b/styles/doc.css @@ -39,6 +39,17 @@ aside#quicktoc { /* }}} */ + +.docs .refsect1 > p:last-child, +.docs .refsect1 > .warning:last-child, +.docs .refsect1 > .tip:last-child { + margin-bottom:0; +} + +.docs .refsect1 > .title + * { + margin-top:0; +} + .docs .classsynopsis:before, .docs div.refsect1:before, .docs div.warning:before { @@ -166,6 +177,7 @@ aside#quicktoc { } /* }}} */ +.docs .refentry .constructorsynopsis, .docs .refentry .methodsynopsis { color: #666; font-family: monospace; @@ -185,14 +197,11 @@ aside#quicktoc { .docs .refentry .parameters dl dt code.parameter { font-size:1.23076em; } -.docs .refentry .parameters dl, +.docs .refentry .parameters .title + p.para + dl, .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; -} /* }}} */ @@ -201,7 +210,8 @@ aside#quicktoc { .docs .example-contents .phpcode code, .docs .refentry .methodsynopsis, .docs .example-contents.screen, -.docs .refentry .methodsynopsis { +.docs .refentry .methodsynopsis, +.docs .refentry .constructorsynopsis { border: 1px solid #ccc; background-color: #fff; padding: 1.5em; @@ -307,12 +317,6 @@ dl.qandaentry { color: #444; } -.docs .refsect1 > p:last-child, -.docs .refsect1 > .warning:last-child, -.docs .refsect1 > .tip:last-child { - margin-bottom:0; -} - .docs .classsynopsis, .docs div.refsect1 { position: relative;

« previous php.webmaster (#13916) next »