mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-06 01:16:49 -06:00
Disable selection of colon dividers in header
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
</header>
|
||||
<nav>
|
||||
<a href="/">~/</a>
|
||||
:
|
||||
<span class="no-select">:</span>
|
||||
<a href="https://xevion.dev">~/about/</a>
|
||||
:
|
||||
<span class="no-select">:</span>
|
||||
<a href="https://xevion.dev/projects">~/projects/</a>
|
||||
:
|
||||
<span class="no-select">:</span>
|
||||
<a href="https://xevion.dev/resume">~/resume/</a>
|
||||
</nav>
|
||||
@@ -26,3 +26,12 @@ p {
|
||||
body.wide {
|
||||
max-width: 60rem !important;
|
||||
}
|
||||
|
||||
.no-select {
|
||||
-webkit-touch-callout: none; /* iOS Safari */
|
||||
-webkit-user-select: none; /* Safari */
|
||||
-khtml-user-select: none; /* Konqueror HTML */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* Internet Explorer/Edge */
|
||||
user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
|
||||
}
|
||||
Reference in New Issue
Block a user