Modified order of blocks in Family part in mobile and desktop (final)
This commit is contained in:
@@ -48,15 +48,9 @@
|
||||
aspect-ratio: 25.375 / 18.125;
|
||||
position: relative;
|
||||
|
||||
&:nth-of-type(2) {
|
||||
.cover,
|
||||
.under {
|
||||
background-color: $secondary;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-of-type(4),
|
||||
&:nth-of-type(6) {
|
||||
&:nth-of-type(1),
|
||||
&:nth-of-type(3),
|
||||
&:nth-of-type(5) {
|
||||
.cover,
|
||||
.under {
|
||||
background-color: $secondary;
|
||||
@@ -266,12 +260,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-of-type(1) {
|
||||
order: 1;
|
||||
}
|
||||
&:nth-of-type(3) {
|
||||
order: 2;
|
||||
}
|
||||
&:nth-of-type(1) { order: 2; }
|
||||
&:nth-of-type(3) { order: 3; }
|
||||
&:nth-of-type(5) { order: 1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user