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 */ |
| 7 |
| 8 html { |
| 9 background: #fafafa; |
| 10 } |
| 11 |
| 12 body { |
| 13 line-height: 1.5; |
| 14 } |
| 15 |
| 16 h1 { |
| 17 font-size: 1.7em; |
| 18 font-weight: normal; |
| 19 line-height: 1.2em; |
| 20 margin-top: 0; |
| 21 } |
| 22 |
| 23 a { |
| 24 color: rgb(39, 110, 242); |
| 25 text-decoration: none; |
| 26 } |
| 27 |
| 28 a:hover { |
| 29 text-decoration: underline; |
| 30 } |
| 31 |
| 32 .content { |
| 33 background-color: white; |
| 34 border-radius: 2px; |
| 35 box-shadow: 0 4px 6px 1px rgba(50, 50, 50, 0.14); |
| 36 box-sizing: border-box; |
| 37 color: black; |
| 38 line-height: 1.5; |
| 39 margin: 5.5em auto 0; |
| 40 max-width: 640px; |
| 41 padding: 30px 35px 30px 37px; |
| 42 width: 100%; |
| 43 } |
| 44 |
| 45 .content > span { |
| 46 display: block; |
| 47 } |
| 48 |
| 49 .content p:last-child { |
| 50 margin-bottom: 4px; |
| 51 } |
| 52 |
| 53 @media (max-width:700px) { |
| 54 body { |
| 55 margin: 3em 2em 2em; |
| 56 } |
| 57 } |
| 58 |
| 59 @media (max-width:400px) { |
| 60 body { |
| 61 margin: 3em 1.5em 2em; |
| 62 } |
| 63 } |
| 64 |
| 65 @media (max-height:480px) and (max-width:400px) { |
| 66 .content { |
| 67 margin: auto; |
| 68 } |
| 69 } |
OLD | NEW |