Update style.css
Browse files
style.css
CHANGED
|
@@ -1,26 +1,57 @@
|
|
| 1 |
body {
|
| 2 |
margin: 0;
|
| 3 |
padding: 0;
|
| 4 |
-
background:
|
| 5 |
-
font-family: '
|
| 6 |
color: #fff;
|
| 7 |
text-align: center;
|
| 8 |
height: 100vh;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
display: flex;
|
|
|
|
| 10 |
justify-content: center;
|
| 11 |
align-items: center;
|
|
|
|
| 12 |
}
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
| 22 |
}
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
#starfield {
|
| 25 |
position: fixed;
|
| 26 |
top: 0;
|
|
@@ -36,19 +67,7 @@ h1 {
|
|
| 36 |
}
|
| 37 |
|
| 38 |
|
| 39 |
-
#countdown {
|
| 40 |
-
display: flex;
|
| 41 |
-
justify-content: center;
|
| 42 |
-
gap: 20px;
|
| 43 |
-
font-size: 2.5rem;
|
| 44 |
-
}
|
| 45 |
|
| 46 |
-
#countdown div {
|
| 47 |
-
display: flex;
|
| 48 |
-
flex-direction: column;
|
| 49 |
-
align-items: center;
|
| 50 |
-
animation: pop 1s infinite alternate;
|
| 51 |
-
}
|
| 52 |
|
| 53 |
@keyframes pulse {
|
| 54 |
0% { transform: scale(1); }
|
|
|
|
| 1 |
body {
|
| 2 |
margin: 0;
|
| 3 |
padding: 0;
|
| 4 |
+
background: black;
|
| 5 |
+
font-family: 'IBM Plex Mono', monospace;
|
| 6 |
color: #fff;
|
| 7 |
text-align: center;
|
| 8 |
height: 100vh;
|
| 9 |
+
overflow: hidden;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
.container {
|
| 13 |
+
position: relative;
|
| 14 |
+
z-index: 1;
|
| 15 |
display: flex;
|
| 16 |
+
flex-direction: column;
|
| 17 |
justify-content: center;
|
| 18 |
align-items: center;
|
| 19 |
+
height: 100vh;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
h1 {
|
| 23 |
+
font-size: 2rem;
|
| 24 |
+
margin-bottom: 2vh;
|
| 25 |
+
color: #aaa;
|
| 26 |
+
letter-spacing: 2px;
|
| 27 |
}
|
| 28 |
|
| 29 |
+
#countdown {
|
| 30 |
+
display: flex;
|
| 31 |
+
justify-content: center;
|
| 32 |
+
align-items: center;
|
| 33 |
+
gap: 4vw;
|
| 34 |
+
height: 70vh; /* take 70% of the screen height */
|
| 35 |
}
|
| 36 |
|
| 37 |
+
#countdown div {
|
| 38 |
+
display: flex;
|
| 39 |
+
flex-direction: column;
|
| 40 |
+
align-items: center;
|
| 41 |
+
justify-content: center;
|
| 42 |
+
font-size: 10vw; /* adjusts based on screen width */
|
| 43 |
+
line-height: 1;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
#countdown span:last-child {
|
| 47 |
+
font-size: 1.5vw;
|
| 48 |
+
margin-top: 1vh;
|
| 49 |
+
letter-spacing: 1px;
|
| 50 |
+
text-transform: uppercase;
|
| 51 |
+
color: #ccc;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
|
| 55 |
#starfield {
|
| 56 |
position: fixed;
|
| 57 |
top: 0;
|
|
|
|
| 67 |
}
|
| 68 |
|
| 69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
@keyframes pulse {
|
| 73 |
0% { transform: scale(1); }
|