changed styling and folder structure to sass

This commit is contained in:
Yusuf Ipek
2021-05-01 14:08:23 +03:00
parent 9dabcc2098
commit f4660562a4
18 changed files with 223 additions and 197 deletions
+31
View File
@@ -0,0 +1,31 @@
.header {
height: 95vh;
background-image: linear-gradient(
to right bottom,
rgba($color-primary-light, 0.8),
rgba($color-primary-dark, 0.8)
),
url(../../commons/images/hero.jpg);
background-size: cover;
background-position: top;
clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
position: relative;
&__logo-box {
position: absolute;
top: 4rem;
left: 4rem;
}
&__text-box {
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
&__logo {
height: 3.5rem;
}
}