db69 commited on
Commit
edc3ad2
·
verified ·
1 Parent(s): 503d057

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +7 -6
index.html CHANGED
@@ -24,10 +24,10 @@
24
 
25
  #ui-overlay {
26
  position: fixed;
27
- top: 1;
28
- left: 0;
29
- width: 100%;
30
- height: 100%;
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: center;
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;