-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
122 lines (104 loc) · 1.73 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
121
122
@import url('https://fonts.googleapis.com/css?family=Poppins:200,400,600&display=swap');
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
height: 100%;
background-color: black;
color: #f3f3f3;
font-family: 'Poppins', sans-serif;
font-weight: 400;
}
#background {
height: 100%;
background-image: url('https://www.freecodecamp.org/news/content/images/size/w2000/2022/03/photo-1619410283995-43d9134e7656.jpeg');
background-position: center;
filter: blur(5px);
opacity: 0.25;
}
header {
margin: 3rem 0;
}
#content {
position: absolute;
width: 100%;
top: 0;
left: 0;
}
h1 {
font-size: 2em;
letter-spacing: 2px;
}
h1,
p {
text-align: center;
}
main {
width: 80%;
max-width: 768px;
min-width: 420px;
background: #0e1938bf;
margin: 0 auto 2rem auto;
border: 1px solid #ffffff;
border-radius: 1rem;
}
form {
margin: 0;
padding: 2.5rem;
}
.form-group {
margin-top: 30px;
}
.form-group:first-child {
margin-top: 0px;
}
label {
display: flex;
font-size: 1.1em;
margin-bottom: 5px;
align-items: center;
gap: 10px;
}
input,
select,
textarea {
height: 2.2rem;
border: 1px solid white;
border-radius: 1rem;
width: 100%;
padding: 5px 10px;
margin: 0;
font-family: inherit;
font-size: inherit;
}
input:focus,
textarea:focus {
outline: 2px solid #82b3f1;
}
input[type='radio'],
input[type='checkbox'] {
width: auto;
width: 20px;
}
textarea {
height: auto;
}
button {
display: block;
margin: 30px auto 0;
width: 100%;
padding: 1rem 0;
border-radius: 1rem;
background-color: #4eb374;
border: 1px solid #4eb374;
color: #f3f3f3;
font-size: 1.1rem;
}
button:hover {
background-color: #38664a;
border: 1px solid #f3f3f3;
cursor: pointer;
}