-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
68 lines (55 loc) · 1.27 KB
/
styles.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
body {
margin: 0 auto;
max-width: 50em;
font-family: 'Courier New', monospace;
line-height: 1.5;
padding: 4em 1em;
color: rgb(180, 180, 180);
background-color: rgb(52, 52, 52);
/* display: flex; */
justify-content: center;
}
h2 {
margin-top: 1em;
padding-top: 1em;
}
a {
color: rgb(180, 180, 180);
}
h1,
h2,
strong {
color: rgb(180, 180, 180);
}
.terminalJ {
display: inline-flex;
margin: 0 auto;
justify-content: center;
}
.termscript {
margin: 0 auto;
}
div.typewriter {
display: inline-flex;
}
.typewriter h1 {
overflow: hidden; /* Ensures the content is not revealed until the animation */
border-right: .15em solid orange; /* The typwriter cursor */
white-space: nowrap; /* Keeps the content on a single line */
/* margin: 0 auto; */
/* Gives that scrolling effect as the typing happens */
letter-spacing: .15em; /* Adjust as needed */
animation:
typing 3.5s steps(35, end),
blink-caret .75s step-end infinite;
}
/* The typing effect */
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
/* The typewriter cursor effect */
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: orange; }
}