-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathposty.css
270 lines (228 loc) · 4.33 KB
/
posty.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
html {
scroll-behavior: smooth;
}
body
{
margin: auto;
font-family: 'Mulish',Helvetica,Arial,Lucida,sans-serif;
}
.navigation {
box-sizing: border-box;
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: white;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1vw 8vw;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
z-index: 1;
font-weight: 500;
}
.menu-icon {
width: 48px;
height: 48px;
object-fit: contain;
cursor: pointer;
}
.navigation .menu-icon {
display: none;
cursor: pointer;
}
.navigation img
{
width: 280px;
margin-right: 20px;
cursor: pointer;
}
.navigation ul {
list-style: none;
padding: 0;
display: flex;
margin: 0;
}
.navigation li {
margin: 0 12px;
}
.navigation ul li a
{
text-decoration: none;
color: rgb(21, 21, 100);
font-size: 17px;
transition: 0.3s ease;
}
.navigation ul li a.active,
.navigation ul li a:hover
{
color: #fdbd13;
}
/*-----------------Post---------------*/
.post {
background-color: #fff;
border: 1px solid #ddd;
padding: 20px;
margin: 20px auto;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.post h2 {
color: #333;
}
.post p {
font-size: 16px;
line-height: 1.6;
color: #333;
text-align: justify;
margin-bottom: 15px;
}
.author {
margin-top: 10px;
color: #575757;
}
.read-more {
background-color: #151564;
color: #fff;
border: 1px solid #151564;
padding: 10px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.read-more:hover {
color: #151564;
background: #fff;
border-color: #151564;
}
.comments {
margin-top: 20px;
}
.comments h3 {
color: #333;
}
.comments ul {
list-style: none;
padding: 0;
}
.comments li {
color: #555;
margin-bottom: 10px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
overflow: hidden;
}
.comment-img {
width: 50px;
height: 50px;
border-radius: 50%;
margin-right: 10px;
overflow: hidden;
}
.comments img {
max-width: 100%;
height: auto;
border-radius: 50%;
}
#Alex-Smola{
margin-top: 80px;
scroll-margin-top: 80px;
}
#Andrew-Ng {
scroll-margin-top: 80px;
}
#Andrej-Kaparthy{
scroll-margin-top: 80px;
}
#David-Malan{
scroll-margin-top: 80px;
}
/*-----------------Footer---------------*/
.footer {
padding: 4vw;
background-color: #10203f;
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
}
.footer .footer-col {
margin-top: -40px;
padding: 4vw 0vw 4vw 4vw;
}
.footer-col h3 {
margin-bottom: -10px;
color: rgb(241, 240, 245);
font-weight: 500;
padding-bottom: 20px;
}
.footer-col ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer-col li {
color: #AFB3B6;
padding: 6px 0;
font-size: 15px;
cursor: pointer;
transition: 0.3s ease;
}
.footer-col li:hover {
color: rgb(241, 240, 245);
}
.footer .copyright {
margin-top: -20px;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
.footer .link {
margin-top: 10px;
}
.footer .link i {
background-color: #5f7185;
color: #fff;
transition: color 0.3s ease;
}
.footer .link i:hover {
background: #fdc93b;
color: #2c2c2c;
}
.footer .copyright {
color: white;
}
@media only screen and (max-width: 1000px) {
.navigation ul {
display: none;
flex-direction: column;
position: absolute;
top: 57px;
left: 0;
width: 100%;
background-color: white;
box-shadow: 0px 9px 27px -17px rgba(0, 0, 0, 1);
}
.navigation ul.show {
display: flex;
}
.navigation li {
margin: 0;
text-align: center;
}
.navigation .menu-icon {
display: block;
margin-left: auto;
}
.navigation ul li a {
display: block;
padding: 15px;
margin: 0;
}
.navigation ul li {
margin: 10px 0;
}
}