-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
216 lines (191 loc) · 3.91 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
@import url("https://fonts.cdnfonts.com/css/valorant");
@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;700&display=swap");
body {
margin: 0;
overflow: hidden;
border: 5px solid #ff4654;
background-color: #0f1923;
color: #0f1923;
font: 400 18px/22px "Rajdhani", sans-serif;
}
.card {
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: center;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
margin: 0;
padding: 20px;
width: 75%;
max-width: 280px;
height: 380px;
background-color: white;
border-radius: 5px;
box-shadow: 0 20px 25px -5px rgb(255 0 0 / 0.2),
0 8px 10px -6px rgb(255 0 0 / 0.2);
}
.card svg {
top: 50%;
left: 50%;
width: 90%;
height: 90%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
position: absolute;
z-index: -1;
opacity: 0.1;
}
.text-board {
text-align: center;
font-size: 25px;
color: #ff4654;
font-family: "VALORANT", sans-serif;
}
.age-results {
height: 60px;
display: flex;
justify-content: center;
align-items: center;
font-size: 50px;
}
label {
font-weight: 700;
text-transform: uppercase;
align-self: start;
letter-spacing: 1px;
color: #0f1923;
padding-left: 3px;
}
input {
width: 90%;
height: 40px;
margin-bottom: 30px;
padding: 0 8px;
font: 400 18px "Rajdhani", sans-serif;
background: transparent;
border: none;
border: 1px solid #0f1923;
border-radius: 2px;
}
.btn {
/* Clean style */
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
border: none;
background: none;
padding: 0;
color: var(--button-text-color);
cursor: pointer;
/* Clean style */
--button-text-color: var(--background-color);
--button-text-color-hover: var(--button-background-color);
--border-color: #7d8082;
--button-background-color: #ece8e1;
--highlight-color: #ff4655;
--button-inner-border-color: transparent;
--button-bits-color: var(--background-color);
--button-bits-color-hover: var(--button-background-color);
position: relative;
padding: 8px;
margin-bottom: 20px;
text-transform: uppercase;
font-weight: bold;
font-size: 14px;
transition: all 0.15s ease;
-webkit-transform: scale(0.9);
-moz-transform: scale(0.9);
-ms-transform: scale(0.9);
-o-transform: scale(0.9);
transform: scale(0.9);
}
.btn::before,
.btn::after {
content: "";
display: block;
position: absolute;
right: 0;
left: 0;
height: calc(50% - 5px);
border: 1px solid var(--border-color);
transition: all 0.15s ease;
}
.btn::before {
top: 0;
border-bottom-width: 0;
}
.btn::after {
bottom: 0;
border-top-width: 0;
}
.btn:active,
.btn:focus {
outline: none;
}
.btn:active::before,
.btn:active::after {
right: 3px;
left: 3px;
}
.btn:active::before {
top: 3px;
}
.btn:active::after {
bottom: 3px;
}
.btn__inner {
position: relative;
display: block;
padding: 20px 30px;
background-color: var(--button-background-color);
overflow: hidden;
box-shadow: inset 0px 0px 0px 1px var(--button-inner-border-color);
}
.btn__inner::before {
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
width: 2px;
height: 2px;
background-color: var(--button-bits-color);
}
.btn__inner::after {
content: "";
display: block;
position: absolute;
right: 0;
bottom: 0;
width: 4px;
height: 4px;
background-color: var(--button-bits-color);
transition: all 0.2s ease;
}
.btn__slide {
display: block;
position: absolute;
top: 0;
bottom: -1px;
left: -8px;
width: 0;
background-color: var(--highlight-color);
transform: skew(-15deg);
transition: all 0.2s ease;
}
.btn__content {
position: relative;
}
.btn:hover {
color: var(--button-text-color-hover);
}
.btn:hover .btn__slide {
width: calc(100% + 15px);
}
.btn:hover .btn__inner::after {
background-color: var(--button-bits-color-hover);
}