-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
117 lines (101 loc) · 1.93 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
@import url("https://fonts.googleapis.com/css2?family=Caveat&family=Libre+Baskerville&family=Poppins:wght@400;500;600;700&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100%;
height: 100vh;
background-image: url(./assests/Images/bg-intro-desktop.png);
background-color: hsl(0, 100%, 74%);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
font-family: Poppins;
}
header,
form {
width: 60vw;
min-width: 300px;
border-radius: 20px;
}
header {
background-color: hsl(248, 32%, 49%);
color: white;
text-align: center;
margin: 2.5em auto;
padding: 1em;
box-shadow: -5px 5px 5px 5px hsl(249, 10%, 26%);
}
form {
margin: 0 auto;
background-color: white;
padding: 1em;
}
fieldset {
border: none;
}
label,
input,
select {
display: block;
}
label,
.radio {
font-size: 1.3em;
font-weight: 500;
margin-top: 0.5em;
}
input,
select {
width: 100%;
height: 3rem;
border-radius: 5px;
padding-left: 1.1rem;
outline: none;
border: 1px solid hsl(246, 25%, 77%);
font-size: 1.1rem;
}
input::placeholder,
textarea::placeholder {
color: hsl(246, 25%, 77%);
font-family: Poppins;
}
input:focus,
select:focus,
textarea:focus {
border: 1px solid hsl(249, 10%, 26%);
}
.radio-label {
font-size: 1rem;
}
.inline {
display: inline;
height: unset;
width: unset;
vertical-align: middle;
margin: 0 0.5rem;
}
textarea {
width: 100%;
min-height: 1vh;
font-family: Poppins;
font-size: 1rem;
padding: 10px;
outline: none;
border: 1px solid hsl(246, 25%, 77%);
border-radius: 5px;
}
.terms-and-conditions {
font-size: 12px;
margin-bottom: 30px;
}
input[type="submit"] {
width: 40%;
margin: 0 auto;
background-color: hsl(154, 59%, 51%);
color: white;
text-transform: uppercase;
font-weight: 500;
}