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:
danielgrippi 2012-02-26 14:24:16 -08:00
parent 6e0b351d70
commit 98a834884f
2 changed files with 1 additions and 40 deletions

View file

@ -5,17 +5,6 @@
</div> </div>
<div id="post-content"> </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-nav"> </div>
<div id="post-interactions"> </div> <div id="post-interactions"> </div>

View file

@ -3,8 +3,6 @@
$light-grey: #999; $light-grey: #999;
$pane-width: 420px; $pane-width: 420px;
$large-type: 40px;
/* mixins */ /* mixins */
@mixin center($orient:vertical) { @mixin center($orient:vertical) {
display: -webkit-box; display: -webkit-box;
@ -23,13 +21,6 @@ $large-type: 40px;
box-align: center; 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) { @mixin box-shadow($left, $top, $blur, $color) {
-webkit-box-shadow: $left $top $blur $color; -webkit-box-shadow: $left $top $blur $color;
-moz-box-shadow: $left $top $blur $color; -moz-box-shadow: $left $top $blur $color;
@ -196,7 +187,7 @@ $large-type: 40px;
{ {
h1 { h1 {
font-weight: bold; font-weight: bold;
font-size: $large-type; font-size: 40px;
} }
} }
@ -614,7 +605,6 @@ body.idle {
} }
} }
#nsfw-post-content,
#post-content { #post-content {
display: table; display: table;
@ -652,21 +642,3 @@ body.idle {
right: 8px; right: 8px;
top: 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;
}
}