Skip to content

Commit f977830

Browse files
Merge pull request #74 from The-User-Python/The-User-Python-patch-4
Update index.css
2 parents fd3b5d7 + 9b3a1d4 commit f977830

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

index.css

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

1212
.icon {
13-
-webkit-user-select: none;
1413
user-select: none;
1514
display: inline-block;
1615
}
1716

1817
.icon-online {
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 */
18+
content: -webkit-image-set(
19+
url(assets/default_100_percent/100-error-online.png) 1x,
20+
url(assets/default_200_percent/200-error-online.png) 2x
21+
);
2022
position: relative;
2123
}
2224

@@ -28,35 +30,35 @@ html, body {
2830

2931
.offline .interstitial-wrapper {
3032
color: #6b3b3b;
31-
font-size: 1.2em; /* Adjusted font size */
33+
font-size: 1.2em;
3234
line-height: 1.5;
3335
margin: 0 auto;
34-
max-width: 800px; /* Increased max-width */
35-
padding-top: 100px; /* Adjusted padding */
36-
width: 90%; /* Adjusted width */
36+
max-width: 800px;
37+
padding-top: 100px;
38+
width: 90%;
3739
}
3840

3941
.offline .runner-container {
40-
height: 120px; /* Adjusted height */
42+
height: 120px;
4143
max-width: 800px;
4244
overflow: hidden;
4345
position: absolute;
44-
top: 30px; /* Adjusted top position */
45-
width: 40px; /* Adjusted width */
46+
top: 30px;
47+
width: 40px;
4648
}
4749

4850
.offline .runner-canvas {
4951
height: 120px;
5052
max-width: 800px;
51-
opacity: 0.9; /* Adjusted opacity */
53+
opacity: 0.9;
5254
overflow: hidden;
5355
position: absolute;
5456
top: 0;
5557
z-index: 2;
5658
}
5759

5860
.offline .controller {
59-
background: rgba(247, 247, 247, .2); /* Adjusted background opacity */
61+
background: rgba(247, 247, 247, 0.2);
6062
height: 100vh;
6163
left: 0;
6264
position: absolute;
@@ -66,21 +68,21 @@ html, body {
6668
}
6769

6870
#offline-resources {
69-
display: block; /* Set to block for visibility */
71+
display: block;
7072
}
7173

7274
@media (max-width: 480px) {
7375
.suggested-left > #control-buttons, .suggested-right > #control-buttons {
74-
float: left; /* Adjusted float property */
76+
float: left;
7577
}
78+
7679
.snackbar {
77-
position: fixed; /* Adjusted position */
80+
position: fixed;
7881
left: 0;
79-
bottom: 10px; /* Adjusted bottom position */
82+
bottom: 10px;
8083
width: 100%;
81-
border-radius: 5px; /* Added border-radius */
84+
border-radius: 5px;
8285
}
8386
}
8487

8588
/* Add more media queries and modifications as needed */
86-

0 commit comments

Comments
 (0)