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

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

Issue 1440113002: [MD] Change appearance of incognito NTP to MD spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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/browser/resources/ntp4/guest_tab.html ('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 5ba37137c8bc4db369d65cdd855d681d922dfdf6..fb398dd94f87ed085d516f90e40f767f1f43eb67 100644
--- a/chrome/browser/resources/ntp4/incognito_and_guest_tab.css
+++ b/chrome/browser/resources/ntp4/incognito_and_guest_tab.css
@@ -5,24 +5,22 @@
* Incognito and guest mode NTP shared CSS.
*/
-html {
- background: #fafafa;
-}
-
-body {
- line-height: 1.5;
-}
-
h1 {
- font-size: 1.7em;
+ font-size: 200%;
font-weight: normal;
- line-height: 1.2em;
- margin-top: 0;
+ margin-bottom: 1.33em;
+}
+
+p {
+ line-height: 1.7;
+ margin-bottom: 2em;
+ text-align: start;
}
a {
- color: rgb(39, 110, 242);
+ font-size: 108.3%;
text-decoration: none;
+ text-transform: uppercase;
}
a:hover {
@@ -30,24 +28,20 @@ a:hover {
}
.content {
- background-color: white;
- border-radius: 2px;
- box-shadow: 0 4px 6px 1px rgba(50, 50, 50, 0.14);
box-sizing: border-box;
- color: black;
- line-height: 1.5;
- margin: 5.5em auto 0;
- max-width: 640px;
- padding: 30px 35px 30px 37px;
- width: 100%;
+ margin: 3.5em auto 0;
+ padding: 30px 35px;
+ text-align: center;
+ width: 420px;
}
-.content > span {
- display: block;
+html[hascustombackground='true'] .content {
+ border-radius: 2px;
+ box-shadow: 0 4px 6px 1px rgba(0, 0, 0, 0.4);
}
-.content p:last-child {
- margin-bottom: 4px;
+.content > span {
+ display: block;
}
@media (max-width:700px) {
« no previous file with comments | « chrome/browser/resources/ntp4/guest_tab.html ('k') | chrome/browser/resources/ntp4/incognito_tab.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698