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