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

From: Date: Fri, 05 Sep 2014 21:33:54 +0000
Subject: Re: com web/php: Format multiple paragraphs in warning/note/caution/tip blocks better.: styles/theme-base.css
References: 1 2  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-19894@lists.php.net to get a copy of this message
On 5 September 2014 14:15, Levi Morrison <morrison.levi@gmail.com> wrote: > On Fri, Sep 5, 2014 at 2:48 PM, Adam Harvey <aharvey@php.net> wrote: >> Commit: 26120dec649cfa804e86b08ed6589b7d1a336132 >> Author: Adam Harvey <aharvey@php.net> 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; >> } >> >> > > Can you provide a link to a page where this fix helps? Eventually, it'll be http://docs.php.net/timezones.others, when it rebuilds. Unfortunately, I've just spent almost 20 minutes trying to get Skitch and Imgur to co-operate without success, so I can't give you screen shots to prove it right now. What's your concern? Adam

« previous php.webmaster (#19894) next »