File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- /* Reset CSS */
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
3+ * found in the LICENSE file. */
4+
5+ /* Resetting default styles for HTML and body */
26html , body {
37 padding : 0 ;
48 margin : 0 ;
59 width : 100% ;
610 height : 100% ;
711}
812
9- /* Common styles for icons */
13+ /* Styling for reusable icon class */
1014.icon {
1115 user-select : none;
1216 display : inline-block;
1317}
1418
15- /* Online icon */
19+ /* Online status icon with responsive image set */
1620.icon-online {
1721 content : -webkit-image-set (
1822 url (assets/default_100_percent/100-error-online.png) 1x ,
@@ -21,12 +25,13 @@ html, body {
2125 position : relative;
2226}
2327
24- /* Hidden class */
28+ /* Utility class to hide elements */
2529.hidden {
2630 display : none;
2731}
2832
29- /* Offline page styles */
33+ /* Styling for the offline page */
34+
3035.offline .interstitial-wrapper {
3136 color : # 6b3b3b ;
3237 font-size : 1.2em ;
@@ -49,6 +54,9 @@ html, body {
4954
5055.offline .runner-canvas {
5156 opacity : 0.9 ;
57+ overflow : hidden;
58+ position : absolute;
59+ top : 0 ;
5260 z-index : 2 ;
5361}
5462
@@ -62,7 +70,7 @@ html, body {
6270 z-index : 1 ;
6371}
6472
65- /* Offline resources */
73+ /* Offline resources display */
6674# offline-resources {
6775 display : block;
6876}
@@ -74,7 +82,7 @@ html, body {
7482 float : left;
7583 }
7684
77- /* Snackbar styles */
85+ /* Snackbar styling for mobile view */
7886 .snackbar {
7987 position : fixed;
8088 left : 0 ;
You can’t perform that action at this time.
0 commit comments