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

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

Issue 1060623002: Adds support for dynamically setting the title (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 01caad9a2c5c63de211cab55ef148cab08753c04..8feef43b0ea6476bea85d64baf0c1f4d499e7041 100644
--- a/components/dom_distiller/core/css/distilledpage.css
+++ b/components/dom_distiller/core/css/distilledpage.css
@@ -141,7 +141,7 @@ h3,
h4,
h5,
h6 {
- line-height: 1.296rem;
+ line-height: 1.296;
margin-bottom: 0.444rem;
}
@@ -154,20 +154,51 @@ h6 {
}
#content {
- margin-top: 1.296rem;
+ margin: 0.2rem;
}
/* Main margins. */
body {
max-width: 800px;
- margin: 0px auto;
+ margin: 0px;
}
#mainContent {
- margin: 1.296rem 1.296rem auto;
+ margin: auto 0px;
}
+#articleHeader {
+ background-color: rgb(73, 73, 73);
+ color: white;
+ min-height: 90px;
+ width: 100%;
+}
+
+#titleCollapse {
+ display: block;
+ overflow: hidden;
+}
+
+#titleCollapse .verticalCenterOuter {
+ min-height: 90px;
+}
+
+#titleHolder {
+ padding: 10px 30px;
+}
+
+.verticalCenterOuter {
+ display: table;
+ height: 100%;
+}
+
+.verticalCenterInner {
+ display: table-cell;
+ vertical-align: middle;
+}
+
+
/* Link colors for light, dark and sepia themes */
a:link {
@@ -198,7 +229,7 @@ hr {
h1 {
font-size: 1.7rem;
- line-height: 1.9rem;
+ line-height: 1.296;
margin-bottom: 0.444rem;
}
@@ -266,7 +297,7 @@ pre code {
}
pre {
- line-height: 1.296rem;
+ line-height: 1.296;
overflow-x: scroll;
padding: .5em;
}

Powered by Google App Engine
This is Rietveld 408576698