diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index a00aa17..263edbc 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -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; diff --git a/_sass/addon/module.scss b/_sass/addon/module.scss index 15e8ea9..d7ef8e9 100644 --- a/_sass/addon/module.scss +++ b/_sass/addon/module.scss @@ -39,6 +39,10 @@ transition: color 0.35s ease-in-out; } +%no-cursor { + user-select: none; +} + %no-bottom-border { border-bottom: none; } diff --git a/_sass/addon/syntax.scss b/_sass/addon/syntax.scss index 4e6eb11..1a71b9b 100644 --- a/_sass/addon/syntax.scss +++ b/_sass/addon/syntax.scss @@ -133,6 +133,10 @@ code { blockquote &.highlighter-rouge { color: inherit; } + + .highlight > & { + color: transparent; + } } td.rouge-code {