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:15:26 +0000
Subject: Re: com web/php: Format multiple paragraphs in warning/note/caution/tip blocks better.: styles/theme-base.css
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-19893@lists.php.net to get a copy of this message
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?

« previous php.webmaster (#19893) next »