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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 td, | 71 td, |
72 th { | 72 th { |
73 padding: 0.5rem; | 73 padding: 0.5rem; |
74 } | 74 } |
75 | 75 |
76 /* Base typography. */ | 76 /* Base typography. */ |
77 | 77 |
78 html { | 78 html { |
79 font-size: 14px; | 79 font-size: 14px; |
80 height: 100%; | 80 } |
| 81 |
| 82 @media screen { |
| 83 html { |
| 84 height: 100%; |
| 85 } |
81 } | 86 } |
82 | 87 |
83 body { | 88 body { |
84 height: 100%; | 89 height: 100%; |
85 line-height: 1.714; | 90 line-height: 1.714; |
86 margin: 0px auto; | 91 margin: 0px auto; |
87 text-rendering: optimizeLegibility; | 92 text-rendering: optimizeLegibility; |
88 transition-property: color, background-color; | 93 transition-property: color, background-color; |
89 transition-duration: 0.5s; | 94 transition-duration: 0.5s; |
90 transition-timing-function: ease; | 95 transition-timing-function: ease; |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 text-align: right; | 257 text-align: right; |
253 text-decoration: none; | 258 text-decoration: none; |
254 text-transform: uppercase; | 259 text-transform: uppercase; |
255 width: 100%; | 260 width: 100%; |
256 } | 261 } |
257 | 262 |
258 @media print { | 263 @media print { |
259 #closeReaderView { | 264 #closeReaderView { |
260 display: none; | 265 display: none; |
261 } | 266 } |
| 267 #feedbackContainer { |
| 268 display: none; |
| 269 } |
262 | 270 |
263 /* Remove backgrounds and custom colors. */ | 271 /* Remove backgrounds and custom colors. */ |
264 .light, .dark, .sepia { | 272 .light, .dark, .sepia { |
265 color: #000 !important; | 273 color: #000 !important; |
266 background-color: #fff !important; | 274 background-color: #fff !important; |
267 } | 275 } |
268 | 276 |
269 /* If the transition duration is unchanged, the above color changes | 277 /* If the transition duration is unchanged, the above color changes |
270 happen after the document is ready for print. */ | 278 happen after the document is ready for print. */ |
271 body { | 279 body { |
272 transition-duration: unset !important; | 280 transition-duration: unset !important; |
273 } | 281 } |
274 } | 282 } |
275 | 283 |
276 #content { | 284 #content { |
277 margin: 24px 16px 24px 16px; | 285 margin: 24px 16px 24px 16px; |
278 } | 286 } |
279 | 287 |
280 #mainContent { | 288 #mainContent { |
281 flex: 1 1 auto; | 289 flex: 1 1 auto; |
282 margin: 0px auto; | 290 margin: 0px auto; |
283 max-width: 35em; | |
284 width: 100%; | 291 width: 100%; |
285 } | 292 } |
286 | 293 |
| 294 @media screen { |
| 295 #mainContent { |
| 296 max-width: 35em; |
| 297 } |
| 298 } |
| 299 |
287 #articleHeader { | 300 #articleHeader { |
288 margin-top: 24px; | 301 margin-top: 24px; |
289 width: 100%; | 302 width: 100%; |
290 } | 303 } |
291 | 304 |
292 #titleHolder { | 305 #titleHolder { |
293 font-size: 1.714rem; | 306 font-size: 1.714rem; |
294 line-height: 1.417; | 307 line-height: 1.417; |
295 margin: 0 16px; | 308 margin: 0 16px; |
296 } | 309 } |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 pre code { | 375 pre code { |
363 border: none; | 376 border: none; |
364 } | 377 } |
365 | 378 |
366 pre { | 379 pre { |
367 line-height: 1.642; | 380 line-height: 1.642; |
368 padding: .5em; | 381 padding: .5em; |
369 white-space: pre-wrap; | 382 white-space: pre-wrap; |
370 } | 383 } |
371 | 384 |
372 .hidden { | 385 body .hidden { |
373 display: none; | 386 display: none; |
374 } | 387 } |
375 | 388 |
376 /* Footer feedback form. */ | 389 /* Footer feedback form. */ |
377 #contentWrap { | 390 #contentWrap { |
378 display: flex; | 391 display: flex; |
379 flex-flow: column; | 392 flex-flow: column; |
380 min-height: 100%; | 393 min-height: 100%; |
381 overflow: auto; | 394 overflow: auto; |
382 position: relative; | 395 position: relative; |
383 z-index: 1; | 396 z-index: 1; |
384 } | 397 } |
385 | 398 |
386 #feedbackContainer { | 399 .footerFeedback { |
| 400 display: flex; |
| 401 flex-flow: column; |
387 font-size: 14px; | 402 font-size: 14px; |
388 position: relative; | |
389 z-index: 2; | 403 z-index: 2; |
390 } | |
391 | |
392 .footerFeedback { | |
393 background-color: #4285F4; | 404 background-color: #4285F4; |
394 clear: both; | |
395 color: #fff; | 405 color: #fff; |
396 display: none; | |
397 height: 120px; | 406 height: 120px; |
398 margin-top: -120px; | |
399 width: 100%; | 407 width: 100%; |
400 } | 408 } |
401 | 409 |
402 .feedbackContent { | 410 .feedbackContent { |
403 font-size: 14px; | 411 font-size: 14px; |
404 background-color: #4285F4; | 412 background-color: #4285F4; |
405 clear: both; | 413 clear: both; |
406 padding: 14px; | 414 padding: 14px; |
407 } | 415 } |
408 | 416 |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
872 border-color: rgb(250,36,36); | 880 border-color: rgb(250,36,36); |
873 } | 881 } |
874 | 882 |
875 #loader.red .circle.red .mask.first .mover { | 883 #loader.red .circle.red .mask.first .mover { |
876 background-color: rgb(33,89,189); | 884 background-color: rgb(33,89,189); |
877 } | 885 } |
878 | 886 |
879 #loader.red .circle.red .mask.second .mover { | 887 #loader.red .circle.red .mask.second .mover { |
880 background-color: rgb(250,36,36); | 888 background-color: rgb(250,36,36); |
881 } | 889 } |
OLD | NEW |