-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintroducao.css
More file actions
59 lines (58 loc) · 1.08 KB
/
introducao.css
File metadata and controls
59 lines (58 loc) · 1.08 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
.introducao {
max-width: 1200px;
padding: 40px 20px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 2fr;
gap: 100px;
align-items: center;
justify-content: center;
}
.introducao h1 {
position: relative;
font-size: 4.5rem;
line-height: 1.125;
margin-bottom: 30px;
}
.introducao h1::before {
content: "";
display: block;
width: 130px;
height: 100px;
background: url('./img/detalhe.svg') no-repeat center;
position: absolute;
z-index: -1;
top: -15px;
left: -40px;
}
.introducao p {
font-size: 1.5rem;
color: #525252;
}
@media (max-width: 1000px) {
.introducao h1 {
font-size: 3rem;
}
.introducao h1::before {
width: 30px;
height: 10px;
left: 0;
}
}
@media (max-width: 800px) {
.introducao {
grid-template-columns: 1fr 1fr;
gap: 40px;
}
.introducao h1 {
font-size: 2rem;
}
}
@media (max-width: 400px) {
.introducao {
grid-template-columns: 1fr;
}
.introducao img {
display: none;
}
}