-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsurvey.css
97 lines (97 loc) · 1.57 KB
/
survey.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
@import url('https://fonts.googleapis.com/css?family=Poppins:200i,400&display=swap');
body {
font-family: 'Poppins', sans-serif;
margin:0;
line-height:1.4;
color:#f3f3f3;
}
label {
display: flex;
align-items:center;
margin-bottom:0.5rem;
padding-top:15px;
}
input,
button,
select,
textarea {
margin:0;
font-family:inherit;
font-size:inherit;
line-height:inherit;
}
button {
border:none;
}
#main {
width:100%;
margin:auto;
}
#formbox {
width:40rem;
margin:auto;
border-radius:5px;
padding:30px 40px 30px 40px;
background:rgba(27, 27, 50, 0.8);
}
@media (max-width:600px) {
#formbox {
min-width:540;
width:100%;
}
}
@media (max-width:600px){
#main {
min-width:540px;
width:10%;
}
}
.center {
text-align:center;
}
#name,
#email,
#number,
#dropdown,
#most-like,
#submit{
width:100%;
height:35px;
}
#textarea {
width:100%;
height:120px;
}
body::before {
content:'';
position:fixed;
top:0;
left:0;
height:100%;
width:100%;
z-index:-1;
background:#1b1b32;
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;
}
h1 {
font-weight:400;
line-height:1.2;
}
p {
font-size:1.125rem;
}
.italic {
font-style:italic;
}
#submit {
background-color:#37af65;
color:#f3f3f3;
}