OLD | NEW |
---|---|
1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 @font-face { | 5 @font-face { |
6 font-family: 'Roboto2'; | 6 font-family: 'Roboto2'; |
7 font-weight: 400; | 7 font-weight: 400; |
8 src: local('Roboto'), local('Roboto2-Regular'), | 8 src: local('Roboto'), local('Roboto2-Regular'), |
9 url(/roboto.woff2) format('woff2'), url(/roboto.woff) format('woff'); | 9 url(/roboto.woff2) format('woff2'), url(/roboto.woff) format('woff'); |
10 } | 10 } |
11 | 11 |
12 body { | 12 body { |
13 color: #414141; | 13 color: #414141; |
14 font-family: 'Roboto2', sans-serif; | 14 font-family: 'Roboto2', sans-serif; |
15 margin: 0; | 15 margin: 0; |
16 } | 16 } |
17 | 17 |
18 a { | 18 a { |
19 text-decoration: none; | 19 text-decoration: none; |
20 } | 20 } |
21 | 21 |
22 a.colored-link { | 22 a.colored-link { |
23 color: rgb(66, 133, 244); | 23 color: rgb(66, 133, 244); |
24 } | 24 } |
25 | 25 |
26 #button-container { | 26 #button-container { |
27 text-align: right; | 27 text-align: end; |
28 width: 100%; | 28 width: 100%; |
29 } | 29 } |
30 | 30 |
31 #container.hide { | 31 #container.hide { |
32 -webkit-transform: scale(0.95); | 32 -webkit-transform: scale(0.95); |
33 -webkit-transition-duration: 218ms; | 33 -webkit-transition-duration: 218ms; |
34 -webkit-transition-property: opacity, -webkit-transform; | 34 -webkit-transition-property: opacity, -webkit-transform; |
35 opacity: 0; | 35 opacity: 0; |
36 } | 36 } |
37 | 37 |
38 #description { | 38 #description { |
39 font-size: 16px; | 39 font-size: 16px; |
40 line-height: 1.4em; | 40 line-height: 1.4em; |
41 margin: 24px 16px 4px 16px; | 41 margin: 24px 16px 4px 16px; |
42 } | 42 } |
43 | 43 |
44 #heading { | 44 #heading { |
45 font-size: 24px; | 45 font-size: 24px; |
46 letter-spacing: 1px; | 46 letter-spacing: 1px; |
47 margin-top: 0; | 47 margin-top: 0; |
48 text-align: center; | 48 text-align: center; |
49 } | 49 } |
50 | 50 |
51 #header-image { | 51 #header-image { |
52 display: block; | |
53 height: 100px; | 52 height: 100px; |
54 margin: 0 auto 24px auto; | 53 margin: 0 auto 24px auto; |
55 } | 54 } |
56 | 55 |
56 .portrait { | |
57 display: block; | |
58 } | |
59 | |
huangs
2014/10/02 18:29:33
NIT: Remove spaces between #heading, #header-image
Mathieu
2014/10/02 18:40:09
Done.
| |
60 .landscape { | |
61 display: none; | |
62 } | |
63 | |
64 /* Landscape */ | |
65 @media screen and (orientation:landscape) { | |
66 #heading { | |
67 padding-top: 16px; | |
68 } | |
69 #header-image { | |
70 margin: 0 24px; | |
71 } | |
72 .portrait { | |
73 display: none; | |
74 } | |
75 .landscape { | |
76 display: block; | |
77 float: left; | |
78 } | |
79 html[dir='rtl'] .landscape { | |
80 float: right; | |
81 } | |
82 } | |
83 | |
57 .label { | 84 .label { |
58 display: inline-block; | 85 display: inline-block; |
59 font-size: 14px; | 86 font-size: 14px; |
60 margin: 14px 0; | 87 margin: 14px 0; |
61 /* We use a slightly different top-bottom padding because Roboto has a | 88 /* We use a slightly different top-bottom padding because Roboto has a |
62 rendering bug which makes an extra padding to be rendered at the bottom of | 89 rendering bug which makes an extra padding to be rendered at the bottom of |
63 text. */ | 90 text. */ |
64 padding: 17px 14px 13px 14px; | 91 padding: 17px 14px 13px 14px; |
65 white-space: nowrap; | 92 white-space: nowrap; |
66 } | 93 } |
67 | 94 |
68 .label a { | 95 .label a { |
69 text-transform: uppercase; | 96 text-transform: uppercase; |
70 } | 97 } |
71 | 98 |
72 #optin-label { | 99 #optin-label { |
73 background: rgb(66, 133, 244); | 100 background: rgb(66, 133, 244); |
74 background-clip: padding-box; | 101 background-clip: padding-box; |
75 border-radius: 3px; | 102 border-radius: 3px; |
76 margin-right: 24px; | 103 margin-right: 24px; |
77 } | 104 } |
78 | 105 |
79 #optin-label a { | 106 #optin-label a { |
80 color: white; | 107 color: white; |
81 } | 108 } |
82 | 109 |
83 #optout-label a { | 110 #optout-label a { |
84 color: rgb(66, 133, 244); | 111 color: rgb(66, 133, 244); |
85 } | 112 } |
OLD | NEW |