-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnoticia.css
91 lines (77 loc) · 1.33 KB
/
noticia.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
/* ----------------------------Tela de Noticia----------------------------*/
.noticia {
width: 1200px;
margin: 30px auto 63px auto;
padding: 30px;
background-color: var(--bg-first);
border: 2px solid var(--color-first);
box-shadow: 0 5px 15px;
border-radius: 10px;
}
.noticia h2 {
color: var(--color-first);
font-size: 30px;
text-align: center;
margin-bottom: 30px;
}
.imagem-texto {
display: flex;
justify-content: center;
align-items: center;
}
.imagem-noticia {
width: 500px;
height: 500px;
margin-right: 30px;
border-radius: 10px;
box-shadow: 0 5px 15px;
}
.texto {
color: var(--color-second);
text-align: justify;
font-size: 18px;
line-height: 27px;
}
@media (max-width: 768px) {
.noticia {
width: 90%;
margin: 30px auto;
}
.imagem-texto {
flex-direction: column;
}
.imagem-noticia {
width: 100%;
height: 800px;
margin-right: 0;
margin-bottom: 30px;
}
}
@media (max-width: 425px) {
.texto {
font-size: 16px;
line-height: 24px;
}
.imagem-noticia {
display: none;
}
.noticia {
padding: 20px;
}
.noticia h2 {
font-size: 24px;
}
.noticia .texto {
font-size: 16px;
line-height: 24px;
}
}
@media (max-width: 375px) {
.texto {
font-size: 14px;
line-height: 21px;
}
.noticia h2 {
font-size: 20px;
}
}