this is not the right solution... it's way too obnoxious.
Revert "don't show nsfw posts without a shield in the viewer"
This reverts commit 722116cebc.
This commit is contained in:
parent
6e0b351d70
commit
98a834884f
2 changed files with 1 additions and 40 deletions
|
|
@ -5,17 +5,6 @@
|
|||
</div>
|
||||
|
||||
<div id="post-content"> </div>
|
||||
|
||||
{{#if nsfw}}
|
||||
<div id="nsfw-post-content">
|
||||
<div id="nsfw-shield" class="post">
|
||||
<h2>
|
||||
This post is Not Safe For Work.
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div id="post-nav"> </div>
|
||||
<div id="post-interactions"> </div>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@
|
|||
$light-grey: #999;
|
||||
$pane-width: 420px;
|
||||
|
||||
$large-type: 40px;
|
||||
|
||||
/* mixins */
|
||||
@mixin center($orient:vertical) {
|
||||
display: -webkit-box;
|
||||
|
|
@ -23,13 +21,6 @@ $large-type: 40px;
|
|||
box-align: center;
|
||||
}
|
||||
|
||||
@mixin rotate($orient) {
|
||||
-o-transform: rotate($orient);
|
||||
-moz-transform: rotate($orient);
|
||||
-ms-transform: rotate($orient);
|
||||
-webkit-transform: rotate($orient);
|
||||
}
|
||||
|
||||
@mixin box-shadow($left, $top, $blur, $color) {
|
||||
-webkit-box-shadow: $left $top $blur $color;
|
||||
-moz-box-shadow: $left $top $blur $color;
|
||||
|
|
@ -196,7 +187,7 @@ $large-type: 40px;
|
|||
{
|
||||
h1 {
|
||||
font-weight: bold;
|
||||
font-size: $large-type;
|
||||
font-size: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -614,7 +605,6 @@ body.idle {
|
|||
}
|
||||
}
|
||||
|
||||
#nsfw-post-content,
|
||||
#post-content {
|
||||
display: table;
|
||||
|
||||
|
|
@ -652,21 +642,3 @@ body.idle {
|
|||
right: 8px;
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
#nsfw-post-content {
|
||||
@include opacity(0.95);
|
||||
}
|
||||
|
||||
#nsfw-shield {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-image: url('../img/hatched-bg.jpg');
|
||||
background-transparency: url('../img/hatched-bg.jpg');
|
||||
|
||||
h2 {
|
||||
@include rotate(-15deg);
|
||||
|
||||
text-transform: uppercase;
|
||||
color: #979893;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue