-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
116 lines (93 loc) · 1.84 KB
/
main.css
File metadata and controls
116 lines (93 loc) · 1.84 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/*atributo q estiliza tds elementos que não foram estilizados*/
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* quando o Pai indica > é pq chama o filho direto*/
body > header {
background-color: rgb(63, 66, 63);
padding: 16px 0;
color: aliceblue;
}
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: aliceblue;
text-decoration: none;
}
.container {
width: 1366px;
margin: 0 auto 0 auto;
}
/* essa section pode ser removida, pois não tem articles fora dela.*/
.articles {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.articles article img {
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: blue;
color: aliceblue;
padding: 8px;
display: inline-block;
text-decoration: none;
font-weight: bolder;
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;
}
#esportes {
background-color:rgb(236, 252, 181)
}
#economia {
background-color: rgb(190, 248, 190);
}
#economia .articles article a {
background-color: darkgreen;
}
#games {
background-image: url("imagens/fundo.gamer.jpg");
background-size: contain;
}
#games >.container h2, #games h3, #games p, #games time {
color: aliceblue;
}
#musicas {
background-color: dimgray;
}