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 325225 e3447f8edd06bc0f13e2e201357151e5b92a02a5
parent 325224 51459032ccce51c73fe3b44243ebfef874213065
child 325226 df591274c1d7b003034f8275f5bbf850fde8d9ce
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1166365
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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;
 }