-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
85 lines (71 loc) · 1.42 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
@import url('https://fonts.googleapis.com/css?family=Poppins:200i,400&display=swap');
body{
/* Background Image */
background-image: linear-gradient(
115deg,
rgba(58, 58, 158, 0.8),
rgba(136, 136, 206, 0.7)
),
url(https://cdn.freecodecamp.org/testable-projects-fcc/images/survey-form-background.jpeg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
/* Main body from here */
width: 100%;
height: 100%;
margin: 0;
color: #ffffff;
font-family: 'Poppins', sans-serif;
font-weight: 400;
font-size: 1rem;
}
.head{
margin: 1rem auto;
text-align: center;
}
p{
font-style: italic;
}
form{
width: 70vw;
max-width: 500px;
min-width: 300px;
margin: 0 auto;
padding: 30px;
background: rgba(27, 27, 50, 0.8);
border-radius: 5px;
}
fieldset{
border: none;
padding: 0.6rem 0;
}
label{
display: block;
margin: 1rem 0;
}
input, textarea{
border: 1px solid #0a0a23;
color: black;
}
input, textarea, select{
margin: 10px 0 0 0;
width: 100%;
min-height: 2em;
border-radius: 6px;
}
.in{
width: unset;
margin: 0 0.5em 0 0;
vertical-align: middle;
}
input[type="submit"]{
display: block;
width: 100%;
margin: auto;
height: 2.5em;
font-size: 1.1rem;
background-color: #37af65;
color: #ffffff;
min-width: 300px;
cursor: pointer;
}