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 color: #414141; | |
20 text-decoration: none; | 19 text-decoration: none; |
21 } | 20 } |
22 | 21 |
23 .colored { | 22 a.colored-link { |
24 color: rgb(66, 133, 244); | 23 color: rgb(66, 133, 244); |
25 } | 24 } |
26 | 25 |
27 .label { | |
28 display: inline-block; | |
29 font-size: 14px; | |
30 font-weight: bold; | |
31 padding: 28px; | |
32 white-space: nowrap; | |
33 } | |
34 | |
35 .label a { | |
36 text-transform: uppercase; | |
37 } | |
38 | |
39 #button-container { | 26 #button-container { |
40 text-align: right; | 27 text-align: right; |
41 width: 100%; | 28 width: 100%; |
42 } | 29 } |
43 | 30 |
44 #container.hide { | 31 #container.hide { |
45 -webkit-transform: scale(0.95); | 32 -webkit-transform: scale(0.95); |
46 -webkit-transition-duration: 218ms; | 33 -webkit-transition-duration: 218ms; |
47 -webkit-transition-property: opacity, -webkit-transform; | 34 -webkit-transition-property: opacity, -webkit-transform; |
48 opacity: 0; | 35 opacity: 0; |
(...skipping 10 matching lines...) Expand all Loading... | |
59 letter-spacing: 1px; | 46 letter-spacing: 1px; |
60 margin-top: 0; | 47 margin-top: 0; |
61 text-align: center; | 48 text-align: center; |
62 } | 49 } |
63 | 50 |
64 #header-image { | 51 #header-image { |
65 display: block; | 52 display: block; |
66 height: 100px; | 53 height: 100px; |
67 margin: 0 auto 24px auto; | 54 margin: 0 auto 24px auto; |
68 } | 55 } |
56 | |
57 .label { | |
58 display: inline-block; | |
59 font-size: 14px; | |
60 margin: 14px 0; | |
61 /* We use a slightly different top-bottom padding because Roboto has a | |
62 rendering bug. */ | |
pedro (no code reviews)
2014/09/29 18:18:26
Nit: I would continue saying: "[...] rendering bug
Mathieu
2014/09/29 18:54:39
Done.
| |
63 padding: 17px 14px 13px 14px; | |
64 white-space: nowrap; | |
65 } | |
66 | |
67 .label a { | |
68 text-transform: uppercase; | |
69 } | |
70 | |
71 #optin-label { | |
72 background-clip: padding-box; | |
73 background-color: rgb(66, 133, 244); | |
74 border-radius: 3px; | |
75 margin-right: 24px; | |
76 } | |
77 | |
78 #optin-label a { | |
79 color: white; | |
80 } | |
81 | |
82 #optout-label a { | |
83 color: rgb(66, 133, 244); | |
84 } | |
OLD | NEW |