🎨 refactor: turn macros into partials & sort CSS (#146)

This commit is contained in:
Óscar
2023-09-12 21:28:33 +02:00
committed by GitHub
parent cc029d0b19
commit 14ccb208cf
33 changed files with 392 additions and 421 deletions

View File

@@ -3,15 +3,15 @@
}
.spoiler-content {
cursor: help; // Indicate interactive element.
display: inline-block; // Allow content to only take up its own width.
cursor: help; // Indicate interactive element.
.spoiler-hidden {
filter: blur(6px);
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
filter: blur(6px);
user-select: none;
a {
pointer-events: none; // Make links unclickable.
@@ -32,9 +32,9 @@
.spoiler-container.fixed-blur {
.spoiler-content:before {
content: 'SPOILER'; // Display the word "SPOILER".
filter: blur(6px);
display: inline-block; // Block display within the inline flow.
filter: blur(6px);
content: 'SPOILER'; // Display the word "SPOILER".
}
.spoiler-content .spoiler-hidden {