forked from OpenCodeChicago/HTML-CSS_fundamentals_part3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
95 lines (83 loc) · 1.31 KB
/
styles.css
File metadata and controls
95 lines (83 loc) · 1.31 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
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
overflow-x: hidden;
}
h1,
h2,
h3,
h4,
p {
margin: 0;
}
img {
max-width: 100%;
height: auto;
display: block;
}
ul {
list-style: none;
}
a {
text-decoration: none;
color: inherit;
}
body {
background-color: #e2e8f0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
max-width: 1440px;
width: 100%;
margin: 0 auto;
overflow: hidden;
height: 100vh;
}
header,
footer {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
background-color: #94a3b8;
padding: 1.2rem 2.4rem;
}
ul {
display: flex;
gap: 1.6rem;
}
a:hover {
color: #f8f9fa;
}
h1 {
font-size: 2.4rem;
font-weight: 700;
text-align: center;
margin-bottom: 2.4rem;
padding-bottom: 4px;
border-bottom: 1px solid #333;
}
.container {
background-color: #c5c2c2;
min-width: 720px;
width: 100%;
min-height: 400px;
display: flex;
gap: 2.4rem;
padding: 4.8rem;
border-radius: 12px;
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/form.webp");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.form_container {
display: flex;
}