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

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

Issue 341563002: Theme Preferences for Distilled Pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes from comments on patch 9 Created 6 years, 6 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 0e04891b49304d85aaf80aee05033ed354522c87..28bbc73bcb0759fc642a231171f1b5aec22d1d6c 100644
--- a/components/dom_distiller/core/css/distilledpage.css
+++ b/components/dom_distiller/core/css/distilledpage.css
@@ -3,17 +3,44 @@
* found in the LICENSE file. */
@charset "utf-8";
/* Document */
-body{font-family:'Open Sans',sans-serif;font-size:18px;line-height:1.4;}
-/* Don't let images or video bleed out of viewport. */
-img,video{max-width:100%;}
+body {
+ font-family: 'Open Sans',sans-serif;
+ font-size: 10pt;
+ line-height: 1.4;
+ /* background-color and color are set in
+ * reader_mode_preferences::ReplaceCSSTemplateValues().*/
+ $1
nyquist 2014/06/24 23:08:49 This probably has to be rebased.
smaslo 2014/06/26 20:05:37 Done.
+}
+/* Don't let images bleed out of viewport. */
+img {
+ height: auto;
+ max-width: 100%;
+}
/* Margin */
-.margin-x-narrow{width:95%;}
-.margin-narrow{width:85%;}
-.margin-medium{width:75%;}
-.margin-wide{width:55%;}
-.margin-x-wide{width:35%;}
+.margin-x-narrow {
+ width: 95%;
+}
+.margin-narrow {
+ width: 85%;
+}
+.margin-medium {
+ width: 75%;
+}
+.margin-wide {
+ width: 55%;
+}
+.margin-x-wide {
+ width: 35%;
+}
/* Override html styling attributes */
-table,tr,td{background-color:transparent!important;}
-
-.hidden{display:none}
-.visible{display:block}
+table,
+td,
+tr {
+ background-color: transparent !important;
+}
+.hidden {
+ display: none;
+}
+.visible {
+ display: block;
+}

Powered by Google App Engine
This is Rietveld 408576698