Update index.html
Browse files- index.html +7 -6
index.html
CHANGED
|
@@ -24,10 +24,10 @@
|
|
| 24 |
|
| 25 |
#ui-overlay {
|
| 26 |
position: fixed;
|
| 27 |
-
top:
|
| 28 |
-
left:
|
| 29 |
-
|
| 30 |
-
|
| 31 |
pointer-events: none;
|
| 32 |
z-index: 100;
|
| 33 |
color: white;
|
|
@@ -35,9 +35,10 @@
|
|
| 35 |
box-sizing: border-box;
|
| 36 |
display: flex;
|
| 37 |
flex-direction: column;
|
| 38 |
-
align-items: center;
|
| 39 |
-
justify-content:
|
| 40 |
}
|
|
|
|
| 41 |
|
| 42 |
.title {
|
| 43 |
font-size: 2.5rem;
|
|
|
|
| 24 |
|
| 25 |
#ui-overlay {
|
| 26 |
position: fixed;
|
| 27 |
+
top: 0; /* Align to top of the page */
|
| 28 |
+
left: 50%; /* Start from horizontal center */
|
| 29 |
+
transform: translateX(-50%); /* Center horizontally */
|
| 30 |
+
width: auto; /* Adjust width as needed */
|
| 31 |
pointer-events: none;
|
| 32 |
z-index: 100;
|
| 33 |
color: white;
|
|
|
|
| 35 |
box-sizing: border-box;
|
| 36 |
display: flex;
|
| 37 |
flex-direction: column;
|
| 38 |
+
align-items: center; /* Center items horizontally */
|
| 39 |
+
justify-content: flex-start; /* Align items to the top */
|
| 40 |
}
|
| 41 |
+
|
| 42 |
|
| 43 |
.title {
|
| 44 |
font-size: 2.5rem;
|