App.vue 641 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <script setup lang="ts">
  2. import { RouterView } from 'vue-router'
  3. </script>
  4. <template>
  5. <div class="app">
  6. <RouterView />
  7. </div>
  8. </template>
  9. <style scoped>
  10. header {
  11. line-height: 1.5;
  12. max-height: 100vh;
  13. }
  14. .logo {
  15. display: block;
  16. margin: 0 auto 2rem;
  17. }
  18. nav {
  19. width: 100%;
  20. font-size: 12px;
  21. text-align: center;
  22. margin-top: 2rem;
  23. }
  24. nav a.router-link-exact-active {
  25. color: var(--color-text);
  26. }
  27. nav a.router-link-exact-active:hover {
  28. background-color: transparent;
  29. }
  30. nav a {
  31. display: inline-block;
  32. padding: 0 1rem;
  33. border-left: 1px solid var(--color-border);
  34. }
  35. nav a:first-of-type {
  36. border: 0;
  37. }
  38. </style>