<script setup>
import { RouterView } from "vue-router";
import TopNav from "@/components/TopNav/index.vue";
</script>

<template>
  <TopNav />

  <RouterView />
</template>

<style lang="scss">
html.dark {
  --el-color-primary: #b49d7e !important;
}

#app {
  --topnav-height: 80px;

  min-width: 1100px;
}

.w1100 {
  margin: 0 auto;
  width: 1100px;
  overflow: hidden;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s ease;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-left-enter-active,
.slide-left-leave-active {
  transition: all 0.2s ease-in-out;
  opacity: 1;
  transform: translateX(0);
}
.slide-left-enter-from,
.slide-left-leave-to {
  opacity: 0;
  transform: translateX(50%);
}
</style>
