forked from am-igdtuw/MENTORSHIP-COHORT1.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TASK2(2).css
92 lines (78 loc) · 1.46 KB
/
TASK2(2).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
/* Reset some default styles for consistency */
body, h1, h2, h3, p, ul, li {
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
}
/* Header styles */
header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px;
border-bottom: 1px solid #ccc;
background-color: white;
}
.logo {
font-size: 24px;
font-weight: bold;
}
.search-bar input {
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}
.user-profile {
display: flex;
align-items: center;
gap: 8px;
}
.user-profile img {
width: 32px;
height: 32px;
border-radius: 50%;
object-fit: cover;
}
/* Main content styles */
main {
padding: 16px;
}
.feed {
display: grid;
gap: 16px;
}
.post {
border: 1px solid #ccc;
border-radius: 4px;
padding: 16px;
background-color: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.post-header {
display: flex;
align-items: center;
margin-bottom: 8px;
}
.post-header img {
width: 32px;
height: 32px;
border-radius: 50%;
object-fit: cover;
margin-right: 8px;
}
.post-actions button {
background-color: transparent;
border: none;
padding: 8px;
cursor: pointer;
margin-right: 16px;
}
.post-caption {
margin-bottom: 8px;
}
.post-comments span {
display: block;
margin-bottom: 4px;
}