Update index.html
Browse files- index.html +15 -6
index.html
CHANGED
|
@@ -24,20 +24,29 @@
|
|
| 24 |
|
| 25 |
#ui-overlay {
|
| 26 |
position: fixed;
|
| 27 |
-
top: 0;
|
| 28 |
-
left:
|
| 29 |
-
|
| 30 |
-
width: auto; /* Adjust width as needed */
|
| 31 |
pointer-events: none;
|
| 32 |
z-index: 100;
|
| 33 |
color: white;
|
| 34 |
-
padding:
|
| 35 |
box-sizing: border-box;
|
| 36 |
display: flex;
|
| 37 |
flex-direction: column;
|
| 38 |
align-items: center; /* Center items horizontally */
|
| 39 |
-
justify-content: flex-start;
|
|
|
|
| 40 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
|
| 43 |
.title {
|
|
|
|
| 24 |
|
| 25 |
#ui-overlay {
|
| 26 |
position: fixed;
|
| 27 |
+
top: 0;
|
| 28 |
+
left: 0;
|
| 29 |
+
width: 100%; /* Take full width of the screen */
|
|
|
|
| 30 |
pointer-events: none;
|
| 31 |
z-index: 100;
|
| 32 |
color: white;
|
| 33 |
+
padding: 1rem;
|
| 34 |
box-sizing: border-box;
|
| 35 |
display: flex;
|
| 36 |
flex-direction: column;
|
| 37 |
align-items: center; /* Center items horizontally */
|
| 38 |
+
justify-content: flex-start;
|
| 39 |
+
text-align: center; /* For better alignment on mobile */
|
| 40 |
}
|
| 41 |
+
|
| 42 |
+
/* Optional: make text size and padding adjust on smaller screens */
|
| 43 |
+
@media (max-width: 600px) {
|
| 44 |
+
#ui-overlay {
|
| 45 |
+
padding: 0.5rem;
|
| 46 |
+
font-size: 0.9rem;
|
| 47 |
+
}
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
|
| 51 |
|
| 52 |
.title {
|