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

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

Issue 1100763002: Inject CanAddURLToHistory into TopSitesImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs
Patch Set: Fix error introduced during rebase 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
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..e0eeccfba3a2b4b078724d4b0bc32b431b39c0ca 100644
--- a/components/dom_distiller/core/css/distilledpage.css
+++ b/components/dom_distiller/core/css/distilledpage.css
@@ -73,12 +73,17 @@ th {
/* Base typography. */
-body,
html {
font-size: 14px;
+}
+
+body {
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 +98,7 @@ html {
}
.dark {
- color: #FFF;
+ color: #DDD;
background-color: #000;
}
@@ -151,11 +156,11 @@ h6 {
/* Margins for Show Original link. */
#showOriginal {
- margin: auto 1.296rem 1.296rem 1.296rem;
+ margin: auto 1.296rem 1.296rem 5%;
}
#content {
- margin: 0.2rem;
+ margin: 0.2rem 2.2%;
}
/* Main margins. */
@@ -202,29 +207,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 +249,8 @@ h1 {
}
q {
- color: #222;
+ opacity: .8;
display:block;
- font-size: 1.5rem;
font-style: italic;
font-weight: 600;
line-height: 1.444;
@@ -265,7 +278,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 +327,10 @@ pre {
padding-bottom: 120px;
}
+#feedbackContainer {
+ font-size: 14px;
+}
+
.footerFeedback {
background-color: #4285F4;
clear: both;
@@ -325,13 +342,14 @@ pre {
}
.feedbackContent {
+ font-size: 14px;
background-color: #4285F4;
clear: both;
padding: 14px;
}
#feedbackQuestion {
- font-size: 20px;
+ font-size: 1.4em;
font-weight: 700;
text-align: center;
width: 100%;

Powered by Google App Engine
This is Rietveld 408576698