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 --- */
.access {
@ -473,6 +480,8 @@ footer {
&.img-link {
@include caption;
@extend %no-cursor;
}
} // a
@ -852,6 +861,8 @@ $sidebar-display: "sidebar-display";
}
.icon-border {
@extend %no-cursor;
background-color: var(--sidebar-muted-color);
content: "";
width: 3px;

View File

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

View File

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