forked from mkrdip/related-posts-widget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
same-category-posts.css
80 lines (63 loc) · 1.33 KB
/
same-category-posts.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
/*
Default CSS Styles for Same Category Posts plugin
*/
.same-category-post-current,
.post-date,
.same-category-post-comment-num {
font-size: 12px;
}
.post-title {
font-size: 15px;
font-weight: bold;
}
.same-category-post-current a {
font-weight: bold;
text-transform: uppercase;
}
.post-date {
font-style: italic;
margin-bottom: 10px;
}
.cat-post-author {
margin-bottom: 0;
}
.same-category-post-thumbnail {
display: block;
}
.same-category-post-thumbnail img {
float: left;
margin: 5px 10px 5px 0;
}
.more-link {
display: inline;
}
.post-entry {
overflow: hidden;
padding: 0 0 5px 0;
}
.same-category-post-comment-num {}
.same-category-post-item {
border-bottom: 1px solid #ccc;
list-style: none;
list-style-type: none;
margin: 3px 0;
padding: 3px 0;
}
.same-category-post-item:last-child {
border-bottom: none;
}
.same-category-post-item:before,
.same-category-post-item:after {
content: "";
display: table;
clear: both;
}
/* CSS cropping */
.same-category-post-item .same-category-post-css-cropping span {
float: left;
margin: 0 10px 5px 0;
}
.same-category-post-item .same-category-post-css-cropping span {
overflow: hidden;
display: inline-block;
}