mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 07:48:16 -05:00
Add NSFW indicator to links in compact listings.
This commit is contained in:
@@ -213,6 +213,8 @@ body[orient="landscape"] > #topbar > h1 { margin-left: -125px; width: 250px; }
|
||||
|
||||
.link > .thing_options { font-size: x-small; margin: none; display: block; float: left; clear: left; margin: 2px 0px 0px 10px; }
|
||||
|
||||
.nsfw-warning { color: #ac3939; text-decoration: none; border: 0 none; }
|
||||
|
||||
/* Comment count */
|
||||
.commentcount { float: right; margin: 5px; width: 45px; text-align: right; }
|
||||
|
||||
|
||||
@@ -683,6 +683,12 @@ body[orient="landscape"] > #topbar > h1 {
|
||||
.link > .thing_options a{
|
||||
}
|
||||
|
||||
.nsfw-warning {
|
||||
color: #ac3939;
|
||||
text-decoration: none;
|
||||
border: 0 none;
|
||||
}
|
||||
|
||||
/* Comment count */
|
||||
.commentcount {
|
||||
float: right;
|
||||
|
||||
@@ -85,6 +85,13 @@
|
||||
${thing.link_child.css_style}"></a>
|
||||
%endif
|
||||
<div class="tagline">
|
||||
%if thing.nsfw:
|
||||
<span class="nsfw-warning">
|
||||
<acronym title="${_('Adult content: Not Safe For Work')}">
|
||||
${_("NSFW")}
|
||||
</acronym>
|
||||
</span>
|
||||
%endif
|
||||
${tagline()}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user