Skip to content

Commit fd3b5d7

Browse files
Merge pull request #73 from The-User-Python/The-User-Python-patch-3
Update index.css
2 parents 237d5bc + 472bbe9 commit fd3b5d7

File tree

1 file changed

+21
-71
lines changed

1 file changed

+21
-71
lines changed

index.css

Lines changed: 21 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
html, body {
66
padding: 0;
77
margin: 0;
8-
width: 150%;
8+
width: 100%; /* Adjusted to 100% */
99
height: 100%;
1010
}
1111

@@ -16,48 +16,47 @@ html, body {
1616
}
1717

1818
.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 */
2020
position: relative;
2121
}
2222

2323
.hidden {
2424
display: none;
2525
}
2626

27-
2827
/* Offline page */
2928

3029
.offline .interstitial-wrapper {
3130
color: #6b3b3b;
32-
font-size: 1em;
33-
line-height: 1.55;
31+
font-size: 1.2em; /* Adjusted font size */
32+
line-height: 1.5;
3433
margin: 0 auto;
35-
max-width: 650px;
36-
padding-top: 150px;
37-
width: 100%;
34+
max-width: 800px; /* Increased max-width */
35+
padding-top: 100px; /* Adjusted padding */
36+
width: 90%; /* Adjusted width */
3837
}
3938

4039
.offline .runner-container {
41-
height: 150px;
42-
max-width: 650px;
40+
height: 120px; /* Adjusted height */
41+
max-width: 800px;
4342
overflow: hidden;
4443
position: absolute;
45-
top: 45px;
46-
width: 44px;
44+
top: 30px; /* Adjusted top position */
45+
width: 40px; /* Adjusted width */
4746
}
4847

4948
.offline .runner-canvas {
50-
height: 150px;
51-
max-width: 650px;
52-
opacity: 1;
49+
height: 120px;
50+
max-width: 800px;
51+
opacity: 0.9; /* Adjusted opacity */
5352
overflow: hidden;
5453
position: absolute;
5554
top: 0;
5655
z-index: 2;
5756
}
5857

5958
.offline .controller {
60-
background: rgba(247, 247, 247, .1);
59+
background: rgba(247, 247, 247, .2); /* Adjusted background opacity */
6160
height: 100vh;
6261
left: 0;
6362
position: absolute;
@@ -67,70 +66,21 @@ html, body {
6766
}
6867

6968
#offline-resources {
70-
display: none;
69+
display: block; /* Set to block for visibility */
7170
}
7271

7372
@media (max-width: 480px) {
7473
.suggested-left > #control-buttons, .suggested-right > #control-buttons {
75-
float: none;
74+
float: left; /* Adjusted float property */
7675
}
7776
.snackbar {
77+
position: fixed; /* Adjusted position */
7878
left: 0;
79-
bottom: 0;
79+
bottom: 10px; /* Adjusted bottom position */
8080
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 */
9782
}
9883
}
9984

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 */
10686

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

Comments
 (0)