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

Unified Diff: chrome/browser/resources/ntp4/incognito_and_guest_tab.css

Issue 1516233003: Incognito NTP style tweaks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reinstate Roboto and add text_defaults_md.css Created 4 years, 11 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: chrome/browser/resources/ntp4/incognito_and_guest_tab.css
diff --git a/chrome/browser/resources/ntp4/incognito_and_guest_tab.css b/chrome/browser/resources/ntp4/incognito_and_guest_tab.css
index fb398dd94f87ed085d516f90e40f767f1f43eb67..52bd4f855612963e4c589b8e8e998f2cc17385b6 100644
--- a/chrome/browser/resources/ntp4/incognito_and_guest_tab.css
+++ b/chrome/browser/resources/ntp4/incognito_and_guest_tab.css
@@ -7,12 +7,12 @@
h1 {
font-size: 200%;
- font-weight: normal;
+ font-weight: 300;
margin-bottom: 1.33em;
}
p {
- line-height: 1.7;
+ line-height: 1.5;
margin-bottom: 2em;
text-align: start;
}
@@ -29,10 +29,12 @@ a:hover {
.content {
box-sizing: border-box;
+ font-family: Roboto;
Dan Beam 2016/01/12 23:05:52 do you need this if you're pulling in text_default
edwardjung 2016/01/13 21:24:07 Removed, it's working without.
margin: 3.5em auto 0;
+ max-width: 420px;
+ min-width: 240px;
padding: 30px 35px;
text-align: center;
- width: 420px;
}
html[hascustombackground='true'] .content {
@@ -54,6 +56,11 @@ html[hascustombackground='true'] .content {
body {
margin: 3em 1.5em 2em;
}
+
+ /* Adjustment for narrow screen to prevent horizontal scrollbar. */
+ .content {
+ padding: 16px 8px;
+ }
}
@media (max-height:480px) and (max-width:400px) {

Powered by Google App Engine
This is Rietveld 408576698