-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocsify-xpost.css
176 lines (151 loc) · 3.24 KB
/
docsify-xpost.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
.x-image{
max-width: 400px;
max-height: 600px;
}
.x {
background-color: #15202b;
border: 1px solid #38444d;
border-radius: 16px;
max-width:600px;
padding: 12px 16px;
display: flex;
flex-direction: column;
position: relative;
}
.x-header {
display: flex;
align-items: flex-start;
margin-bottom: 8px;
}
.avatar {
width: 48px;
height: 48px;
border-radius: 50%;
margin-right: 12px;
flex-shrink: 0;
}
.user-info-wrapper {
display: flex;
flex-grow: 1;
flex-direction: column;
}
.user-info {
display: flex;
flex-direction: column;
}
.user-details {
display: flex;
align-items: center;
flex-wrap: wrap;
line-height: 1.3;
}
.username {
font-weight: bold;
font-size: 15px;
margin-right: 4px;
color: #e7e9ea;
}
.verified-badge {
width: 18px;
height: 18px;
margin-right: 4px;
vertical-align: text-bottom;
}
.user-id,
.timestamp {
color: #8899a6;
font-size: 15px;
margin-right: 4px;
}
.separator {
color: #8899a6;
margin: 0 4px;
}
.more-options {
margin-left: auto;
padding: 8px;
cursor: pointer;
align-self: flex-start;
margin-top: -8px;
margin-right: -8px;
}
.more-options svg {
width: 18.75px;
height: 18.75px;
fill: #8899a6;
display: block;
}
.more-options:hover svg {
fill: #1d9bf0;
}
.x-content {
margin-left: 60px;
margin-top: -20px;
font-size: 15px;
line-height: 1.5;
color: #e7e9ea;
white-space: pre-wrap;
}
.x-content a {
color: #1d9bf0;
text-decoration: none;
}
.x-content a:hover {
text-decoration: underline;
}
.x-media {
margin-top: 12px;
margin-left: 60px;
}
.x-media img {
max-width: 100%;
border-radius: 16px;
border: 1px solid #38444d;
display: block;
}
/* --- UPDATED FOOTER STYLES --- */
.x-footer {
display: flex; /* Main flex container */
align-items: center;
justify-content: space-between; /* Pushes the left and right groups apart */
margin-top: 12px;
margin-left: 60px;
/* No gap here, handled within groups */
}
.footer-actions-left {
display: flex;
flex-grow: 1; /* Allows this group to take up space */
justify-content: space-between; /* Spreads Comment, RT, Like, View */
max-width: 75%; /* Prevents icons from spreading too far on wide screens, adjust as needed */
padding-right: 15px; /* Add some space before the right group starts */
}
.footer-actions-right {
display: flex;
align-items: center;
/* Use gap for spacing *only* between Bookmark and Share */
gap: 15px; /* Adjust this value for closeness of Bookmark/Share */
}
/* --- End of Updated Footer Styles --- */
.action-item {
display: flex;
align-items: center;
color: #8899a6;
font-size: 13px;
cursor: pointer;
}
/* Individual hover colors */
.action-item.comment:hover { color: #1d9bf0; }
.action-item.rex:hover { color: #00ba7c; }
.action-item.like:hover { color: #f91880; }
.action-item.view:hover { color: #1d9bf0; }
.action-item.bookmark:hover { color: #1d9bf0; }
.action-item.share:hover { color: #1d9bf0; }
.action-item svg {
width: 18.75px;
height: 18.75px;
fill: currentColor;
margin-right: 4px;
}
.action-item .count {
line-height: 1;
}