HomeView.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <script setup>
  2. import Navbar from "../components/Navbar.vue";
  3. </script>
  4. <template>
  5. <Navbar />
  6. <main>
  7. <RouterView />
  8. </main>
  9. </template>
  10. <style lang="scss">
  11. main {
  12. display: flex;
  13. flex-direction: column;
  14. justify-content: center;
  15. align-items: center;
  16. }
  17. h3,
  18. p {
  19. font-weight: 500;
  20. letter-spacing: 3px;
  21. line-height: 1.6;
  22. text-align: center;
  23. color: white;
  24. }
  25. .content {
  26. width: 100%;
  27. padding: 4rem 0 6rem;
  28. position: relative;
  29. background-color: var(--sub-color);
  30. .description {
  31. letter-spacing: 2px;
  32. color: #b3b3b4;
  33. text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  34. }
  35. }
  36. .main-bg {
  37. background-image: url("../assets/img/background.webp");
  38. background-position: center;
  39. background-size: cover;
  40. }
  41. .main-btn {
  42. width: 14rem;
  43. padding: 0.8rem;
  44. display: block;
  45. font-size: 1.625rem;
  46. font-weight: 600;
  47. color: var(--main-color);
  48. border: 2px solid var(--main-color);
  49. background-color: var(--sub-color);
  50. border-radius: 100px;
  51. letter-spacing: 2px;
  52. text-decoration: none;
  53. text-align: center;
  54. cursor: pointer;
  55. transition: all 0.3s;
  56. &:hover {
  57. opacity: 0.8;
  58. }
  59. &:last-child {
  60. margin-bottom: 0;
  61. }
  62. @media (max-width: 600px) {
  63. font-size: 1rem;
  64. }
  65. }
  66. .title {
  67. padding-top: 4rem;
  68. margin-bottom: 2rem;
  69. font-size: 1.625rem;
  70. text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  71. @media (max-width: 600px) {
  72. padding-top: 2rem;
  73. font-size: 1.25rem;
  74. }
  75. }
  76. .lartern-content {
  77. height: 100vh;
  78. display: flex;
  79. flex-direction: column;
  80. justify-content: center;
  81. align-items: center;
  82. position: relative;
  83. background-blend-mode: multiply;
  84. background-image: url("@/assets/img/tandan.webp");
  85. background-size: cover;
  86. background-repeat: no-repeat;
  87. background-position: 85% 50%;
  88. p,
  89. li {
  90. line-height: 1.7;
  91. letter-spacing: 2px;
  92. text-align: center;
  93. color: #b3b3b4;
  94. text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  95. }
  96. }
  97. </style>