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 /* Set the global 'box-sizing' state to 'border-box'. | 5 /* Set the global 'box-sizing' state to 'border-box'. |
6 * *::after and *::before used to select pseudo-elements not selectable by *. */ | 6 * *::after and *::before used to select pseudo-elements not selectable by *. */ |
7 | 7 |
8 *, | 8 *, |
9 *::after, | 9 *::after, |
10 *::before { | 10 *::before { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 border-spacing: 0; | 66 border-spacing: 0; |
67 } | 67 } |
68 | 68 |
69 td, | 69 td, |
70 th { | 70 th { |
71 padding: 0; | 71 padding: 0; |
72 } | 72 } |
73 | 73 |
74 /* Base typography. */ | 74 /* Base typography. */ |
75 | 75 |
76 body, | |
77 html { | 76 html { |
78 font-size: 14px; | 77 font-size: 14px; |
| 78 } |
| 79 |
| 80 body { |
79 line-height: 1.4; | 81 line-height: 1.4; |
80 text-rendering: optimizeLegibility; | 82 text-rendering: optimizeLegibility; |
81 overflow-x: hidden; | 83 overflow-x: hidden; |
82 } | 84 } |
83 | 85 |
84 /* Classes for light, dark and sepia themes. | 86 /* Classes for light, dark and sepia themes. |
85 * Must agree with classes returned by useTheme() in dom_distiller_viewer.js | 87 * Must agree with classes returned by useTheme() in dom_distiller_viewer.js |
86 * and with CSS class constants in viewer.cc */ | 88 * and with CSS class constants in viewer.cc */ |
87 | 89 |
88 .light { | 90 .light { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 th, | 135 th, |
134 ul { | 136 ul { |
135 margin-bottom: 1rem; | 137 margin-bottom: 1rem; |
136 } | 138 } |
137 | 139 |
138 h2, | 140 h2, |
139 h3, | 141 h3, |
140 h4, | 142 h4, |
141 h5, | 143 h5, |
142 h6 { | 144 h6 { |
143 line-height: 1.296rem; | 145 line-height: 1.2em; |
144 margin-bottom: 0.444rem; | 146 margin-bottom: 0.444rem; |
145 } | 147 } |
146 | 148 |
147 /* Content. */ | 149 /* Content. */ |
148 | 150 |
149 /* Margins for Show Original link. */ | 151 /* Margins for Show Original link. */ |
150 | 152 |
151 #showOriginal { | 153 #showOriginal { |
152 margin: auto 1.296rem 1.296rem 1.296rem; | 154 margin: auto 1.296rem 1.296rem 5%; |
153 } | 155 } |
154 | 156 |
155 #content { | 157 #content { |
156 margin-top: 1.296rem; | 158 margin-top: 1.296rem; |
157 } | 159 } |
158 | 160 |
159 /* Main margins. */ | 161 /* Main margins. */ |
160 | 162 |
161 body { | 163 body { |
162 max-width: 800px; | 164 max-width: 800px; |
163 margin: 0px auto; | 165 margin: 0px auto; |
164 } | 166 } |
165 | 167 |
166 #mainContent { | 168 #mainContent { |
167 margin: 1.296rem 1.296rem auto; | 169 margin: 1.296rem 2.2% auto; |
168 } | 170 } |
169 | 171 |
170 /* Link colors for light, dark and sepia themes */ | 172 /* Link colors for light, dark and sepia themes */ |
171 | 173 |
172 a:link { | 174 a:link { |
173 color: #55F; | 175 color: #55F; |
174 } | 176 } |
175 | 177 |
176 a:visited { | 178 a:visited { |
177 color: #902290; | 179 color: #902290; |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 border-color: rgb(250,36,36); | 674 border-color: rgb(250,36,36); |
673 } | 675 } |
674 | 676 |
675 #loader.red .circle.red .mask.first .mover { | 677 #loader.red .circle.red .mask.first .mover { |
676 background-color: rgb(33,89,189); | 678 background-color: rgb(33,89,189); |
677 } | 679 } |
678 | 680 |
679 #loader.red .circle.red .mask.second .mover { | 681 #loader.red .circle.red .mask.second .mover { |
680 background-color: rgb(250,36,36); | 682 background-color: rgb(250,36,36); |
681 } | 683 } |
OLD | NEW |