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

This commit is contained in:
2026-03-22 01:59:30 +01:00
parent dc427f5981
commit 9748de4286
4 changed files with 41 additions and 11 deletions

View File

@@ -33,13 +33,17 @@ onMounted(() => {
position: absolute; position: absolute;
z-index: 1; z-index: 1;
width: 1300px; width: 1300px;
@media screen and (max-width: 900px) {
width: 650px;
}
@media screen and (max-width: 1200px) and (min-width: 900px) { @media screen and (max-width: 1200px) and (min-width: 900px) {
width: 975px; width: 975px;
} }
@media screen and (max-width: 900px) and (min-width: 600px) {
width: 650px;
}
@media screen and (max-width: 600px){
width: 425px;
}
} }
</style> </style>

View File

@@ -6,7 +6,7 @@ import SiteOptions from './site_options/SiteOptions.vue';
<template> <template>
<div class="header"> <div class="header">
<div class="container"> <div class="container">
<div class="header-container"> <div class="header-container website">
<h1>ARANROIG.COM</h1> <h1>ARANROIG.COM</h1>
<HeaderLinks></HeaderLinks> <HeaderLinks></HeaderLinks>
</div> </div>
@@ -28,6 +28,14 @@ import SiteOptions from './site_options/SiteOptions.vue';
justify-content: space-between; justify-content: space-between;
} }
.header-container {
&.website {
@media screen and (max-width: 600px) {
margin-top: 20px;
}
}
}
.header-container { .header-container {
position:relative; position:relative;
margin-bottom: 20px; margin-bottom: 20px;

View File

@@ -39,7 +39,7 @@ onBeforeUnmount(() => {
<template> <template>
<div class="header"> <div class="header">
<div class="header-container"> <div class="header-container website">
<h1 class="title">{{ displayedText }}</h1> <h1 class="title">{{ displayedText }}</h1>
<HeaderLinks></HeaderLinks> <HeaderLinks></HeaderLinks>
</div> </div>
@@ -53,9 +53,6 @@ onBeforeUnmount(() => {
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
.header-conainer {
position:relative;
}
.header { .header {
position: relative; position: relative;
margin-top: 30px; margin-top: 30px;
@@ -64,6 +61,16 @@ onBeforeUnmount(() => {
justify-content: space-between; justify-content: space-between;
} }
.header-container {
&.website {
z-index: 200;
@media screen and (max-width: 600px) {
margin-top: 20px;
}
}
}
.undertable { .undertable {
position: relative; position: relative;
left: -200px; left: -200px;
@@ -71,6 +78,7 @@ onBeforeUnmount(() => {
margin-left: -425px; margin-left: -425px;
margin-bottom: 25px; margin-bottom: 25px;
user-select: none; user-select: none;
pointer-events: none;
@media screen and (max-width: 1200px) and (min-width: 900px) { @media screen and (max-width: 1200px) and (min-width: 900px) {
left: -50px; left: -50px;
@@ -78,11 +86,17 @@ onBeforeUnmount(() => {
margin-top: 350px; margin-top: 350px;
} }
@media screen and (max-width: 900px) { @media screen and (max-width: 900px) and (min-width: 600px) {
left: 70px; left: 70px;
bottom: 50px; bottom: 50px;
margin-top: 250px; margin-top: 250px;
} }
@media screen and (max-width: 600px) {
left: 150px;
bottom: 70px;
margin-top: 250px;
}
} }
.web-links { .web-links {

View File

@@ -15,5 +15,9 @@ import ThemeSelector from './ThemeSelector.vue';
display: flex; display: flex;
justify-content: right; justify-content: right;
width: 400px; width: 400px;
@media screen and (max-width: 600px) {
margin-top: -10px;
}
} }
</style> </style>