-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
106 lines (87 loc) · 1.67 KB
/
main.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
* {
box-sizing: border-box; /*usando o (*) toda a informação vai receber a cor indicada, exceto os elementos que não receberam estilização específica*/
margin: 0;
padding: 0;
}
body > header {
background-color: #2f3640;
padding: 16px 0;
color: white;
}
header .container {
display: flex;
align-items: center;
justify-content: space-between;
}
header li {
display: inline;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
margin-left: 16px;
}
header li a {
color: white;
text-decoration: none;
}
.container {
width: 1366px;
margin: 0 auto;
}
.articles {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.articles article img {
/*height: 180px;*/
width: 100%;
}
.articles article {
width: 30%;
}
section {
padding: 16px 0;
}
section h2,
.articles article {
margin-bottom: 16px;
}
.articles article h3 {
margin-top: 8px;
margin-bottom: 8px;
}
.articles article a {
background-color: blue;
color: white;
padding: 8px;
display: inline-block;
text-decoration: none;
font-weight: bold;
margin-top: 8px;
}
.articles article a:hover {
text-decoration: underline;
}
.articles article p,
.articles article a {
font-family: Arial, Helvetica, sans-serif;
}
.articles article h3 {
font-size: 24px;
}
section h2 {
font-size: 32px;
}
/*adicionando cor ao plano de fundo da sessão Esportes*/
#sports {
background-color: rgba(0,255, 0, 0.1);
}
#sports .articles article a {
background-color: #009432;
}
#economy {
background-color: #eeea6bd5;
}
#economy .articles article a {
background-color: #ff9f1a;
}