-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
120 lines (99 loc) · 1.66 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
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
/* file: styles.css */
body {
background-image: url(./img/beans.jpg);
background-color: #097949;
width: 100%;
height: 100vh;
margin: 0;
padding-bottom: 12rem;
}
h1 {
font-family: Impact;
}
hr {
height: 0.2rem;
background-color: brown;
border-width: 0.1rem;
border-color: brown;
}
#description {
font-style: italic;
}
h1, p {
text-align: center;
}
#form-div {
width: 80%;
background-color: burlywood;
margin: 2rem auto;
padding: 20px;
max-width: 500px;
min-width: 300px;
font-family: sans-serif;
}
input,
textarea,
select {
margin: 1% 0 0 0;
width: 100%;
height: 2em;
}
#comments {
height: 6rem;
}
.form-subdiv {
margin: 5% 0;
}
.input-radio, .input-checkbox {
width: unset;
margin: 0 0.5em 0;
vertical-align: middle;
}
.checks-p {
margin-top: 2rem;
text-align: left;
}
.checks {
margin-right: 3rem;
}
button {
display: block;
width: 60%;
margin: 1em auto;
height: 2em;
font-size: 1.1rem;
background-color: brown;
border-color: white;
}
@media only screen and (max-width: 400px) {
#form-div {
font-size: small;
}
input, textarea, select {
width: 80%;
height: 1.5rem;
}
#comments {
height: 4rem;
}
.checks {
font-size: 0.8rem;
}
}
@media only screen and (max-width: 365px) {
#form-div {
font-size:x-small;
}
input, textarea, select {
width: 80%;
height: 1rem;
font-size: 0.7rem;
}
#form-div {
min-width: 150px;
}
.form-subdiv {
display: flex;
flex-direction: column;
}
}