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: right; |
pedro (no code reviews)
2014/10/02 18:19:42
text-align: end (to make it RTL friendly)
Mathieu
2014/10/02 18:25:55
Done.
Mathieu
2014/10/02 18:25:55
Done.
| |
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 | |
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; | |
pedro (no code reviews)
2014/10/02 18:19:42
Add RTL support?
html[dir="rtl"] .landscape {
f
Mathieu
2014/10/02 18:25:55
Done.
| |
78 } | |
79 } | |
80 | |
57 .label { | 81 .label { |
58 display: inline-block; | 82 display: inline-block; |
59 font-size: 14px; | 83 font-size: 14px; |
60 margin: 14px 0; | 84 margin: 14px 0; |
61 /* We use a slightly different top-bottom padding because Roboto has a | 85 /* 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 | 86 rendering bug which makes an extra padding to be rendered at the bottom of |
63 text. */ | 87 text. */ |
64 padding: 17px 14px 13px 14px; | 88 padding: 17px 14px 13px 14px; |
65 white-space: nowrap; | 89 white-space: nowrap; |
66 } | 90 } |
67 | 91 |
68 .label a { | 92 .label a { |
69 text-transform: uppercase; | 93 text-transform: uppercase; |
70 } | 94 } |
71 | 95 |
72 #optin-label { | 96 #optin-label { |
73 background: rgb(66, 133, 244); | 97 background: rgb(66, 133, 244); |
74 background-clip: padding-box; | 98 background-clip: padding-box; |
75 border-radius: 3px; | 99 border-radius: 3px; |
76 margin-right: 24px; | 100 margin-right: 24px; |
77 } | 101 } |
78 | 102 |
79 #optin-label a { | 103 #optin-label a { |
80 color: white; | 104 color: white; |
81 } | 105 } |
82 | 106 |
83 #optout-label a { | 107 #optout-label a { |
84 color: rgb(66, 133, 244); | 108 color: rgb(66, 133, 244); |
85 } | 109 } |
OLD | NEW |