first responsive adjustments done

This commit is contained in:
dqnid committed 2024-03-24 07:08:50 +01:00
1 parent a45d6208d5
commit f747723770
20 files changed
+317 -72

No files matched your search

+71 -50
View File
@@ -1,70 +1,91 @@
body {
font-family: "Lato",Verdana, Geneva, Tahoma, sans-serif;
font-weight: 400;
/* font-size: 16px; */
line-height: 1.7;
color: $color-gray-dark;
font-family: "Lato", Verdana, Geneva, Tahoma, sans-serif;
font-weight: 400;
/* font-size: 16px; */
line-height: 1.7;
color: $color-gray-dark;
}
.heading--primary {
color: $color-white;
text-transform: uppercase;
margin-bottom: 6rem;
color: $color-white;
text-transform: uppercase;
margin-bottom: 6rem;
&-main {
display: block;
font-size: 6rem;
font-weight: 400;
letter-spacing: 3.5rem;
animation-name: slideLeft;
animation-duration: 1s;
animation-timing-function: ease-in;
}
&-main {
display: block;
font-size: 6rem;
font-weight: 400;
letter-spacing: 3.5rem;
&-sub {
display: block;
font-size: 2rem;
font-weight: 700;
letter-spacing: 1.75rem;
animation-name: slideRight;
animation-duration: 1s;
animation-timing-function: ease-in;
animation-name: slideLeft;
animation-duration: 1s;
animation-timing-function: ease-in;
@include respond(phone) {
letter-spacing: 1rem;
font-size: 5rem;
}
}
&-sub {
display: block;
font-size: 2rem;
font-weight: 700;
letter-spacing: 1.75rem;
animation-name: slideRight;
animation-duration: 1s;
animation-timing-function: ease-in;
@include respond(phone) {
letter-spacing: .5rem;
}
}
}
.heading--secondary {
font-size: 3.5rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 3.5rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 2px;
display: inline-block;
display: inline-block;
background-image: linear-gradient(to right, $color-primary-light, $color-primary-dark);
background-clip: floor($number: 0);
-webkit-background-clip: text;
color: transparent;
background-image: linear-gradient(
to right,
$color-primary-light,
$color-primary-dark
);
transition: all .2s;
background-clip: floor($number: 0);
-webkit-background-clip: text;
color: transparent;
&:hover {
transform: skewY(2deg) skewX(15deg) scale(1.1);
text-shadow: .5rem 1rem 2rem rgba($color-black, .2);
}
transition: all 0.2s;
@include respond(tab-port) {
font-size: 3rem
}
@include respond(phone) {
font-size: 2.5rem;
}
&:hover {
transform: skewY(2deg) skewX(15deg) scale(1.1);
text-shadow: 0.5rem 1rem 2rem rgba($color-black, 0.2);
}
}
.heading--terciary {
font-size: $default-font-size;
font-weight: 700;
text-transform: capitalize;
font-size: $default-font-size;
font-weight: 700;
text-transform: capitalize;
}
.paragraph {
font-size: $default-font-size;
&:not(:last-child) {
margin-bottom: 3rem;
}
}
font-size: $default-font-size;
&:not(:last-child) {
margin-bottom: 3rem;
}
}