1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Change border style based on entry type (#4)

This commit is contained in:
Steffo 2019-01-02 22:19:50 +01:00
parent ff3789b85c
commit 946e09b2ab

View file

@ -47,6 +47,7 @@ blockquote {
&.spoiler { &.spoiler {
color: transparent; color: transparent;
border-color: @spoiler-color; border-color: @spoiler-color;
border-left-style: dashed;
background-color: rgba(red(@spoiler-color), green(@spoiler-color), blue(@spoiler-color), 0.1); background-color: rgba(red(@spoiler-color), green(@spoiler-color), blue(@spoiler-color), 0.1);
&:hover { &:hover {
@ -57,6 +58,7 @@ blockquote {
&:target { &:target {
color: @highlight-color; color: @highlight-color;
border-color: @highlight-color; border-color: @highlight-color;
border-left-style: dotted;
background-color: rgba(red(@highlight-color), green(@highlight-color), blue(@highlight-color), 0.1); background-color: rgba(red(@highlight-color), green(@highlight-color), blue(@highlight-color), 0.1);
} }
} }