-
Notifications
You must be signed in to change notification settings - Fork 56
/
blacklists.scss
90 lines (74 loc) · 1.56 KB
/
blacklists.scss
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
#blacklist-box {
display: none;
margin-bottom: 1em;
.blacklist-help {
font-size: 0.85em;
font-weight: bold;
}
.blacklist-header {
display: flex;
justify-content: space-between;
}
#blacklist-collapse {
cursor: pointer;
&::before {
content: '▼ '
}
&.hidden::before {
content: '► ';
}
}
#blacklist-list {
a {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: bottom;
}
a.entry-disabled {
text-decoration: line-through;
}
}
&.sidebar-blacklist ul li {
list-style-type: disc;
list-style-position: inside;
a {
max-width: 75%;
}
}
&.inline-blacklist {
margin-bottom: 1em;
#blacklist-list {
display: inline;
li {
display: inline;
margin-right: 1em;
a {
max-width: 25%;
}
}
}
}
}
// Completely hide the blacklisted posts on these pages only
#c-posts #a-index, #c-popular, #c-favorites {
.post-preview.blacklisted {
display: none !important;
}
}
#image-container.blacklisted, .post-thumbnail.blacklisted, .post-preview.blacklisted {
img, video {
height: 0px !important;
width: 0px !important;
padding: 150px 150px 0px 0px !important;
background: url("images/blacklisted-preview.png") !important;
@media screen and (max-width: 800px) {
background-size: 100px !important;
padding: 100px 100px 0px 0px !important;
}
}
#note-container {
display: none;
}
}