Chromium Code Reviews| Index: chrome/browser/resources/ntp4/incognito_guest_tab.css |
| diff --git a/chrome/browser/resources/ntp4/incognito_guest_tab.css b/chrome/browser/resources/ntp4/incognito_guest_tab.css |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b35191dec11dc3364a0c9aa93c861c0497fda786 |
| --- /dev/null |
| +++ b/chrome/browser/resources/ntp4/incognito_guest_tab.css |
| @@ -0,0 +1,66 @@ |
| +/* Copyright 2014 The Chromium Authors. All rights reserved. |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. */ |
|
Evan Stade
2014/04/22 17:52:52
nit: file-level comment ("this is the css shared b
edwardjung
2014/04/23 10:42:10
Done.
|
| + |
| +html { |
| + background: #fafafa; |
| +} |
| + |
| +body { |
| + line-height: 1.5; |
| +} |
| + |
| +h1 { |
| + font-size: 1.7em; |
| + font-weight: normal; |
| + line-height: 1.2em; |
| + margin-top: 0; |
| +} |
| + |
| +a { |
| + color: rgb(39, 110, 242); |
| + text-decoration: none; |
| +} |
| + |
| +a:hover { |
| + text-decoration: underline; |
| +} |
| + |
| +.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%; |
| +} |
| + |
| +.content > span { |
| + display: block; |
| +} |
| + |
| +.content p:last-child { |
| + margin-bottom: 4px; |
| +} |
| + |
| +@media (max-width:700px) { |
| + body { |
| + margin: 3em 2em 2em; |
| + } |
| +} |
| + |
| +@media (max-width:400px) { |
| + body { |
| + margin: 3em 1.5em 2em; |
| + } |
| +} |
| + |
| +@media (max-height:480px) and (max-width:400px) { |
| + .content { |
| + margin: auto; |
| + } |
| +} |