Post banners!

This commit is contained in:
daudix
2024-07-13 22:48:55 +03:00
parent 2ae84fb5d5
commit f690ec1105
5 changed files with 28 additions and 5 deletions

18
sass/_article.scss Normal file
View File

@ -0,0 +1,18 @@
#banner {
$mask: linear-gradient(rgba(0, 0, 0, 0.7), transparent);
-webkit-mask-image: $mask;
position: absolute;
top: 0;
left: 0;
z-index: -1;
mask-image: $mask;
transition: none;
margin: 0;
user-select: none;
&.bright {
$mask: linear-gradient(rgba(0, 0, 0, 0.3), transparent);
-webkit-mask-image: $mask;
mask-image: $mask;
}
}