-
Notifications
You must be signed in to change notification settings - Fork 21
/
module.C13a.NoParticipation-NonSubscribers.css
86 lines (78 loc) · 3.18 KB
/
module.C13a.NoParticipation-NonSubscribers.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.a. No Participation Mode - non subscribers version ----*/
/* by /u/KortoloB
* /r/NoParticipation
*
* Link people to np.reddit.com/r/YourSubreddit to show them a read-only version.
* Subscribers will see the full page, only non-subscribers will see the read-only version.
* This is of course by no means fool-proof, but it should work for the average user.
*/
body:lang(np):not(.subscriber) .arrow,
body:lang(np):not(.subscriber) .arrow:after,
body:lang(np):not(.subscriber) .arrow:hover {
visibility: hidden !important;
}
body:lang(np):not(.subscriber) .usertext-edit,
body:lang(np):not(.subscriber) .sidebox.submit,
body:lang(np):not(.subscriber) .commentingAs,
body:lang(np):not(.subscriber) .markdownEditor,
body:lang(np):not(.subscriber) .report-button,
body:lang(np):not(.subscriber) a[onclick*='return reply(this)'],
body:lang(np):not(.subscriber) .subButtons,
body:lang(np):not(.subscriber) .helplink,
body:lang(np):not(.subscriber) .titlebox .fancy-toggle-button.toggle > .option.add,
body:lang(np) a[href*='#btn'] {
display: none !important;
}
body:lang(np):not(.subscriber) #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):not(.subscriber) .entry.likes:not(.reddit-entry):before,
body:lang(np):not(.subscriber) .entry.dislikes:not(.reddit-entry):before {
color: #e00606;
content: 'Please do not vote or comment when you come from external subreddits and not subscribed to this community.';
font-weight: bold;
}
body.comments-page:lang(np):not(.subscriber) > div.content > .linklisting .clearleft:after,
body:lang(np):not(.subscriber) > div.content > .sitetable:after,
body:lang(np):not(.subscriber) > 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):not(.subscriber) > 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):not(.subscriber) > 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. Or click Subscribe.';
letter-spacing: 0;
font-size: 12px;
}
/* Wiki protection */
body.wiki-page:lang(np):not(.subscriber) span.pageactions a.wikiaction-edit:not(.wikiaction-current),
body.wiki-page:lang(np):not(.subscriber) div.wiki-page-content form#editform label[for='reason'],
body.wiki-page:lang(np):not(.subscriber) div.wiki-page-content form#editform input#wiki_revision_reason,
body.wiki-page:lang(np):not(.subscriber) div.wiki-page-content form#editform input[type='submit'] {
display: none !important;
}
/*-- C.13.a.end No Participation mode - non subscribers version ----*/