mirror of
https://github.com/welpo/tabi.git
synced 2025-10-10 23:38:53 +02:00
🎨 refactor: turn macros into partials & sort CSS (#146)
This commit is contained in:
parent
cc029d0b19
commit
14ccb208cf
33 changed files with 392 additions and 421 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue