-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
160 lines (140 loc) · 2.08 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
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
153
154
155
156
157
158
159
160
html{
background: #212121;
}
body{
font-family: 'Source Code Pro', monospace;
background: #212121;
color: #52575d;
}
.logout{
float:right;
/* margin-bottom:20px; */
}
a{
color: #52575d;
}
.yellow{
color: #ffd369;
}
.correct{
color: #29bb89;
}
.wrong{
color: #e84545;
text-decoration: underline;
}
.current{
color: #eeeeee;
}
.center{
text-align: center;
}
.if{
display: inline-flex;
}
.main-layout{
display:flex;
}
.box {
max-width: 900px;
padding: 0 30px;
}
#heading{
align-self: left;
margin-top: 50px;
font-size: 1.75rem;
font-family: 'Montserrat', sans-serif;
font-weight: 500;
}
.limits-box{
text-align: right;
margin: 50px 20px 0 0 ;
font-size: 15px;
}
.stats{
margin: 10px auto 20px auto;
}
.details{
font-size: 6rem;
}
.stat-block{
padding: 0 30px;
min-width: 250px;
}
@media(max-width: 600px){
.details{
font-size: 5rem;
}
.stat-block{
min-width: 0;
}
}
.stat-name{
font-size: 1rem;
position: relative;
top: 45px;
right: 5px;
}
.text-display{
margin: 0 0 22px 0;
font-size: 21px;
text-align: left;
min-height: 200px;
}
input:focus, textarea:focus, select:focus, a:focus{
outline: 0 ;
}
a:focus,a:hover{
color: #ffd369;
text-decoration: none;
}
footer{
padding: 20px;
font-size: 15px;
}
.restart-button{
padding: 10px;
}
textarea{
background: #212121;
border: solid, #52575d;
border-width: 2px;
border-radius: 10px;
color: #eeeeee;
padding: 10px;
font-size: 1.2rem;
resize: none;
text-align: center;
margin-bottom: 15px;
}
/* Loading animation */
#loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 9999;
display: none;
}
.loader {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border: 4px solid #f3f3f3;
border-top: 4px solid #3498db;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}