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

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: Comments from Patch 15 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 211708b9e762d39f39e0d823f9f8ee7ce17ea6ae..54f9c5add5f8c8f8ab72bc1971c0ab26e3fdbf7d 100644
--- a/components/dom_distiller/core/css/distilledpage.css
+++ b/components/dom_distiller/core/css/distilledpage.css
@@ -75,7 +75,6 @@ th {
body,
html {
- color: #333;
font-family: 'Open Sans', sans-serif;
font-size: 14px;
line-height: 1.4;
@@ -83,6 +82,22 @@ html {
overflow-x: hidden;
}
+/* Classes for light, dark and sepia. */
nyquist 2014/06/30 21:35:41 Maybe add the concept of "theme" to this comment?
smaslo 2014/07/07 17:14:14 Done.
+.light {
+ color: #333;
+ background-color: #FFF;
+}
+
+.dark {
+ color: #FFF;
+ background-color: #000;
+}
+
+.sepia {
+ color: #000;
+ background-color: rgb(203, 173, 141);
+}
+
/* Define vertical rhythm (baseline grid of 4px). */
blockquote,
@@ -133,10 +148,17 @@ h6 {
margin: 1.296rem 1.296rem auto;
}
-a {
+/* Link colors for light, dark and sepia themes */
+
+.light a,
+.sepia a {
color: #222;
}
+.dark a {
+ color: blue;
+}
+
blockquote {
border-left: 4px solid #eee;
padding-left: 1em;

Powered by Google App Engine
This is Rietveld 408576698