Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 * Use of this source code is governed by a BSD-style license that can be | |
| 3 * found in the LICENSE file. | |
| 4 * | |
| 5 * Incognito and guest mode NTP shared CSS. | |
| 6 */ | |
|
Evan Stade
2014/04/24 00:38:21
nit: \n
edwardjung
2014/04/24 09:44:02
Done.
| |
| 7 html { | |
| 8 background: #fafafa; | |
| 9 } | |
| 10 | |
| 11 body { | |
| 12 line-height: 1.5; | |
| 13 } | |
| 14 | |
| 15 h1 { | |
| 16 font-size: 1.7em; | |
| 17 font-weight: normal; | |
| 18 line-height: 1.2em; | |
| 19 margin-top: 0; | |
| 20 } | |
| 21 | |
| 22 a { | |
| 23 color: rgb(39, 110, 242); | |
| 24 text-decoration: none; | |
| 25 } | |
| 26 | |
| 27 a:hover { | |
| 28 text-decoration: underline; | |
| 29 } | |
| 30 | |
| 31 .content { | |
| 32 background-color: white; | |
| 33 border-radius: 2px; | |
| 34 box-shadow: 0 4px 6px 1px rgba(50, 50, 50, 0.14); | |
| 35 box-sizing: border-box; | |
| 36 color: black; | |
| 37 line-height: 1.5; | |
| 38 margin: 5.5em auto 0; | |
| 39 max-width: 640px; | |
| 40 padding: 30px 35px 30px 37px; | |
| 41 width: 100%; | |
| 42 } | |
| 43 | |
| 44 .content > span { | |
| 45 display: block; | |
| 46 } | |
| 47 | |
| 48 .content p:last-child { | |
| 49 margin-bottom: 4px; | |
| 50 } | |
| 51 | |
| 52 @media (max-width:700px) { | |
| 53 body { | |
| 54 margin: 3em 2em 2em; | |
| 55 } | |
| 56 } | |
| 57 | |
| 58 @media (max-width:400px) { | |
| 59 body { | |
| 60 margin: 3em 1.5em 2em; | |
| 61 } | |
| 62 } | |
| 63 | |
| 64 @media (max-height:480px) and (max-width:400px) { | |
| 65 .content { | |
| 66 margin: auto; | |
| 67 } | |
| 68 } | |
| OLD | NEW |