Responsive?
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 34s

This commit is contained in:
2026-03-22 01:46:36 +01:00
parent ea473c6f35
commit dc427f5981
2 changed files with 24 additions and 5 deletions

View File

@@ -1,8 +1,7 @@
<template> <template>
<img ref="sprite" v-show="loaded" <img ref="sprite" v-show="loaded"
class="sprite pixelated" class="sprite pixelated"
:src="props.path" :src="props.path">
:width="props.width">
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@@ -13,8 +12,7 @@ const props = defineProps<{
top?: string, top?: string,
right?: string, right?: string,
left?: string, left?: string,
bottom?: string, bottom?: string
width: string
}>(); }>();
const sprite = ref(null); const sprite = ref(null);
@@ -34,5 +32,14 @@ onMounted(() => {
.sprite { .sprite {
position: absolute; position: absolute;
z-index: 1; z-index: 1;
width: 1300px;
@media screen and (max-width: 900px) {
width: 650px;
}
@media screen and (max-width: 1200px) and (min-width: 900px) {
width: 975px;
}
} }
</style> </style>

View File

@@ -44,7 +44,7 @@ onBeforeUnmount(() => {
<HeaderLinks></HeaderLinks> <HeaderLinks></HeaderLinks>
</div> </div>
<div class="undertable"> <div class="undertable">
<Sprite :path="spritePath" bottom="-141px" left="-75px" width="1300"></Sprite> <Sprite :path="spritePath" bottom="-141px" left="-75px"></Sprite>
</div> </div>
<div class="header-container"> <div class="header-container">
<SiteOptions></SiteOptions> <SiteOptions></SiteOptions>
@@ -71,6 +71,18 @@ onBeforeUnmount(() => {
margin-left: -425px; margin-left: -425px;
margin-bottom: 25px; margin-bottom: 25px;
user-select: none; user-select: none;
@media screen and (max-width: 1200px) and (min-width: 900px) {
left: -50px;
bottom: 20px;
margin-top: 350px;
}
@media screen and (max-width: 900px) {
left: 70px;
bottom: 50px;
margin-top: 250px;
}
} }
.web-links { .web-links {