-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheducation.css
134 lines (128 loc) · 1.94 KB
/
education.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
124
125
126
127
128
129
130
131
132
133
134
body {
margin: 0px;
padding: 0px;
background-color: #f5f5f5;
}
/* #navbar{
} */
#main {
width: 100%;
}
#navbar {
position: sticky;
top: 0px;
z-index: 5;
}
#breaking_news {
display: flex;
/* border: rebeccapurple 1px solid; */
width: 89%;
background-color: #313131;
color: whitesmoke;
align-items: center;
font-size: 17px;
letter-spacing: 2px;
}
#breaking_news p {
margin-left: 20px;
}
#news_slider {
/* border: red 1px solid; */
height: 50px;
width: 98%;
margin: auto;
display: flex;
word-wrap: normal;
background-color: #313131;
margin-bottom: 15px;
}
#first {
/* border:1px solid blue; */
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: 20px;
}
#middle {
/* padding:5px; */
width: 50%;
}
#indian-news {
/* border:1px solid red; */
width: 100%;
height: auto;
/* margin-left: 30%; */
/* margin-top: 100px; */
}
h3 {
font-size: 12px;
color: rgb(70, 62, 62);
margin-bottom: 10px;
}
h1 {
font-size: 20px;
}
hr {
margin-top: 10px;
}
#indian-news div {
/* border:1px solid red; */
width: 100%;
height: 120px;
display: flex;
margin-top: 10px;
background-color: #ffffff;
}
#indian-news div img {
padding: 10px;
width: 30%;
height: 100px;
}
img + p {
padding: 10px;
margin-top: 0px;
}
#sliding {
/* border:1px solid red; */
margin-top: 20px;
margin-bottom: 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;
}
#indian-news + h2 {
margin-top: 50px;
}
#btn {
width: 100%;
padding: 12px;
border-radius: 25px;
margin-bottom: 30px;
margin-top: 20px;
}