-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
95 lines (81 loc) · 1.34 KB
/
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
body {
background-color: #a9d7d1;
}
#description {
padding: 3% 0 0 0;
}
.form-card {
background-color: #fafafa;
margin: 0 auto;
max-width: 600px;
}
#title, #description, #submit {
text-align: center;
}
#survey-form {
display: flex;
flex-direction: column;
}
#survey-form label, #survey-form input, #survey-form select, #survey-form textarea {
max-width: 500px;
}
.radios {
display: flex;
flex-direction: column;
margin: auto;
}
#submit {
width: 70px;
background-color: #59ace0;
border-radius: 5px;
border: 0px solid;
margin: 15px auto;
height: 40px;
color: white;
font-size: 1em;
}
.row-tab {
display: flex;
margin: 10px;
}
.labels {
width: 50%;
text-align: right;
padding-right: 20px;
}
.checkboxes {
display: flex;
flex-direction: column;
}
p {
margin-top: 0;
}
#name, #email, textarea{
width: 280px;
height: 40px;
}
#submit:hover{
background-color: #0e4364;
}
@media (max-width: 470px) {
.form-card{
}
#name-label, #email-label{
display: none;
}
#comment-label{
display: none;
}
#name, #email, textarea {
width: 260px;
height: 40px;
}
.input{
padding: 0;
width: 13px;
}
textarea {
position: relative;
left: 13px;
}
}