-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
201 lines (174 loc) · 3.46 KB
/
main.css
File metadata and controls
201 lines (174 loc) · 3.46 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
190
191
192
193
194
195
196
197
198
199
200
201
@import url('./effects.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
* {
padding: 0;
margin: 0;
font-family: monospace;
box-sizing: border-box;
}
body {
padding: 20px;
background: rgb(20, 20, 20);
}
.center {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
form#userInfo {
position: relative;
flex-direction: column;
max-width: 480px;
width: fit-content;
margin-top: 30px;
padding: 20px;
border-radius: 20px;
background-color: rgb(30, 30, 30);
}
form h1 {
position: absolute;
right: 0; top: -40px;
padding: 20px;
padding-top: 10px;
border-radius: 10px;
text-align: right;
letter-spacing: -4px;
color: whitesmoke;
background-color: rgb(30, 30, 30);
}
form h1 em{
color: rgb(0, 255, 0);
}
span {
position: relative;
display: block;
width: 100%;
}
input, form select{
width: 100%;
height: 60px;
padding: 10px;
font-size: 1.2em;
font-weight: 520;
color: whitesmoke;
border-radius: 8px;
border: 2px dashed grey;
outline: none;
background-color: transparent;
}
#submitBtn {
display: block;
max-width: 480px;
width: 100%;
height: 60px;
margin: 20px auto;
border: none;
border-radius: 15px;
color: rgb(20, 20, 20);
font-weight: bold;
font-size: 1.2em;
font-family: Poppins;
box-shadow: 0px 8px lightgrey;
background: whitesmoke;
}
form input::placeholder {
color: grey;
font-size: 0.8em;
}
form input:focus {
border: 2px dashed rgb(0, 255, 0);
color: whitesmoke;
}
form > div {
display: flex;
align-items: center;
justify-content: space-between;
/* margin-top: 5px; */
}
form > div > span {
margin: 4px;
}
form .more {
flex-direction: column;
}
form .more div{
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}
form .more div span:first-child {
margin-right: 8px;
}
form .help {
flex-direction: column;
justify-content: space-between;
}
form .help > span {
display: flex;
align-items: flex-end;
justify-content: space-between;
width: 100%;
text-align: left;
color: lightgrey;
}
form .help > span > span {
display: flex;
align-items: center;
width: 100%;
}
form .help input[type='checkbox'] {
position: relative;
width: 20px;
height: 20px;
margin: 8px;
padding: 20px;
background-color: rgb(30, 30, 30);
}
input[type='checkbox']::before {
content: "";
position: absolute;
top: -10%; left: -10%;
width: 20px;
height: 20px;
border: 2px solid grey;
border-radius: 8px;
/* background-color: inherit; */
}
input[type='checkbox']:checked{
background-color: purple;
}
form .help a {
width: 100%;
color: dodgerblue;
text-align: right;
}
form label {
position: absolute;
top: 5px;
padding: 2px;
font-weight: 500;
font-family: poppins;
font-size: 0.8em;
color: lightgrey;
border-bottom: none;
border-radius: 8px 8px 0px 0px;
background-color: rgb(30, 30, 30);
}
form input[type='email'] {
color: whitesmoke;
}
form > div span:last-child label{ /* Every second label element inside a span tag */
right: 0;
}
#errorBox {
display: none;
max-width: 480px;
width: 100%;
height: auto;
padding: 20px;
color: red;
border-radius: 10px;
background-color: rgba(255, 0, 0, 0.1);
}