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

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

Issue 1054503003: Adjust CSS in DOM Distiller for different color themes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix feedback size Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 adfb68239598f3bff3097bb1e90775c33cc62bf0..d5211088eedbb9b7c6b188cfe595bdd719f06d1c 100644
--- a/components/dom_distiller/core/css/distilledpage.css
+++ b/components/dom_distiller/core/css/distilledpage.css
@@ -79,6 +79,9 @@ html {
height: 100%;
line-height: 1.4;
text-rendering: optimizeLegibility;
+ transition-property: color, background-color;
+ transition-duration: 0.5s;
+ transition-timing-function: ease;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
@@ -93,7 +96,7 @@ html {
}
.dark {
- color: #FFF;
+ color: #DDD;
background-color: #000;
}
@@ -202,29 +205,38 @@ body {
/* Link colors for light, dark and sepia themes */
-a:link {
+.light a:link,
+.sepia a:link {
color: #55F;
}
-a:visited {
+.dark a:link {
+ color: #88F;
+}
+
+.light a:visited,
+.sepia a:visited {
color: #902290;
}
+.dark a:visited {
+ color: #D872D8;
+}
+
blockquote {
border-left: 4px solid #eee;
padding-left: 1em;
}
cite {
- color: rgba(0, 0, 0, .54);
+ opacity: .54;
font-style: italic;
}
hr {
- background-color: #e4dfdf;
- border: none;
- height: 1px;
- margin: inherit auto;
+ opacity: .5;
+ border-style: solid;
+ height: 1px 0 0 0;
width: 75%;
}
@@ -235,9 +247,9 @@ h1 {
}
q {
- color: #222;
+ opacity: .8;
display:block;
- font-size: 1.5rem;
+ font-size: 1.5rem; /* why larger ?? */
mdjones 2015/04/21 23:11:04 I don't think this question should remain in here.
wychen 2015/04/22 00:07:45 Done. Made it 1 by removing this line.
font-style: italic;
font-weight: 600;
line-height: 1.444;
@@ -265,7 +277,7 @@ figcaption,
img+[class*='caption'],
object+[class*='caption'],
video+[class*='caption'] {
- color: rgba(0,0,0,.54);
+ opacity: .54;
display: table;
font-style: italic;
margin: 0 auto;
@@ -314,6 +326,10 @@ pre {
padding-bottom: 120px;
}
+#feedbackContainer {
+ font-size: 14px;
+}
+
.footerFeedback {
background-color: #4285F4;
clear: both;
@@ -331,7 +347,7 @@ pre {
}
#feedbackQuestion {
- font-size: 20px;
+ font-size: 1.4em;
font-weight: 700;
text-align: center;
width: 100%;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698