Chromium Code Reviews| 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; |
| +} |