-
Notifications
You must be signed in to change notification settings - Fork 1
/
latest_news.css
101 lines (95 loc) · 1.31 KB
/
latest_news.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
body {
margin: 0px;
padding: 0px;
background-color: #f5f5f5;
}
/* #navbar{
} */
#main {
width: 100%;
}
#navbar {
position: sticky;
z-index: 5;
top: 0px;
}
#first {
/* border:1px solid red; */
width: 90%;
height: auto;
display: flex;
margin: auto;
margin-top: 50px;
margin-left: 5%;
}
#sidebar {
/* border:1px solid black; */
width: 25%;
height: auto;
margin-right: 20px;
position: sticky;
top: 80px;
}
#right_sidebar {
/* border:1px solid black; */
width: 25%;
height: auto;
margin-left: 40px;
}
#middle {
padding: 5px;
width: 40%;
}
#middle img {
width: 40%;
}
#results {
/* border:1px solid red; */
width: 100%;
height: auto;
}
h3 {
font-size: 12px;
color: rgb(70, 62, 62);
margin-bottom: 10px;
}
h1 {
font-size: 20px;
}
hr {
margin-top: 10px;
}
#results div {
/* border:1px solid red; */
width: 100%;
height: 120px;
display: flex;
margin-top: 10px;
background-color: #ffffff;
}
#results div img {
padding: 10px;
width: 30%;
height: 100px;
}
img + p {
padding: 10px;
margin-top: 0px;
}
#sliding {
/* border:1px solid red; */
margin-top: 50px;
width: 100%;
height: 200px;
display: flex;
gap: 20px;
}
#sliding div {
/* border:1px solid black; */
width: 50%;
height: 200px;
}
#sliding div img {
width: 100%;
height: 150px;
}