Disable selection of colon dividers in header

This commit is contained in:
2023-05-13 01:23:46 -05:00
parent 37b98cb504
commit 8f680c8915
2 changed files with 12 additions and 3 deletions

View File

@@ -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>

View File

@@ -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 */
}