Hide the cursor of icons, images, and code snippets

Found on Windows with mouse
This commit is contained in:
Cotes Chung 2021-11-02 17:54:36 +08:00
parent a34b77969f
commit 833b6c9d5c
3 changed files with 19 additions and 0 deletions

View file

@ -189,6 +189,13 @@ footer {
} }
} }
i { // fontawesome icons
&.far,
&.fas {
@extend %no-cursor;
}
}
/* --- Panels --- */ /* --- Panels --- */
.access { .access {
@ -473,6 +480,8 @@ footer {
&.img-link { &.img-link {
@include caption; @include caption;
@extend %no-cursor;
} }
} // a } // a
@ -852,6 +861,8 @@ $sidebar-display: "sidebar-display";
} }
.icon-border { .icon-border {
@extend %no-cursor;
background-color: var(--sidebar-muted-color); background-color: var(--sidebar-muted-color);
content: ""; content: "";
width: 3px; width: 3px;

View file

@ -39,6 +39,10 @@
transition: color 0.35s ease-in-out; transition: color 0.35s ease-in-out;
} }
%no-cursor {
user-select: none;
}
%no-bottom-border { %no-bottom-border {
border-bottom: none; border-bottom: none;
} }

View file

@ -133,6 +133,10 @@ code {
blockquote &.highlighter-rouge { blockquote &.highlighter-rouge {
color: inherit; color: inherit;
} }
.highlight > & {
color: transparent;
}
} }
td.rouge-code { td.rouge-code {