Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: components/dom_distiller/core/css/distilledpage.css

Issue 1009703002: Changing font size with pinch gesture in Reader Mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: multitouch and tests Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/core/css/distilledpage.css
diff --git a/components/dom_distiller/core/css/distilledpage.css b/components/dom_distiller/core/css/distilledpage.css
index c34d058dd298cc0ef7d640a426862b981322a7bd..942b171e888faeaa3c007b7482e031ed5c1d7467 100644
--- a/components/dom_distiller/core/css/distilledpage.css
+++ b/components/dom_distiller/core/css/distilledpage.css
@@ -73,9 +73,11 @@ th {
/* Base typography. */
-body,
html {
font-size: 14px;
+}
+
+body {
line-height: 1.4;
text-rendering: optimizeLegibility;
overflow-x: hidden;
@@ -140,7 +142,7 @@ h3,
h4,
h5,
h6 {
- line-height: 1.296rem;
+ line-height: 1.2em;
margin-bottom: 0.444rem;
}
@@ -149,7 +151,7 @@ h6 {
/* Margins for Show Original link. */
#showOriginal {
- margin: auto 1.296rem 1.296rem 1.296rem;
+ margin: auto 1.296rem 1.296rem 5%;
}
#content {
@@ -164,7 +166,7 @@ body {
}
#mainContent {
- margin: 1.296rem 1.296rem auto;
+ margin: 1.296rem 2.2% auto;
}
/* Link colors for light, dark and sepia themes */

Powered by Google App Engine
This is Rietveld 408576698