General cleanup... again

This commit is contained in:
Michał Gdula 2022-08-14 21:27:10 +00:00
parent 9dc911ea4c
commit 6a6fac8c66
6 changed files with 91 additions and 12 deletions

View file

@ -98,6 +98,46 @@
.nsfw-blur {
filter: blur(10px);
}
.nsfw-warning {
width: 100%;
height: 100%;
top: 0;
bottom: 0;
left: 0;
right: 0;
position: absolute;
z-index: 5;
display: flex; flex-direction: column;
justify-content: center;
align-items: center;
text-decoration: none;
font-family: $font-body;
span {
color: $red;
text-align: center;
text-shadow: 0 0 2px $black;
}
img {
margin: 0.25rem;
width: 2rem;
height: 2rem;
}
}
@media (max-width: 500px) {
.nsfw-warning {
span {
display: none;
}
}
}
/*
|-------------------------------------------------------------
| IMAGE