#28 added tabindex for "home"
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
This commit is contained in:
@@ -20,7 +20,7 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style lang="scss">
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Obitron";
|
font-family: "Obitron";
|
||||||
src: local("Obitron"), url("assets/fonts/Orbitron-VariableFont_wght.ttf") format("truetype");
|
src: local("Obitron"), url("assets/fonts/Orbitron-VariableFont_wght.ttf") format("truetype");
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="footer bg-secondary text-center pt-5 pb-4">
|
<div class="footer bg-secondary text-center pt-5 pb-4">
|
||||||
<div class="icons pb-4">
|
<div class="icons pb-4">
|
||||||
<a aria-label="Git Link" class="text-white" href="https://git.harting.dev/CSGOWTF" target="_blank">
|
<a aria-label="Git Link" class="gitea text-white" href="https://git.harting.dev/CSGOWTF" target="_blank">
|
||||||
<!-- <i class="bi bi-github"></i>-->
|
<!-- <i class="bi bi-github"></i>-->
|
||||||
<img alt="Gitea Icon" src="../assets/images/icons/gitea.svg">
|
<img alt="Gitea Icon" src="../assets/images/icons/gitea.svg">
|
||||||
</a>
|
</a>
|
||||||
@@ -31,6 +31,18 @@ export default {
|
|||||||
height: 35px;
|
height: 35px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a:not(.gitea):focus,
|
||||||
|
a:not(.gitea):hover {
|
||||||
|
outline: none;
|
||||||
|
box-shadow: 0 4px 2px -2px var(--bs-warning);
|
||||||
|
}
|
||||||
|
|
||||||
|
.gitea:focus,
|
||||||
|
.gitea:hover {
|
||||||
|
outline: none;
|
||||||
|
filter: brightness(0.4) sepia(1) hue-rotate(15deg) saturate(2);
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: .85rem;
|
font-size: .85rem;
|
||||||
}
|
}
|
||||||
|
@@ -186,6 +186,11 @@ nav {
|
|||||||
box-shadow: 0 4px 2px -2px var(--bs-warning);
|
box-shadow: 0 4px 2px -2px var(--bs-warning);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:focus-visible {
|
||||||
|
outline: none;
|
||||||
|
box-shadow: 0 4px 2px -2px var(--bs-warning);
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #bdbdbd !important;
|
color: #bdbdbd !important;
|
||||||
transition: 250ms ease-in-out;
|
transition: 250ms ease-in-out;
|
||||||
@@ -223,6 +228,10 @@ nav {
|
|||||||
margin-top: 17px;
|
margin-top: 17px;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|
||||||
|
&:focus-visible {
|
||||||
|
outline: none;
|
||||||
|
box-shadow: 0 4px 2px -2px var(--bs-warning);
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: var(--bs-warning);
|
color: var(--bs-warning);
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
<h3 class="mb-lg-5">Open source CSGO data platform</h3>
|
<h3 class="mb-lg-5">Open source CSGO data platform</h3>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="recentVisited !== null" class="recent-search mt-5 mb-5 row gap-2 justify-content-center">
|
<div v-if="recentVisited !== null" class="recent-search mt-5 mb-5 row gap-2 justify-content-center">
|
||||||
<div v-for="(player, id) in recentVisited" :key="player.steamid64" class="player-card">
|
<div v-for="(player, id) in recentVisited" :key="player.steamid64" class="player-card" tabindex="0" @keyup.enter="GoToPlayer(player.vanity_url || player.steamid64)">
|
||||||
<div class="p-2" @click="GoToPlayer(player.vanity_url || player.steamid64)">
|
<div class="p-2" @click="GoToPlayer(player.vanity_url || player.steamid64)">
|
||||||
<div class="col-md-4 m-auto">
|
<div class="col-md-4 m-auto">
|
||||||
<img :alt="player.name" :src="player.avatar">
|
<img :alt="player.name" :src="player.avatar">
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
<p>{{ player.name }}</p>
|
<p>{{ player.name }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<i class="delete fas fa-times" @click="removeRecentVisited(id)"></i>
|
<i class="delete fas fa-times" tabindex="0" @click="removeRecentVisited(id)"></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr v-if="recentVisited !== null" class="m-auto text-muted">
|
<hr v-if="recentVisited !== null" class="m-auto text-muted">
|
||||||
@@ -146,8 +146,14 @@ export default {
|
|||||||
&:hover {
|
&:hover {
|
||||||
background: var(--bs-primary);
|
background: var(--bs-primary);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
.delete {
|
&:focus {
|
||||||
|
outline: none;
|
||||||
|
background: var(--bs-warning) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover > .delete {
|
||||||
display: initial;
|
display: initial;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
@@ -158,7 +164,6 @@ export default {
|
|||||||
color: maroon;
|
color: maroon;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
@@ -180,6 +185,7 @@ export default {
|
|||||||
h1 {
|
h1 {
|
||||||
font-size: 4rem;
|
font-size: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
padding: 0 2rem;
|
padding: 0 2rem;
|
||||||
|
Reference in New Issue
Block a user