LexSol
1
.palette-small,
.part {
display: flex;
}
.palette-box:first-child .palette-small {
justify-content: center;
flex-direction: column;
}
.palette-box:first-child .color-4 {
align-self: center;
order: 2;
}
.palette-box:first-child .color-3 {
align-self: center;
order: -1
}
.palette-box:first-child .color-2 {
order: 1;
}
.palette-box:nth-child(2) .palette-small,
.palette-box:nth-child(4) .part:last-child {
justify-content: space-between;
flex-direction: column-reverse;
align-items: flex-start;
}
.palette-box:nth-child(2) .color-6,
.palette-box:nth-child(2) .color-2 {
align-self: flex-end;
}
.palette-box:nth-child(3) .palette-small,
.palette-box:nth-child(4) .part:first-child,
.palette-box:nth-child(4) .palette-small{
flex-direction: row;
justify-content: space-between;
}
.palette-box:nth-child(3) .part:first-child,
.palette-box:nth-child(3) .part:last-child{
flex-direction: column;
justify-content: space-between;
}