-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
57 lines (51 loc) · 1.01 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
@import
url('https://fonts.google.com/specimen/Lexend+Zetta');
* {
box-sizing: border-box;
}
h1 {
margin-bottom: 0;
}
h1 + p{
margin-top: 0;
}
body {
background-color: darkviolet;
text-align: center;
font-family: Lexend, sans-serif;
margin: 0;
}
#survey-form {
background-color: lightcoral;
max-width: 700px;
border-radius: 4px;
margin: 40px auto;
box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.4);
padding: 30px 20px;
}
.form-control {
text-align: left;
margin-bottom: 20px;
}
.form-control label {
display: block;
margin-bottom: 6px;
}
.form-control input, .form-control select,
.form-control textarea, .form-control button {
font-size: 20px;
padding: 20px;
border-radius: 4px;
display: block;
width: 100%;
}
.form-control input[type="radio"], .form-control input[type="checkbox"] {
display: inline-block;
width: auto;
}
.form-control button {
background-color: red;
}
.form-control button:hover {
background-color: green;
}