-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
189 lines (185 loc) · 4.22 KB
/
style.css
File metadata and controls
189 lines (185 loc) · 4.22 KB
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
:root{
--green1:#feffde;
--green2:#ddffbc;
--green3:#91c788;
--green4:#52734d;
}
.light{
--backg:var(--green1);
--form-bg:var(--green3);
--inp-bg:var(--green2);
--head-bg:var(--green4);
--text:var(--green4);
}
.dark{
--backg:#000;
--form-bg:rgb(1, 8, 34);
--inp-bg:rgb(55, 1, 46);
--head-bg:rgba(9, 61, 129, 0.664);
--text:antiquewhite;
}
*{
margin: 0;
padding: 0;
}
@font-face{
src: url(https://fonts.frzdb.net/Posterama-Bold.ttf);
font-weight: normal;
font-family: 'brizzler';
}
@font-face{
src: url('DINPro-CondBold.woff');
font-family: 'knul';
}
body{
transition: background 0.5s ease-in-out,color 1s ease-in-out;
background: var(--backg);
height: 100vh;
display: flex;
/* flex-direction: column; */
justify-content: space-evenly;
align-items: center;
}
.card-finder{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/**************** Form Section ******************************/
.form{
background: var(--form-bg);
padding: 20px;
display: flex;
flex-direction: column;
border-radius: 20px;
animation: name duration timing-function delay iteration-count direction fill-mode;
}
#head-title{
margin: auto;
margin-bottom: 10px;
width: 150px;
background: var(--head-bg);
text-align: center;
border-radius: 10px;
font-family: 'knul';
box-shadow: 0 0 10px 0px rgba(9, 61, 129, 0.664);
transition: 0.5s;
color: antiquewhite;
}
#player-name{
color: red;
margin: auto;
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-style: italic;
margin-bottom: 10px;
}
#head-title:hover{
color: palegoldenrod;
box-shadow: 0 0 50px 0px rgba(9, 61, 129, 0.664);
transition: 0.5s;
}
input,select{
background: var(--inp-bg);
font-size: 20px;
width: 200px;
padding: 10px 30px;
border: 2px solid red;
color: var(--text);
outline: none;
border-radius: 40px;
margin-bottom: 5px;
transition: 0.5s;
text-transform: uppercase;
}
input:focus{
border: 2px solid rgb(12, 209, 5);
transition: 0.5s;
}
input[type="button"]{
border: 0px solid orangered;
box-shadow: 0px 0px 0px 0px orangered,
4px 4px 1px 0px orangered;
margin: auto;
transition: 0.5s;
}
input[type="reset"]{
padding: none;
border: 0px solid orangered;
box-shadow: 3px 3px 0px 0px orangered;
margin: 5px auto 0px auto;
}
input[type="button"]:hover,input[type="reset"]:hover{
box-shadow: 0 0 30px orangered;
transform: translate(3px,3px);
transition: 0.5s;
background: palegoldenrod;
color: rgb(55, 1, 46);
}
input[type="button"]:active,input[type="reset"]:active{
background: red;
color: azure;
transition: all 0.5s;
}
/**************** Container Section ******************************/
#container{
transform: translateY(0%);
z-index: -1;
width: 256px;
height: 256px;
/* background: rgb(24, 4, 97); */
/* border: darkturquoise 2px solid; */
overflow: hidden;
}
.lodaer{
z-index: 3;
top: 25%;
left: 31%;
transform: translate(0%,-50%);
display: block;
width: 100px;
height: 100px;
box-sizing: border-box;
position: absolute;
background: var(--backg);
border: 15px solid #45474b;
border-top-color: steelblue;
border-radius: 50%;
animation: anim 1s infinite linear;
}
#container img{
position: relative;
overflow: hidden;
}
@keyframes anim{
0%{
transform: rotate(0deg);
}
100%{
transform: rotate(360deg);
}
}
#switcher{
position: absolute;
top: 0;
padding: 10px 5px;
background: var(--head-bg);
border: none;
outline: none;
box-shadow: 3px 3px 0px #03e4ff;
font-size: 18px;
}
#setter{
margin-top: 40px;
font-size: 30px;
color: whitesmoke;
letter-spacing: 1px;
font-family: 'brizzler';
text-align: center;
text-transform: uppercase;
}
@media screen and (max-width:480px){
body{
flex-direction: column;
}
}