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

Side by Side Diff: chrome/browser/resources/ntp4/guest_tab.css

Issue 208683007: Update incognito and guest browsing new tab page: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue with corrupted images. Created 6 years, 8 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 unified diff | Download patch
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 body { 5 html {
6 margin: 10px 8px; 6 background: #fafafa !important;
7 } 7 }
8 8
9 .icon { 9 body {
10 -webkit-margin-end: 3px; 10 font-family: Arial, sans-serif;
11 -webkit-margin-start: 6px; 11 font-size: 75%;
12 line-height: 1.5;
12 } 13 }
13 14
14 html[dir='ltr'] .icon { 15 h1 {
15 float: right; 16 color: #000;
17 font-size: 1.7em;
18 font-weight: normal;
19 line-height: 1.2em;
20 margin: 0 0 .7em;
16 } 21 }
17 22
18 html[dir='rtl'] .icon { 23 a {
19 float: left; 24 color: rgb(66, 129, 244);
25 text-decoration: none;
26 }
27
28 a:hover {
29 text-decoration: underline;
30 }
31
32 p {
33 margin: 0 0 1em;
20 } 34 }
21 35
22 .content { 36 .content {
23 background-color: #eee; 37 background-color: #fff;
24 border-radius: 5px; 38 border-radius: 2px;
39 box-shadow: 0 4px 6px 1px rgba(50, 50, 50, 0.14);
40 box-sizing: border-box;
25 color: black; 41 color: black;
26 margin-left: auto; 42 line-height: 1.5;
27 margin-right: auto; 43 margin: 5.5em auto 0;
28 margin-top: 66px; 44 max-width: 630px;
29 max-width: 600px; 45 padding: 30px 35px 30px 37px;
30 padding: 10px; 46 width: 100%;
31 } 47 }
48
49 .content p:last-child {
50 margin-bottom: 4px;
51 }
52
53
54 @media (max-width:700px) {
55 body {
56 margin: 3em 2em 2em;
57 }
58 }
59
60 @media (max-width:400px) {
61 body {
62 margin: 3em 1.5em 2em;
63 }
64 }
65
66 @media (max-height:480px) and (max-width:400px) {
67 .content {
68 margin: auto;
69 }
70 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698