Bug 1166365 - Add some padding around paragraphs for nice highlighting. r=Gijs draft
authorEitan Isaacson <eitan@monotonous.org>
Wed, 27 Jan 2016 13:48:44 -0800
changeset 335990 835c44bb0d38929d4e3d6b039e3caefa8eebbd3e
parent 335989 b8d685a8dcce955ad7d2d79b9c444596dab38ffe
child 335991 ba92e461a2fcef0ef49c8e82fd480624f5566105
child 336188 49f4614e39eb4dc30b8f752a6c53c62f4b0260a7
child 336576 506403600dc2a03eab61242532ae7eac66e65aee
child 337022 02c1c2ddd25f4fb4779c26bbe29d4ecabf5d25d0
push id11929
push userbmo:eitan@monotonous.org
push dateWed, 02 Mar 2016 00:21:20 +0000
reviewersGijs
bugs1166365
milestone47.0a1
Bug 1166365 - Add some padding around paragraphs for nice highlighting. r=Gijs MozReview-Commit-ID: 6LEDaLRmFmL
toolkit/themes/shared/aboutReaderContent.css
--- a/toolkit/themes/shared/aboutReaderContent.css
+++ b/toolkit/themes/shared/aboutReaderContent.css
@@ -50,17 +50,19 @@ p,
 code,
 pre,
 blockquote,
 ul,
 ol,
 li,
 figure,
 .wp-caption {
-  margin: 0 0 30px 0;
+  margin: -10px -10px 20px -10px;
+  padding: 10px;
+  border-radius: 5px;
 }
 
 p > img:only-child,
 p > a:only-child > img:only-child,
 .wp-caption img,
 figure img {
   display: block;
 }