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

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: Update Roboto font with full charset version 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/ntp4/incognito_tab.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..90e52d921d9e3bf5ce6fd9d5826674ff8a73b49a 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;
}
@@ -30,9 +30,10 @@ a:hover {
.content {
box-sizing: border-box;
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 +55,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) {
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/ntp4/incognito_tab.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698