com web/php: Format multiple paragraphs in warning/note/caution/tip blocks better.: styles/theme-base.css

From: Date: Fri, 05 Sep 2014 20:48:56 +0000
Subject: com web/php: Format multiple paragraphs in warning/note/caution/tip blocks better.: styles/theme-base.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-21882@lists.php.net to get a copy of this message
Commit: 99b81b7a0e72744d09fbbe406de843f9d260d934 Author: Adam Harvey <aharvey@php.net> Fri, 5 Sep 2014 13:48:56 -0700 Parents: 9b3f57ce69bd4c97dc695b503ad06ac9d8ca450d Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=99b81b7a0e72744d09fbbe406de843f9d260d934 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; }

« previous php.webmaster (#21882) next »