Bug 1166365 - Add some padding around paragraphs for nice highlighting. r=Gijs
authorEitan Isaacson <eitan@monotonous.org>
Wed, 27 Jan 2016 13:48:44 -0800
changeset 286990 e3447f8edd06bc0f13e2e201357151e5b92a02a5
parent 286989 51459032ccce51c73fe3b44243ebfef874213065
child 286991 df591274c1d7b003034f8275f5bbf850fde8d9ce
push id18032
push usercbook@mozilla.com
push dateMon, 07 Mar 2016 10:38:51 +0000
treeherderfx-team@087905ffec78 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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;
 }