diff --git a/public/celestials_bg-min.jpg b/public/celestials_bg-min.jpg new file mode 100644 index 0000000..50183dc Binary files /dev/null and b/public/celestials_bg-min.jpg differ diff --git a/public/celestials_bg.jpg b/public/celestials_bg.jpg new file mode 100644 index 0000000..99fbb5c Binary files /dev/null and b/public/celestials_bg.jpg differ diff --git a/src/assets/scss/_animations.scss b/src/assets/scss/_animations.scss index c7ea9b2..601de22 100644 --- a/src/assets/scss/_animations.scss +++ b/src/assets/scss/_animations.scss @@ -7,6 +7,24 @@ } } +@keyframes fadeIn { + from { + opacity: 0; + } + to { + opacity: 100%; + } +} + +@keyframes fromBottom { + from { + transform: translateY(20px); + } + to { + transform: translateY(0); + } +} + @keyframes paneBgAround { 0% { background-position: -10vw 0%; @@ -17,4 +35,14 @@ 100% { background-position: -10vw 0%; } -} \ No newline at end of file +} + +.fade-in-children { + @for $i from 1 through 10 { + :nth-child(#{$i}) { + opacity: 0; + animation: fadeIn 1.5s ease-in-out 1s 1 forwards, fromBottom 1.5s ease-in-out 1s 1 forwards; + animation-delay: 0.25s + $i * 0.25s; + } + } +} diff --git a/src/assets/scss/_global.scss b/src/assets/scss/_global.scss index 034d4f3..cb6e8bf 100644 --- a/src/assets/scss/_global.scss +++ b/src/assets/scss/_global.scss @@ -17,7 +17,7 @@ h1, h2, h3, h4, h5, h6 { font-family: $heading-font-family; font-weight: $fw-regular; } -h1 { font-size: 30px; } +h1 { font-size: 50px; } h2 { font-size: 25px; } h3 { font-size: 22px; } h4 { font-size: 18px; } @@ -25,7 +25,7 @@ h4 { font-size: 18px; } .heading { &-1 { margin-bottom: 20px; - font-size: 30px; + font-size: 50px; font-weight: $fw-semibold; } &-2 { diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index 9881be6..7eeee35 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -45,11 +45,12 @@ export default defineComponent({ position: fixed; top: 0; left: 0; - right: 0; + width: 100%; height: 70px; padding: 0 20px; background: $fs-black; box-shadow: 0 5px 5px rgba($black, 0.3); + z-index: 9999; &:after { position: absolute; diff --git a/src/views/Home.vue b/src/views/Home.vue index 069db74..94d516e 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,6 +1,6 @@