blob: df7d32b029d9237a98dc7dde70095d860b342134 (
plain) (
blame)
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
69
70
71
72
|
/* ########################
Texx-Web
Texx
by Marvin Borner
& Marco Alexander Fischer
######################### */
html, body {
height: 100%;
}
body {
background-color: #282828;
font-family: 'Mukta', sans-serif;
color: white;
display: grid;
flex-direction: column;
justify-content: center;
align-items: center;
}
.typewriter h1 {
overflow: hidden;
border-right: .15em solid white;
white-space: nowrap;
margin: 0 auto;
letter-spacing: .15em;
animation:
typing 1s steps(40, end),
blink-caret .75s step-end infinite;
}
.heading {
margin-top: 50vh;
animation-name: middle-to-top;
animation-delay: 1.5s;
animation-duration: .5s;
animation-fill-mode: forwards;
}
.loginform-box {
text-align: center;
background: white;
width: 300px;
height: 300px;
border-radius: 20px;
padding: 10px;
border: gray 4px solid;
}
.graytext {
color: #282828;
}
@keyframes middle-to-top {
from {
margin-top: 50vh;
}
to {
margin-top: 20px;
}
}
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: white; }
}
|