-
Notifications
You must be signed in to change notification settings - Fork 21
/
module.C13b.NoParticipation-AlsoSubscribers.css
86 lines (78 loc) · 2.7 KB
/
module.C13b.NoParticipation-AlsoSubscribers.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
/*-- C.13.b. No Participation Mode - Also subscribers-version ----*/
/* by /u/KortoloB
* /r/NoParticipation
*
* Link people to np.reddit.com/r/YourSubreddit to show them a read-only version.
* All users will see the read-only version when url has np.
* This is of course by no means fool-proof, but it should work for the average user.
*/
body:lang(np) .arrow,
body:lang(np) .arrow:after,
body:lang(np) .arrow:hover {
visibility: hidden !important;
}
body:lang(np) .usertext-edit,
body:lang(np) .sidebox.submit,
body:lang(np) .commentingAs,
body:lang(np) .markdownEditor,
body:lang(np) .report-button,
body:lang(np) a[onclick*='return reply(this)'],
body:lang(np) .subButtons,
body:lang(np) .helplink,
body:lang(np) .titlebox .fancy-toggle-button.toggle > .option.add,
body:lang(np) a[href*='#btn'] {
display: none !important;
}
body:lang(np) #siteTable:before {
display: block;
overflow: hidden;
margin: -5px 0 5px 0;
padding: 5px 10px;
background-color: #fdf7dd;
color: #e00606;
content: 'You have been linked to a read-only version of this subreddit. Please respect the community by not voting.';
font-weight: bold;
font-size: small;
}
body:lang(np) .entry.likes:not(.reddit-entry):before,
body:lang(np) .entry.dislikes:not(.reddit-entry):before {
color: #e00606;
content: 'Please do not vote or comment when you come from external subreddits.';
font-weight: bold;
}
body.comments-page:lang(np) > div.content > .linklisting .clearleft:after,
body:lang(np) > div.content > .sitetable:after,
body:lang(np) > div.content:after {
position: relative;
display: inline-block;
margin: 10px 0;
padding: 10px 10px 0;
color: #bbb;
content: 'You are viewing a limited version of the subreddit.';
letter-spacing: -1px;
font-size: 20px;
}
body:lang(np) > div.content > .sitetable:after {
margin: 35px 0 0;
padding: 10px 10px 0;
color: #999;
content: 'No-participation - just read-only, no comments, no voting';
font-size: 24px;
}
body:lang(np) > div.content > div.commentarea:before {
margin: -10px 15px;
padding: 0 2px;
background-color: #aaa;
color: #fff;
content: 'To revert to normal version, replace \'np.reddit.com\' with \'www.reddit.com\' in the url. Please respect the community when visiting from external urls';
letter-spacing: 0;
font-size: 12px;
}
/* Wiki protection */
body.wiki-page:lang(np) span.pageactions a.wikiaction-edit:not(.wikiaction-current),
body.wiki-page:lang(np) div.wiki-page-content form#editform label[for='reason'],
body.wiki-page:lang(np) div.wiki-page-content form#editform input#wiki_revision_reason,
body.wiki-page:lang(np) div.wiki-page-content form#editform input[type='submit'] {
display: none !important;
}
/*-- C.13.b.end No Participation mode - Also subscribers-version----*/