Commit:    26120dec649cfa804e86b08ed6589b7d1a336132
Author:    Adam Harvey <[email protected]>         Fri, 5 Sep 2014 13:48:56 -0700
Parents:   5c16a64db9c8e6edeaeedf8f2d35e417dd4a3784
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=26120dec649cfa804e86b08ed6589b7d1a336132

Log:
Format multiple paragraphs in warning/note/caution/tip blocks better.

At the moment, we just smoosh them together without spacing. This adds the same
spacing above all but the first paragraph as we use elsewhere in the manual.

Changed paths:
  M  styles/theme-base.css


Diff:
diff --git a/styles/theme-base.css b/styles/theme-base.css
index ba73007..50ba4ad 100755
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -1247,6 +1247,16 @@ blockquote.note p,
 div.caution p,
 div.warning p,
 div.tip p {
+   margin: 1.5rem 0 0;
+}
+blockquote.note *:first-child + p,
+div.caution *:first-child + p,
+div.warning *:first-child + p,
+div.tip *:first-child + p,
+blockquote.note p:first-child,
+div.caution p:first-child,
+div.warning p:first-child,
+div.tip p:first-child {
    margin: 0;
 }


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to