-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
117 lines (107 loc) · 2.17 KB
/
styles.css
File metadata and controls
117 lines (107 loc) · 2.17 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
112
113
114
115
116
117
@import url('https://fonts.googleapis.com/css?family=Poppins:200i,400&display=swap');
body {
font-family: 'Poppins', sans-serif;
font-size: 1rem;
font-weight: 400;
line-height: 1.4;
color: var(--color-white);
margin: 0;
}
/* mobile friendly alternative to using background-attachment: fixed */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: -1;
background: var(--color-darkblue);
background-image: linear-gradient(
115deg,
rgba(58, 58, 158, 0.8),
rgba(136, 136, 206, 0.7)
),
url(https://cdn.freecodecamp.org/testable-projects-fcc/images/survey-form-background.jpeg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.container,.header{
width: 40%;
margin: 0 auto;
}
.container{
background-color:#1b1b32bd ;
border-radius: 1em;
}
/* Header */
.header{
text-align: center;
color: white;
}
#title{
padding-top: 1.5em;
margin-bottom: 5px;
}
#description{
margin-top: 0px;
font-size: 22px;
}
/* form */
form{
padding: 3em;
}
label{
color: white;
}
label, input, textarea,select{
display: block;
margin-bottom: 1.5em;
box-sizing: border-box;
width: 100%;
}
input,select{
height: 3em;
border-radius: 0.3em;
}
textarea{
height: 5em;
}
.names{
margin-bottom: 1.5em;
}
/* radio and checkbox */
.radio label,.checkboxs label{
margin-bottom: 0em;
}
input[type="radio"]{
display: inline;
width: unset;
height: auto;
transform: scale(1.5);
}
input[type="checkbox"]{
display: inline;
margin-right: 10px;
width: unset;
height: auto;
transform: scale(1.5);
}
input[type="submit"]{
display: inline;
margin-right: 10px;
background-color: #37af65 ;
height: 3.5em;
color: white;
}
@media screen and (min-width: 600px) {
.container, .header {
width: 70%;
}
}
@media screen and (min-width: 1000px) {
.container, .header {
width: 40%;
}
}