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

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: Add minimum content width Created 5 years 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..6ad985b09c567c767748883f3b4c0e24866428da 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;
- margin-bottom: 1.33em;
+ font-weight: 300;
+ margin-bottom: 1.33333em;
}
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: 300px;
Evan Stade 2015/12/15 19:25:14 I still don't think this needs to change. The curr
edwardjung 2015/12/17 13:32:57 I disagree, since most horizontal scrolling on web
padding: 30px 35px;
text-align: center;
- width: 420px;
}
html[hascustombackground='true'] .content {
@@ -54,6 +55,10 @@ html[hascustombackground='true'] .content {
body {
margin: 3em 1.5em 2em;
}
+
+ .content {
+ padding: 30px 12px;
+ }
}
@media (max-height:480px) and (max-width:400px) {

Powered by Google App Engine
This is Rietveld 408576698