Website: mobile view adjustments & navbar ui tweaks

This commit is contained in:
Nikita Krupin committed 2021-12-01 22:37:01 -05:00
1 parent dcf7ac93ad
commit ffa79fa9a4
7 files changed
+36 -41

No files matched your search

+17 -21
View File
@@ -1,30 +1,27 @@
<template>
<v-app id="inspire" dark>
<v-app-bar app color="lighten-2" flat>
<v-tabs centered class="ml-n9" color="primary" router>
<v-app-bar app color="ma-4 glassy" flat style="border-radius: 1rem; overflow: hidden">
<v-tabs centered center-active color="primary" router show-arrows>
<v-tab v-for="link in links" :key="link.path" :to="link.path">
{{ link.name }}
</v-tab>
</v-tabs>
</v-app-bar>
<v-img src="/ui/abstract.svg" style="position: absolute; left: 0; right: 0; width: 100%; height: 100%;" />
<v-main>
<v-main class="pt-4">
<v-img src="/ui/abstract.svg" style="position: absolute; top: 0; right: 0; width: 100%; height: 100%;" />
<section style="height: calc(100vh - 1rem); padding-top: 5rem; padding-bottom: 5rem; overflow-y: auto;">
<center
class="mx-auto d-flex flex-column justify-center items-center"
style="width: 90vw; min-height: 100%; overflow-y: scroll;">
<section style="position: relative; height: 100%; overflow-y: auto;">
<div class="center" style="width: 90vw;">
<center style="width: 90vw">
<nuxt />
</center>
</div>
</section>
</v-main>
</v-app>
</template>
@@ -34,18 +31,17 @@ html, body {
overflow: hidden;
}
section {
height: 90vh;
width: 100vw;
}
.mainAltButton {
margin: 0.25em;
}
.center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
/* Glassmorphism effect */
.glassy {
backdrop-filter: blur(16px) saturate(180%);
-webkit-backdrop-filter: blur(16px) saturate(180%);
background-color: rgba(42, 42, 42, 0.75) !important;
border-radius: 12px;
/* border: 1px solid rgba(255, 255, 255, 0.125); */
}
</style>