forked from ezotic/HTML-CSS-Pair-Programming-Lab-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
111 lines (87 loc) · 1.71 KB
/
style.css
File metadata and controls
111 lines (87 loc) · 1.71 KB
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
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Nunito', sans-serif;
color: #2a3a06;
}
fieldset {
background-color: #b8df85;
margin-left: 2px;
margin-right: 2px;
padding-top: 0.55em;
padding-bottom: 0.15em;
padding-left: 0.75em;
padding-right: 0.75em;
border: 2p;
border-radius: 8px;
border-color: rgba(255, 255, 255, 0.768);
border-style: solid;
font-family: 'Times New Roman', Times, serif;
font-weight: 500;
color: black;
}
.container {
display: grid;
margin-top: 50px;
grid-template-columns: 60% 1fr;
}
form {
max-width: 300px;
margin: 10px auto;
padding: 10px 20px;
background: #84b413;
border-radius: 8px;
}
h1 {
margin: 0 0 30px 0;
text-align: center;
}
textarea,
select {
background: rgba(255,255,255,0.1);
border: none;
font-size: 16px;
margin: 0;
outline: 0;
padding: 15px;
width: 100%;
background-color: #FFF;
color: #FFF;
box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
margin-bottom: 30px;
border-radius: 8px;
}
input[type="radio"]{
margin: 0 4px 8px 0;
}
select {
padding: 6px;
}
button {
padding: 10px 10px 10px 10px;
color: #FFF;
background-color: #2a3a06;
font-size: 20px;
text-align: center;
font-style: normal;
border-radius: 30px;
width: 40%;
border: none;
float: center;
}
legend {
font-size: 1.4em;
margin-bottom: 10px;
}
label {
display: inline-block;
margin-bottom: 8px;
}
@media screen and (min-width: 480px) {
form {
max-width: 480px;
}
}