-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathallNews.css
70 lines (55 loc) · 1.17 KB
/
allNews.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
.allNewsSection {
width: 80%;
margin: 30px auto;
display: flex;
flex-direction: column;
}
.allNewsSection .firstArt {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
border-radius: 10px;
background: #fff;
padding: 25px 20px;
margin-bottom: 30px;
}
.allNewsSection figure {
width: 27%;
height: 205px;
max-height: 205px;
border-radius: 10px;
overflow: hidden;
}
.allNewsSection figure img {
width: 100%;
object-fit: cover;
height: 100%;
}
.allNewsSection .secondArt {
width: 69%;
height: 200px;
max-height: 200px;
margin-left: 30px;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.allNewsSection .secondArt h2 {
font-size: 20px;
font-family: BPGExtraSquareMtavruli;
color: #000000;
}
.allNewsSection .secondArt p:nth-child(2) {
opacity: 0.29;
font-family: BPGExtraSquareMtavruli;
font-size: 14px;
}
.allNewsSection .secondArt p:nth-child(3) {
opacity: 0.5;
font-family: NotoSansTC-Light-Alphabetic;
font-size: 16px;
line-height: 25px;
letter-spacing: 1;
}