OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 /* This file holds CSS that should be shared, in theory, by all user-visible | 5 /* This file holds CSS that should be shared, in theory, by all user-visible |
6 * chrome:// pages. This contrasts chrome_shared.css, which it is meant to | 6 * chrome:// pages. This contrasts chrome_shared.css, which it is meant to |
7 * replace, but has CSS specific to options and options-like pages. */ | 7 * replace, but has CSS specific to options and options-like pages. */ |
8 | 8 |
9 @import url("chrome://resources/css/button.css"); | 9 @import url("chrome://resources/css/button.css"); |
10 @import url("chrome://resources/css/checkbox.css"); | 10 @import url("chrome://resources/css/checkbox.css"); |
11 | 11 |
12 /* Prevent CSS from overriding the hidden property. */ | 12 /* Prevent CSS from overriding the hidden property. */ |
13 [hidden] { | 13 [hidden] { |
14 display: none !important; | 14 display: none !important; |
15 } | 15 } |
16 | 16 |
17 body { | 17 body { |
18 cursor: default; | 18 cursor: default; |
19 font-family: 'Open Sans', sans-serif; | |
20 font-size: 12px; | |
21 margin: 0; | 19 margin: 0; |
22 } | 20 } |
23 | 21 |
24 p { | 22 p { |
25 line-height: 22px; | 23 line-height: 1.8em; |
26 } | 24 } |
27 | 25 |
28 h1 { | 26 h1 { |
29 -webkit-user-select: none; | 27 -webkit-user-select: none; |
30 color: rgb(48, 57, 66); | 28 color: rgb(48, 57, 66); |
31 font-size: 18px; | 29 font-size: 1.2em; |
32 font-weight: normal; | 30 font-weight: normal; |
33 margin-top: 1em; | 31 margin-top: 1em; |
34 } | 32 } |
35 | 33 |
36 a { | 34 a { |
37 color: rgb(17, 85, 204); | 35 color: rgb(17, 85, 204); |
38 text-decoration: underline; | 36 text-decoration: underline; |
39 } | 37 } |
40 | 38 |
41 a:active { | 39 a:active { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 * For now it's a bandaid until we install open sans properly. */ | 128 * For now it's a bandaid until we install open sans properly. */ |
131 <if expr="not pp_ifdef('chromeos')"> | 129 <if expr="not pp_ifdef('chromeos')"> |
132 @font-face { | 130 @font-face { |
133 font-family: 'Open Sans'; | 131 font-family: 'Open Sans'; |
134 font-style: normal; | 132 font-style: normal; |
135 font-weight: 400; | 133 font-weight: 400; |
136 src: local('Open Sans'), local('OpenSans'), | 134 src: local('Open Sans'), local('OpenSans'), |
137 url('chrome://resources/fonts/open_sans.woff') format('woff'); | 135 url('chrome://resources/fonts/open_sans.woff') format('woff'); |
138 } | 136 } |
139 </if> | 137 </if> |
OLD | NEW |