-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
53 lines (45 loc) · 937 Bytes
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
body {
background-color: #000;
color: #00FF00;
font-family: 'Courier New', Courier, monospace;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
text-align: center;
}
h1 {
margin-bottom: 20px;
font-size: 3em;
border-right: 0.15em solid #00FF00;
white-space: nowrap;
overflow: hidden;
animation: typing 4s steps(20, end), blink-caret 0.75s step-end infinite;
}
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: #00FF00 }
}
nav ul {
list-style-type: none;
padding: 0;
}
nav li {
margin: 10px 0;
}
nav a {
color: #00FF00;
text-decoration: none;
font-size: 1.5em;
transition: color 0.3s ease;
}
nav a:hover {
color: #00cc00;
}