Skip to content

Commit

Permalink
fix: Get rid of pseudo spoiler label
Browse files Browse the repository at this point in the history
  • Loading branch information
egeesin committed Jan 30, 2024
1 parent 82246a0 commit 45119a5
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions static/style/shame.css
Original file line number Diff line number Diff line change
Expand Up @@ -234,28 +234,23 @@ span.spoiler {
border: var(--borderM) solid var(--colorTextOpac20);
margin-inline: calc(var(--borderM) * -1);
border-radius: var(--radiusDefault);
position: relative;
/* position: relative; */
&:hover {
color: var(--colorText);
background: transparent;
&::selection {
color: transparent;
}
&:before{
display: none;
}
/* &:before{ */
/* display: none; */
/* } */
}
&::selection {
color: transparent;
}
&:before{ /* opinionated */
content: "Spoilers!";
position: absolute;
color: var(--colorText);
/* display: inline-block; */
display: inline;
text-transform: uppercase;
font-variant-caps: all-small-caps;
/* @mixin fontSize6; */
}
/* &:before{ */
/* content: "Spoilers!"; */
/* position: absolute; */
/* color: var(--colorText); */
/* display: inline; */
/* text-transform: uppercase; */
/* font-variant-caps: all-small-caps; */
/* } */
}

0 comments on commit 45119a5

Please sign in to comment.