fix-attempt 4 on issue 59
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:
10
src/App.vue
10
src/App.vue
@@ -36,6 +36,8 @@ export default {
|
|||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
offset.value = setOffset()
|
offset.value = setOffset()
|
||||||
|
|
||||||
|
document.querySelector('.bg-img').style.height = document.documentElement.clientHeight + 'px'
|
||||||
})
|
})
|
||||||
|
|
||||||
return {offset}
|
return {offset}
|
||||||
@@ -49,6 +51,14 @@ export default {
|
|||||||
src: local("Obitron"), url("../public/fonts/Orbitron-VariableFont_wght.ttf") format("truetype");
|
src: local("Obitron"), url("../public/fonts/Orbitron-VariableFont_wght.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bg-img {
|
||||||
|
z-index: -1;
|
||||||
|
position: fixed;
|
||||||
|
width: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
#cookie-btn {
|
#cookie-btn {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 30px;
|
bottom: 30px;
|
||||||
|
@@ -24,15 +24,6 @@
|
|||||||
animation: placeholder-wave-alt 2.5s linear infinite;
|
animation: placeholder-wave-alt 2.5s linear infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-img {
|
|
||||||
z-index: -1;
|
|
||||||
position: fixed;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
object-fit: cover;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes placeholder-wave-alt {
|
@keyframes placeholder-wave-alt {
|
||||||
100% {
|
100% {
|
||||||
mask-position: -200% 0%;
|
mask-position: -200% 0%;
|
||||||
|
Reference in New Issue
Block a user