app.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <template>
  2. <NuxtLayout>
  3. <v-app>
  4. <a id="top" />
  5. <div class="content-wrapper">
  6. <div class="body">
  7. <header>
  8. <Topbar />
  9. </header>
  10. <NuxtPage />
  11. <BackToTheTop />
  12. </div>
  13. <Footer />
  14. </div>
  15. </v-app>
  16. </NuxtLayout>
  17. </template>
  18. <script setup lang="ts">
  19. const route = useRoute()
  20. useHead(() => ({
  21. link: [
  22. {
  23. rel: 'canonical',
  24. href: 'https://sauvagerie.fr' + route.path,
  25. },
  26. ],
  27. }))
  28. </script>
  29. <style lang="scss">
  30. html {
  31. scroll-behavior: smooth;
  32. height: 100%;
  33. overflow-x: hidden;
  34. font-size: 16px;
  35. }
  36. body {
  37. min-height: 100%;
  38. padding: 0;
  39. margin: 0;
  40. line-height: 1.6;
  41. }
  42. .v-application {
  43. background: url('/images/photos/20250624_220653.jpg') no-repeat center center fixed !important;
  44. background-size: cover !important;
  45. color: rgb(var(--v-theme-on-background)) !important;
  46. font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  47. min-height: 100vh;
  48. padding: 20px 0 0 0; /* Removed padding to allow footer to extend to the edges */
  49. box-sizing: border-box;
  50. letter-spacing: 0.015em;
  51. }
  52. .content-wrapper {
  53. display: flex;
  54. flex-direction: column;
  55. min-height: calc(100vh - 20px); /* Account for top padding of v-application */
  56. }
  57. .body {
  58. padding: 32px;
  59. display: flex;
  60. flex-direction: column;
  61. flex: 1;
  62. margin: 24px 15% 24px 15%; /* Increased margins for better spacing */
  63. background-color: rgba(var(--v-theme-card-background), 0.75); /* Slightly more opaque for better readability */
  64. border-radius: 16px; /* Slightly larger border radius */
  65. box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
  66. backdrop-filter: blur(8px); /* Increased blur for better contrast with background */
  67. border: 1px solid rgba(255, 255, 255, 0.4); /* Slightly more visible border */
  68. @media (max-width: 1600px) {
  69. margin: 24px 8% 24px 8%; /* Increased margins */
  70. padding: 28px;
  71. }
  72. @media (max-width: 600px) {
  73. margin: 20px 4% 20px 4%; /* Increased margins */
  74. padding: 20px;
  75. }
  76. }
  77. .topbar-container {
  78. padding: 32px 0;
  79. border-bottom: solid 1px rgba(var(--v-theme-on-background), 0.2);
  80. margin-bottom: 3rem;
  81. position: sticky;
  82. top: 0;
  83. background-color: rgb(var(--v-theme-card-background));
  84. backdrop-filter: blur(5px);
  85. z-index: 1000;
  86. }
  87. :deep(h2) {
  88. margin: 48px 0 24px 0;
  89. padding-bottom: 9px;
  90. border-bottom: solid 1px rgba(var(--v-theme-on-background), 0.2);
  91. @media (max-width: 600px) {
  92. margin: 24px 0;
  93. }
  94. }
  95. .v-footer {
  96. min-height: 36px;
  97. display: flex;
  98. flex-direction: row;
  99. justify-content: center;
  100. border-top: rgb(var(--v-theme-on-surface));
  101. font-size: 12px;
  102. margin-top: 20px; /* Add some space between content and footer */
  103. a {
  104. color: rgb(var(--v-theme-on-background));
  105. }
  106. span {
  107. margin: 0 12px;
  108. }
  109. }
  110. </style>