-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup_styles.css
254 lines (227 loc) · 5.5 KB
/
signup_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
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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
* {
margin: 0;
}
:root {
--main: rgba(135, 198, 207, 0.9);
--primary: rgba(14, 54, 94);
--secondary: #267b26;
--highlight: #f2571f;
--bright: #cf6b0d;
--dark: rgb(200, 200, 200,0.8);
--placeholder: var(--dark);
--max-width: 800px;
--min-width: 300px;
--bgimg: url("https://assets.hongkiat.com/uploads/pattern-wallpapers/original/19.jpg");
/* https://assets.hongkiat.com/uploads/pattern-wallpapers/original/19.jpg */
/* https://wallpapers.com/images/featured/pattern-4u7ed6koskqhcez1.jpg */
/* https://assets.hongkiat.com/uploads/pattern-wallpapers/original/19.jpg */
/* https://i.stack.imgur.com/SvWWN.png */
/* https://cssdeck.com/blog/wp-content/uploads/2022/04/image-background.jpg */
}
/* Document settings */
html {
font-family: "Open Sans", Georgia, 'Times New Roman', Times, serif ;
height: 100%;
}
/* div element to achieve background with parallax effect */
.parallax {
min-height: 100%;
background-image: var(--bgimg);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
}
/* Navigation bar settings */
.nav_bar {
padding: 25px;
padding-bottom: 0;
font-size: 25px;
}
.nav_link {
text-decoration: none;
color: var(--secondary);
}
/* Form title section */
.intro {
margin: auto;
padding-top: 50px;
max-width: var(--max-width);
min-width: var(--min-width);
font-size: 20px;
color: var(--primary);
text-align: center;
}
/* Section containing form element */
.form_section {
max-width: var(--max-width);
min-width: var(--min-width);
margin: auto;
background-color: var(--main);
box-sizing: border-box;
border-radius: 25px;
box-shadow: -20px 20px 50px 20px color-mix(in srgb, var(--primary), transparent 30%);
/* box-shadow: [horizontal offset] [vertical offset] [blur radius] [optional spread radius] [color]; */
}
/* Form fieldsets */
fieldset {
/*margin-left: 2vw;*/
border: none;
padding-top: 0;
padding-bottom: 0;
padding-left: 3vw;
padding-right: 3vw;
}
/* Fieldset titles are all h2 */
h2 {
padding-bottom: 0.5rem;
margin-bottom: 1rem;
border-bottom-style: solid;
font-size: 25px;
color: var(--secondary);
/* border-left-style: solid;
border-left-width: 10px; */
border-color: var(--primary);
}
/* Paragraph (p) description of the form */
#description {
font-size: 20px;
color: var(--primary);
padding-top: 30px;
margin: auto;
}
/* Labels for inputs */
label {
display: block;
color: var(--primary);
font-size: 20px;
}
/* Highlighting labels for selected radio buttons */
label:has(> input[type="radio"]:checked){
font-weight: bolder;
font-size: 22px;
color: white;
}
/* Highlighting labels for selected checkboxes */
label:has(> input[type="checkbox"]:checked){
font-weight: bolder;
/* font-size: 22px;
color: white; */
}
/* Inputs and dropdowns */
input, select {
margin: 0.5rem 0;
font-size: 20px;
background-color: color-mix(in srgb, var(--primary), transparent 50%);
border-style: solid;
border-color: var(--primary);
border-left-width: 10px;
border-radius: 5px;
padding: 5px 10px;
color: color-mix(in srgb, white, transparent 0%);
/* box-shadow: -4px 5px 0px 2px color-mix(in srgb, var(--primary),transparent 50%); */
}
select {
appearance: none;
}
input {
width: 50%;
}
/* Number type input */
#number {
width: 80px;
}
/* Placeholder text for text-field inputs */
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: var(--placeholder);
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: var(--placeholder);
}
::-ms-input-placeholder { /* Microsoft Edge */
color: var(--placeholder);
}
/* Radio buttons and checkboxes */
input[type="radio"],input[type="checkbox"] {
width: 20px;
height: 20px;
vertical-align: middle;
margin-right: 15px;
transform: scale(1.5);
}
/* Cheeky Easy A checkbox */
.hardA {
display: none;
}
#easy:checked ~ .hardA{
display: inline;
}
#easy:checked ~ .easyA{
display: none;
}
/* Text-areas */
textarea {
background-color: color-mix(in srgb, var(--primary), transparent 50%);
color: white;
font-size: 18px;
font-family: "Open Sans", Georgia, 'Times New Roman', Times, serif;
width: 95%;
height: 4em;
margin: 10px 0 15px 0; /* margin: top right bottom left*/
border-style: solid;
border-color: var(--primary);
border-left-width: 10px;
border-radius: 5px;
padding: 10px; /* paddnig: top right bottom left */
resize: none;
}
/* Submit button */
#submit {
width: 66%;
margin: 20px auto;
padding-top: 10px;
padding-bottom: 10px;
display: block;
border-radius: 5px;
border: none;
background-color: var(--primary);
font-size: 1.5rem;
text-align: center;
color: var(--main);
box-shadow: -4px 5px 0px 2px color-mix(in srgb, var(--primary),transparent 50%);
}
/* Submit button color change on hover */
#submit:hover {
background-color: var(--bright);
color: white;
cursor: pointer;
}
/* Submit button color change and animation on click */
#submit:active {
background-color: var(--bright);
color: white;
transform: translateY(3px);
box-shadow: -1px 1px 1px 1px color-mix(in srgb, var(--primary),transparent 50%);
cursor: pointer;
}
/* Footer */
footer {
font-size: 18px;
text-align: center;
color: var(--secondary);
padding: 20px;
}
#farhan-link {
text-decoration: none;
color: inherit;
}
#ayaan-link {
text-decoration: underline;
text-underline-offset: 0.25rem;
color: inherit;
}
#farhan-link:hover, #ayaan-link:hover {
text-decoration: none;
/* text-underline-offset: 0.25rem; */
color: white;
}