Анимация навбара

This commit is contained in:
Ifraim Solomonov committed 2024-03-06 13:12:16 +03:00
1 parent 29c213578e
commit 2fe8bc2cd9
22 files changed
+107 -78

No files matched your search

+31 -27
View File
@@ -1,36 +1,40 @@
@import "../../assets/styles/theme.scss";
#mainpageheader {
position: relative;
#page:has(> #mainpageheader) {
margin-top: 0;
height: 100vh;
padding: 0 10%;
#mainpageheader {
position: relative;
color: $text-secondary;
background-image: url(/assets/images/car.jpeg);
background-color: $bg-image;
background-blend-mode: multiply;
background-position: center;
background-size: cover;
height: 100vh;
padding: 0 10%;
.container {
position: absolute;
top: 40%;
display: flex;
flex-direction: column;
color: $text-secondary;
background-image: url(/assets/images/car.jpeg);
background-color: $bg-image;
background-blend-mode: multiply;
background-position: center;
background-size: cover;
h1 {
font-size: 60px;
font-weight: 600;
line-height: 63px;
margin: 0;
}
h2 {
font-size: 24px;
font-weight: 400;
line-height: 36px;
.container {
position: absolute;
top: 40%;
display: flex;
flex-direction: column;
h1 {
font-size: 60px;
font-weight: 600;
line-height: 63px;
margin: 0;
}
h2 {
font-size: 24px;
font-weight: 400;
line-height: 36px;
}
}
}
}