Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Side by Side Diff: components/dom_distiller/core/css/distilledpage.css

Issue 1060623002: Adds support for dynamically setting the title (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 th, 134 th,
135 ul { 135 ul {
136 margin-bottom: 1rem; 136 margin-bottom: 1rem;
137 } 137 }
138 138
139 h2, 139 h2,
140 h3, 140 h3,
141 h4, 141 h4,
142 h5, 142 h5,
143 h6 { 143 h6 {
144 line-height: 1.296rem; 144 line-height: 1.296;
145 margin-bottom: 0.444rem; 145 margin-bottom: 0.444rem;
146 } 146 }
147 147
148 /* Content. */ 148 /* Content. */
149 149
150 /* Margins for Show Original link. */ 150 /* Margins for Show Original link. */
151 151
152 #showOriginal { 152 #showOriginal {
153 margin: auto 1.296rem 1.296rem 1.296rem; 153 margin: auto 1.296rem 1.296rem 1.296rem;
154 } 154 }
155 155
156 #content { 156 #content {
157 margin-top: 1.296rem; 157 margin: 0.2rem;
158 } 158 }
159 159
160 /* Main margins. */ 160 /* Main margins. */
161 161
162 body { 162 body {
163 max-width: 800px; 163 max-width: 800px;
164 margin: 0px auto; 164 margin: 0px;
165 } 165 }
166 166
167 #mainContent { 167 #mainContent {
168 margin: 1.296rem 1.296rem auto; 168 margin: auto 0px;
169 } 169 }
170 170
171 #articleHeader {
172 background-color: rgb(73, 73, 73);
173 color: white;
174 min-height: 90px;
175 width: 100%;
176 }
177
178 #titleCollapse {
179 display: block;
180 overflow: hidden;
181 }
182
183 #titleCollapse .verticalCenterOuter {
184 min-height: 90px;
185 }
186
187 #titleHolder {
188 padding: 10px 30px;
189 }
190
191 .verticalCenterOuter {
192 display: table;
193 height: 100%;
194 }
195
196 .verticalCenterInner {
197 display: table-cell;
198 vertical-align: middle;
199 }
200
201
171 /* Link colors for light, dark and sepia themes */ 202 /* Link colors for light, dark and sepia themes */
172 203
173 a:link { 204 a:link {
174 color: #55F; 205 color: #55F;
175 } 206 }
176 207
177 a:visited { 208 a:visited {
178 color: #902290; 209 color: #902290;
179 } 210 }
180 211
(...skipping 10 matching lines...) Expand all
191 hr { 222 hr {
192 background-color: #e4dfdf; 223 background-color: #e4dfdf;
193 border: none; 224 border: none;
194 height: 1px; 225 height: 1px;
195 margin: inherit auto; 226 margin: inherit auto;
196 width: 75%; 227 width: 75%;
197 } 228 }
198 229
199 h1 { 230 h1 {
200 font-size: 1.7rem; 231 font-size: 1.7rem;
201 line-height: 1.9rem; 232 line-height: 1.296;
202 margin-bottom: 0.444rem; 233 margin-bottom: 0.444rem;
203 } 234 }
204 235
205 q { 236 q {
206 color: #222; 237 color: #222;
207 display:block; 238 display:block;
208 font-size: 1.5rem; 239 font-size: 1.5rem;
209 font-style: italic; 240 font-style: italic;
210 font-weight: 600; 241 font-weight: 600;
211 line-height: 1.444; 242 line-height: 1.444;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 border: 1px solid #555; 290 border: 1px solid #555;
260 border-radius: 2px; 291 border-radius: 2px;
261 } 292 }
262 293
263 pre code { 294 pre code {
264 border: none; 295 border: none;
265 padding: 0; 296 padding: 0;
266 } 297 }
267 298
268 pre { 299 pre {
269 line-height: 1.296rem; 300 line-height: 1.296;
270 overflow-x: scroll; 301 overflow-x: scroll;
271 padding: .5em; 302 padding: .5em;
272 } 303 }
273 304
274 .hidden { 305 .hidden {
275 display: none; 306 display: none;
276 } 307 }
277 308
278 /* Loading Indicator. */ 309 /* Loading Indicator. */
279 #loader { 310 #loader {
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 border-color: rgb(250,36,36); 704 border-color: rgb(250,36,36);
674 } 705 }
675 706
676 #loader.red .circle.red .mask.first .mover { 707 #loader.red .circle.red .mask.first .mover {
677 background-color: rgb(33,89,189); 708 background-color: rgb(33,89,189);
678 } 709 }
679 710
680 #loader.red .circle.red .mask.second .mover { 711 #loader.red .circle.red .mask.second .mover {
681 background-color: rgb(250,36,36); 712 background-color: rgb(250,36,36);
682 } 713 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698