Add and edit responsive style on homepage
This commit is contained in:
@@ -64,11 +64,16 @@
|
||||
|
||||
// First row
|
||||
&:nth-child(1) {
|
||||
display: none;
|
||||
--rotation: -10.5deg;
|
||||
z-index: 11;
|
||||
grid-column-start: 2;
|
||||
grid-row: 1;
|
||||
top: clamp(24px, 8vw, 128px);
|
||||
|
||||
@include bp (sm) {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
&:nth-child(2) {
|
||||
--rotation: 3deg;
|
||||
@@ -91,26 +96,42 @@
|
||||
top: clamp(16px, 3vw, 48px);
|
||||
}
|
||||
&:nth-child(5) {
|
||||
display: none;
|
||||
--rotation: 10.5deg;
|
||||
z-index: 1;
|
||||
grid-column-start: 24;
|
||||
grid-row: 1;
|
||||
top: clamp(24px, 8vw, 128px);
|
||||
|
||||
@include bp (sm) {
|
||||
display:block;
|
||||
}
|
||||
}
|
||||
|
||||
// Second row
|
||||
&:nth-child(6) {
|
||||
display: none;
|
||||
--rotation: -5.5deg;
|
||||
z-index: 10;
|
||||
grid-column-start: 1;
|
||||
grid-row: 2;
|
||||
top: clamp(24px, 5.5vw, 132px);
|
||||
|
||||
@include bp (sm) {
|
||||
display:block
|
||||
}
|
||||
}
|
||||
&:nth-child(7) {
|
||||
--rotation: -8deg;
|
||||
grid-column-start: 5;
|
||||
z-index: 9;
|
||||
grid-row: 2;
|
||||
grid-row: 1;
|
||||
top: clamp(24px, 5.5vw, 132px);
|
||||
|
||||
@include bp (sm) {
|
||||
display:block;
|
||||
grid-row: 2;
|
||||
}
|
||||
}
|
||||
&:nth-child(8) {
|
||||
--rotation: 8deg;
|
||||
@@ -127,18 +148,28 @@
|
||||
top: calc(-1 * clamp(20px, 3vw, 48px));
|
||||
}
|
||||
&:nth-child(10) {
|
||||
display: none;
|
||||
--rotation: 8deg;
|
||||
z-index: 3;
|
||||
grid-column-start: 21;
|
||||
grid-row: 2;
|
||||
|
||||
@include bp (sm) {
|
||||
display:block
|
||||
}
|
||||
}
|
||||
&:nth-child(11) {
|
||||
display: none;
|
||||
--rotation: 5.5deg;
|
||||
z-index: 2;
|
||||
grid-column-start: 25;
|
||||
grid-row: 2;
|
||||
top: clamp(24px, 5.5vw, 132px);
|
||||
margin-right: 0;
|
||||
|
||||
@include bp (sm) {
|
||||
display:block
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -188,4 +219,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// World title
|
||||
.title-world {
|
||||
color: rgba($color-tertiary, 0.3);
|
||||
margin-top: -60px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user