OLD | NEW |
1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2013 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 /* Don't use the main frame div when the error is in a subframe. */ | 5 /* Don't use the main frame div when the error is in a subframe. */ |
6 html[subframe] #main-frame-error { | 6 html[subframe] #main-frame-error { |
7 display: none; | 7 display: none; |
8 } | 8 } |
9 | 9 |
10 /* Don't use the subframe error div when the error is in a main frame. */ | 10 /* Don't use the subframe error div when the error is in a main frame. */ |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 | 455 |
456 .interstitial-wrapper { | 456 .interstitial-wrapper { |
457 margin-top: 5%; | 457 margin-top: 5%; |
458 } | 458 } |
459 | 459 |
460 .nav-wrapper { | 460 .nav-wrapper { |
461 margin-top: 30px; | 461 margin-top: 30px; |
462 } | 462 } |
463 } | 463 } |
464 | 464 |
465 @media (min-width: 600px) and (max-width: 736px) and (orientation: landscape) { | |
466 .offline .interstitial-wrapper { | |
467 margin-left: 0; | |
468 margin-right: 0; | |
469 } | |
470 } | |
471 | |
472 @media (min-width: 420px) and (max-width: 736px) and | 465 @media (min-width: 420px) and (max-width: 736px) and |
473 (min-height: 240px) and (max-height: 420px) and | 466 (min-height: 240px) and (max-height: 420px) and |
474 (orientation:landscape) { | 467 (orientation:landscape) { |
475 .interstitial-wrapper { | 468 .interstitial-wrapper { |
476 margin-bottom: 100px; | 469 margin-bottom: 100px; |
477 } | 470 } |
478 } | 471 } |
479 | 472 |
480 @media (min-height: 240px) and (orientation: landscape) { | 473 @media (min-height: 240px) and (orientation: landscape) { |
481 .offline .interstitial-wrapper { | 474 .offline .interstitial-wrapper { |
(...skipping 25 matching lines...) Expand all Loading... |
507 overflow: inherit; | 500 overflow: inherit; |
508 padding: 0 8px; | 501 padding: 0 8px; |
509 } | 502 } |
510 } | 503 } |
511 | 504 |
512 @media (max-width: 120px) { | 505 @media (max-width: 120px) { |
513 button { | 506 button { |
514 width: auto; | 507 width: auto; |
515 } | 508 } |
516 } | 509 } |
| 510 |
| 511 .arcade-mode, |
| 512 .arcade-mode .runner-container, |
| 513 .arcade-mode .runner-canvas { |
| 514 max-width: 100%; |
| 515 overflow: hidden; |
| 516 } |
| 517 |
| 518 .arcade-mode #buttons, |
| 519 .arcade-mode #main-content { |
| 520 opacity: 0; |
| 521 overflow: hidden; |
| 522 } |
| 523 |
| 524 .arcade-mode .interstitial-wrapper { |
| 525 height: 100vh; |
| 526 max-width: 100%; |
| 527 overflow: hidden; |
| 528 } |
| 529 |
| 530 .arcade-mode .runner-container { |
| 531 left: 0; |
| 532 margin: auto; |
| 533 right: 0; |
| 534 top: 0; |
| 535 transform-origin: top center; |
| 536 transition: transform 250ms cubic-bezier(0.4, 0.0, 1, 1) .4s; |
| 537 z-index: 2; |
| 538 } |
OLD | NEW |