-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
152 lines (123 loc) · 2.64 KB
/
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
color: white;
background: linear-gradient(90deg, rgb(32, 38, 57) 11.4%, rgb(63, 76, 119) 70.2%);
display: flex;
flex-direction: column;
justify-items: center;
align-items: center;
width: 100vw;
overflow-x: hidden;
}
.header{
width: fit-content;
margin: auto;
}
.header .title{
display: grid;
grid-template-columns: 1fr 5fr;
max-width: 85vw;
align-items: center;
}
.header h1{
text-size-adjust: auto;
}
.header h1#serv-ip{
width: 0%;
color: orange;
font-size: 3rem;
margin-left: .3rem;
width: fit-content;
/* text-shadow: 1px 1px 13px orange; */
}
.header #status{
font-size: 1.5rem;
font-weight: bold;
text-transform: uppercase;
text-align: center;
}
.header #status span{
color: green;
}
.header #status.down span{
font-size: 1.5rem;
font-weight: bold;
color: red;
}
.section-player-list{
width: 90%;
}
.player-list{
display: flex;
flex-direction: column;
justify-items: center;
align-items: center;
gap: 2rem;
}
.player{
display: flex;
justify-content: space-around;
justify-items: center;
align-items: center;
width: 80%;
border-radius: 1rem;
background-color: rgba(0,0,0,0.2);
padding: 1rem;
}
.player img{
max-height: 10vh;
}
.player p{
font-weight: bold;
font-size: 1.5rem;
}
.serv-icon{
position: absolute;
top: 0px;
left: 0px;
}
.serv-icon img{
border-radius: 0 0 1rem 0;
}
.type-writer{
overflow: hidden; /* Ensures the content is not revealed until the animation */
border-right: .1em solid orange; /* The typwriter cursor */
white-space: nowrap; /* Keeps the content on a single line */
letter-spacing: .1em;
animation:
typing 3.5s steps(33, end),
blink-caret .75s 3.5s step-end infinite;
}
.error-list{
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-items: center;
margin-top: 3rem;
}
.error{
background-color: darkred;
border-radius: 2rem;
padding-left: 1rem;
padding-right: 1rem;
}
#submit{
padding: .5rem;
border-radius: 1rem;
border: none;
}
input{
margin-left: 1rem;
}
/* The typing effect */
@keyframes typing {
from { width: 0 }
to { width: 100%; max-width: fit-content; }
}
/* The typewriter cursor effect */
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: orange; }
}