forked from S2GBird/.github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
singlepost.module.css
113 lines (96 loc) · 1.68 KB
/
singlepost.module.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.post-container {
position: relative;
max-width: 550px;
margin: 20px auto;
border: 1px solid #ccc;
border-radius: 8px;
overflow: hidden;
}
.post-header i {
cursor: pointer;
margin-right: 10px;
}
.post-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px;
background-color: #f0f0f0;
}
.post-header img {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 20px;
object-fit: cover;
}
.user-info {
display: flex;
align-items: center;
}
.username {
font-weight: bold;
margin-right: 10px;
}
.timestamp {
font-size: 12px;
color: #777;
margin-left: auto;
margin-right: 10px;
}
.post-content {
padding: 10px;
margin-bottom: 10px;
}
.post-content img {
width: 100%;
border-radius: 8px;
margin-bottom: 10px;
}
.caption {
margin-bottom: 10px;
}
.interaction-buttons {
margin-right: 5px;
padding: 1px 5px;
background: none;
border: none;
border-radius: 5px;
cursor: pointer;
box-shadow: none;
font-size: 15px;
}
.interaction-buttons.save {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(1395%);
background: none;
border: none;
cursor: pointer;
box-shadow: none;
}
.comments-section {
padding: 10px;
border-top: 1px solid #ccc;
}
.engagement-metrics {
padding: 10px;
background-color: #f0f0f0;
}
.comments-count {
color: #777;
}
.comment {
display: flex;
font-size: 13px;
}
.interaction-buttons.like-button i {
color: red;
position: relative;
}