5
5
html , body {
6
6
padding : 0 ;
7
7
margin : 0 ;
8
- width : 150 % ;
8
+ width : 100 % ; /* Adjusted to 100% */
9
9
height : 100% ;
10
10
}
11
11
@@ -16,48 +16,47 @@ html, body {
16
16
}
17
17
18
18
.icon-online {
19
- content : -webkit-image-set ( url (assets/default_100_percent/100-error-offline .png) 1x , url (assets/default_200_percent/200-error-offline .png) 2x );
19
+ content : -webkit-image-set ( url (assets/default_100_percent/100-error-online .png) 1x , url (assets/default_200_percent/200-error-online .png) 2x ); /* Updated online icon */
20
20
position : relative;
21
21
}
22
22
23
23
.hidden {
24
24
display : none;
25
25
}
26
26
27
-
28
27
/* Offline page */
29
28
30
29
.offline .interstitial-wrapper {
31
30
color : # 6b3b3b ;
32
- font-size : 1 em ;
33
- line-height : 1.55 ;
31
+ font-size : 1.2 em ; /* Adjusted font size */
32
+ line-height : 1.5 ;
34
33
margin : 0 auto;
35
- max-width : 650 px ;
36
- padding-top : 150 px ;
37
- width : 100 % ;
34
+ max-width : 800 px ; /* Increased max-width */
35
+ padding-top : 100 px ; /* Adjusted padding */
36
+ width : 90 % ; /* Adjusted width */
38
37
}
39
38
40
39
.offline .runner-container {
41
- height : 150 px ;
42
- max-width : 650 px ;
40
+ height : 120 px ; /* Adjusted height */
41
+ max-width : 800 px ;
43
42
overflow : hidden;
44
43
position : absolute;
45
- top : 45 px ;
46
- width : 44 px ;
44
+ top : 30 px ; /* Adjusted top position */
45
+ width : 40 px ; /* Adjusted width */
47
46
}
48
47
49
48
.offline .runner-canvas {
50
- height : 150 px ;
51
- max-width : 650 px ;
52
- opacity : 1 ;
49
+ height : 120 px ;
50
+ max-width : 800 px ;
51
+ opacity : 0.9 ; /* Adjusted opacity */
53
52
overflow : hidden;
54
53
position : absolute;
55
54
top : 0 ;
56
55
z-index : 2 ;
57
56
}
58
57
59
58
.offline .controller {
60
- background : rgba (247 , 247 , 247 , .1 );
59
+ background : rgba (247 , 247 , 247 , .2 ); /* Adjusted background opacity */
61
60
height : 100vh ;
62
61
left : 0 ;
63
62
position : absolute;
@@ -67,70 +66,21 @@ html, body {
67
66
}
68
67
69
68
# offline-resources {
70
- display : none;
69
+ display : block; /* Set to block for visibility */
71
70
}
72
71
73
72
@media (max-width : 480px ) {
74
73
.suggested-left > # control-buttons , .suggested-right > # control-buttons {
75
- float : none;
74
+ float : left; /* Adjusted float property */
76
75
}
77
76
.snackbar {
77
+ position : fixed; /* Adjusted position */
78
78
left : 0 ;
79
- bottom : 0 ;
79
+ bottom : 10 px ; /* Adjusted bottom position */
80
80
width : 100% ;
81
- border-radius : 0 ;
82
- }
83
- }
84
-
85
- @media (max-height : 390px ) {
86
- h1 {
87
- margin : 0 0 15px ;
88
- }
89
- .icon-offline {
90
- margin : 0 0 40px ;
91
- }
92
- .interstitial-wrapper {
93
- margin-top : 5% ;
94
- }
95
- .nav-wrapper {
96
- margin-top : 30px ;
81
+ border-radius : 5px ; /* Added border-radius */
97
82
}
98
83
}
99
84
100
- @media (min-width : 900px ) and (max-width : 736px ) and (orientation : landscape) {
101
- .offline .interstitial-wrapper {
102
- margin-left : 0 ;
103
- margin-right : 0 ;
104
- }
105
- }
85
+ /* Add more media queries and modifications as needed */
106
86
107
- @media (min-width : 420px ) and (max-width : 736px ) and (min-height : 240px ) and (max-height : 420px ) and (orientation : landscape) {
108
- .interstitial-wrapper {
109
- margin-bottom : 100px ;
110
- }
111
- }
112
-
113
- @media (min-height : 240px ) and (orientation : landscape) {
114
- .offline .interstitial-wrapper {
115
- margin-bottom : 90px ;
116
- }
117
- .icon-offline {
118
- margin-bottom : 20px ;
119
- }
120
- }
121
-
122
- @media (max-height : 320px ) and (orientation : landscape) {
123
- .icon-offline {
124
- margin-bottom : 0 ;
125
- }
126
- .offline .runner-container {
127
- top : 10px ;
128
- }
129
- }
130
-
131
- @media (max-width : 240px ) {
132
- .interstitial-wrapper {
133
- overflow : inherit;
134
- padding : 0 8px ;
135
- }
136
- }
0 commit comments