-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
76 lines (68 loc) · 1.26 KB
/
index.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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Georgia";
}
h1 {
display: flex;
background-color: #2f4f2f;
color: white;
text-align: center;
justify-content: center;
align-items: center;
height: 20vh;
}
a {
text-decoration: none;
width: 100%;
}
.safras {
display: flex;
flex-direction: row;
padding: auto;
}
.safrasoja,
.saframilho {
display: flex;
justify-content: center;
align-items: center;
width: 50%;
height: 80vh;
background-size: cover;
background-position: center;
color: white;
font-size: 42px;
}
.saframilho {
background-image: url("https://raw.githubusercontent.com/zeflorentino/conab/main/milho.webp");
}
.safrasoja {
background-image: url("https://raw.githubusercontent.com/zeflorentino/conab/main/soja.webp");
}
.clicavel {
background-color: #daa520;
color: white;
width: auto;
height: 76px;
padding: 15px;
text-align: center;
border-radius: 15px;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 768px) {
* {
width: 100%;
}
h1 {
height: 20vh;
}
.safras {
flex-direction: column;
}
.safrasoja,
.saframilho {
width: 100%;
height: 40vh;
}
}