Skip to content
Extraits de code Groupes Projets
Valider 98a83488 rédigé par danielgrippi's avatar danielgrippi
Parcourir les fichiers

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 722116ce.
parent 6e0b351d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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;
}
}
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter