-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
123 lines (99 loc) · 1.8 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body > header {
background-color: #2f3640;
padding: 16px 0;
color: #f5f6fa ;
}
header .container {
display: flex;
align-items: center;
justify-content: space-between;
}
header li {
display: inline;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
header li a {
color: #f5f6fa;
text-decoration: none;
margin-left: 16px;
}
.container {
width: 1330px;
margin: 0 auto;
}
.article {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.article article img {
/*exemplo de comentário*/
width: 100%;
height: 200px;
}
.article article {
width: 30%;
}
section {
padding: 16px 0;
}
section h2,
.article article {
margin-bottom: 16px;
}
.article article h3 {
margin-top: 8px;
margin-bottom: 8px;
}
.article article a {
background-color: blue;
color: #fff;
padding: 8px;
display: inline-block;
text-decoration: none;
font-weight: bold;
margin-top: 8px;
}
.article article a:hover {
text-decoration: underline;
}
.article article p,
.article article a {
font-family: Arial, Helvetica, sans-serif;
}
.article article h3 {
font-size: 24px;
}
section h2 {
font-size: 32px;
}
#sports {
background-color: rgba(0, 255, 0, 0.1);
}
#sports .article article a {
background-color: #009432;
}
#economy {
background-color: #f8f59f;
}
#economy .article article a {
background-color: #ff9f1a;
}
#entertainment {
background-color: rgba(220, 188, 255, 0.603);
}
#entertainment .article article a {
background-color: rgba(153, 0, 255, 0.692);
}
#tech {
background-color: rgba(235, 150, 150, 0.603);
}
#entertainment .article article a {
background-color: rgba(255, 50, 50, 0.788);
}