-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdestaques.css
More file actions
79 lines (56 loc) · 1.47 KB
/
destaques.css
File metadata and controls
79 lines (56 loc) · 1.47 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
.caixa {
align-items: flex-end;
display: flex;
justify-content: center;
}
.destaques {
display: grid;
grid-gap: .2rem;
grid-template-columns: 25% 25% 25% 25%;
grid-template-rows: 33,33% 33,33% 33,33%;
height: calc(100vh - 50px);
}
.destaques__principal {
background: url('../img/fortnite.jpg') center / cover no-repeat;
grid-row: 1 / 3;
}
.destaques__titulo {
background: rgba(0, 0, 0, 0.5);
color: #fdfdfd;
padding: .6rem;
text-align: center;
width: 100%;
}
.destaques__secundario:nth-child(2) {
background: url('../img/pubg.jpg') center / cover no-repeat;
}
.destaques__secundario:nth-child(3) {
background: url('../img/slack.png') center / cover no-repeat;
}
.destaques__secundario:nth-child(4) {
background: url('../img/whatsapp.png') center / cover no-repeat;
}
.destaques__secundario:nth-child(5) {
background: url('../img/cs-go.jpg') center / cover no-repeat;
}
.destaques__categorias {
grid-row: 3 / 3;
}
.destaques__categorias___item {
align-items: center;
background: #fdfdfd;
border-left: 5px solid transparent;
color: #333333;
display: flex;
padding: 1rem;
width: 50%;
}
.destaques__categorias___lista {
display: flex;
flex-wrap: wrap;
height: 100%;
justify-content: space-between;
}
.destaques__categorias___link {
color: inherit;
}