Index: components/neterror/resources/neterror.css |
diff --git a/components/neterror/resources/neterror.css b/components/neterror/resources/neterror.css |
index 4649cd82bbb7477aa6ca691e0e22171e2d131767..7ead318bc8b8799459f1ecd1ebbac7c454fb99a8 100644 |
--- a/components/neterror/resources/neterror.css |
+++ b/components/neterror/resources/neterror.css |
@@ -462,13 +462,6 @@ html[subframe] body { |
} |
} |
-@media (min-width: 600px) and (max-width: 736px) and (orientation: landscape) { |
- .offline .interstitial-wrapper { |
- margin-left: 0; |
- margin-right: 0; |
- } |
-} |
- |
@media (min-width: 420px) and (max-width: 736px) and |
(min-height: 240px) and (max-height: 420px) and |
(orientation:landscape) { |
@@ -514,3 +507,32 @@ html[subframe] body { |
width: auto; |
} |
} |
+ |
+.arcade-mode, |
+.arcade-mode .runner-container, |
+.arcade-mode .runner-canvas { |
+ max-width: 100%; |
+ overflow: hidden; |
+} |
+ |
+.arcade-mode #buttons, |
+.arcade-mode #main-content { |
+ opacity: 0; |
+ overflow: hidden; |
+} |
+ |
+.arcade-mode .interstitial-wrapper { |
+ height: 100vh; |
+ max-width: 100%; |
+ overflow: hidden; |
+} |
+ |
+.arcade-mode .runner-container { |
+ left: 0; |
+ margin: auto; |
+ right: 0; |
+ top: 0; |
+ transform-origin: top center; |
+ transition: transform 250ms cubic-bezier(0.4, 0.0, 1, 1) .4s; |
+ z-index: 2; |
+} |