-
Notifications
You must be signed in to change notification settings - Fork 0
/
card.css
127 lines (125 loc) · 3.56 KB
/
card.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
/* The below CSS code is to be placed in /admin/appearance/customise/css */
@media (min-width:1200px) {
.category-card ul.topics-list li {
width: 32%;
max-height: 230px;
min-height: 230px;
margin: 0;
margin-left: 10px;
margin-bottom: 10px;
float: left;
padding: 11px 5px 0 10px !important;
}
.category-card [component="topic/header"] .text-reset, .category-card [component="categories/category"] .text-reset {
font-weight: 400;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
white-space: pre-wrap;
margin-right: -40px;
}
.category-card .lastpost {
margin-left: -380px;
margin-top: 0px;
width: 365px;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
white-space: pre-wrap;
height: 200px !important;
}
.category-card .lastpost a img, .category-card span.avatar.avatar-tooltip.not-responsive.avatar-rounded {
margin-top: 35px;
margin-left: -170px;
}
.category-card .lastpost .post-content {
margin-top: 55px;
width: 270px;
max-width: 270px;
position: absolute !important;
margin-left: 65px !important;
}
.category-card .line-clamp-sm-2 {
margin-left: 50px !important;
}
.category-card [component="topic/labels"] .timeago {
display: none !important;
}
.category-card .text-muted.timeago {
position: absolute;
margin-top: 95px;
margin-left: -180px;
}
.category-card h3[component="topic/header"] {
min-height: 55px;
max-height: 75px;
width: 300px !important;
margin-right: 20px !important;
}
.category-card .meta.stats {
margin-top: 156px;
width: 200px !important;
margin-left: -28px;
height: 45px;
}
.category-card .stats .fs-5 {
font-size: 80% !important;
}
.category-card span[component="topic/labels"] {
margin-top: 40px;
width: 340px !important;
}
.category-card img.topic-thumb.rounded-1.bg-light {
display: none;
}
.category-card [data-widget-area="footer"] {
margin-bottom: 60px;
}
.category-card i[component="topic/select"] {
top: 10px;
position: relative;
left: 2px;
background: var(--bs-body-bg);
}
.category-card .lastpost .no-reply {
margin-top: 15px !important;
margin-left: -130px;
}
}
@media (min-width: 1200px) and (max-width: 1399px) {
.category-card .lastpost {
margin-left: -328px;
}
.category-card [component="topic/header"] .text-reset, .category-card [component="categories/category"] .text-reset {
margin-right: 0px;
}
.category-card h3[component="topic/header"] {
width: 270px !important;
}
.category-card .meta.stats {
margin-top: 156px;
margin-left: -48px;
}
.category-card .text-muted.timeago {
position: absolute;
margin-top: 90px;
margin-left: -176px;
max-width: 70px;
}
.category-card span[component="topic/labels"] {
width: 330px !important;
overflow: hidden;
}
.category-card i[component="topic/select"] {
left: 1px;
}
.category-card .lastpost .post-content {
width: 240px;
max-width: 240px;
}
[component="topic/tags"] a:nth-child(2) {
display: none;
}
}