General style changes

This commit is contained in:
Fede Álvarez 2022-07-01 13:39:54 +02:00
parent edff569d4d
commit 04abbbbf9c
4 changed files with 16 additions and 14 deletions

View File

@ -35,19 +35,12 @@
}
&::before {
@include respond-to('mobile') {
width: 100%;
opacity: 1;
}
position: absolute;
top: 100%;
left: 0;
right: 0;
opacity: 0;
width: 0%;
// margin: auto;
background-image: repeating-linear-gradient(
0deg,
currentcolor,
@ -117,6 +110,15 @@
}
}
&--default {
&::before {
@include respond-to('mobile') {
width: 100%;
opacity: 1;
}
}
}
&--nav {
text-transform: none;
line-height: 1;

View File

@ -45,7 +45,7 @@
&::after {
position: absolute;
bottom: tovw(-45px, 'default', -45px);
bottom: tovw(-40px, 'default', -40px);
left: 0;
z-index: 1;
background: radial-gradient(
@ -55,8 +55,8 @@
rgb(3 3 3 / 1) 100%
);
transform: translateX(-30%) translateY(-3%);
width: 1000%;
height: tovw(575px, 'default', 200px);
width: 1500%;
height: tovw(580px, 'default', 180px);
content: '';
}
}

View File

@ -2,12 +2,12 @@
.section {
@include respond-to('mobile') {
margin-top: 0;
margin-top: tovw(26px, 'mobile');
margin-bottom: tovw(36px, 'mobile');
}
position: relative;
padding: tovw(30px, 'default', 25px) 0;
padding: tovw(80px, 'default', 25px) 0;
margin-bottom: tovw(100px, 'default', 80px);
}

View File

@ -5,12 +5,12 @@
margin-top: 0;
display: flex;
place-content: center;
padding-bottom: tovw(60px, 'mobile');
padding-bottom: tovw(30px, 'mobile');
margin-bottom: 0;
}
position: relative;
margin: tovw(105px, 'default', 55px) 0;
margin: tovw(65px, 'default', 55px) 0 tovw(105px, 'default', 55px) 0;
padding: tovw(64px, 'default', 55px) 0;
.container {