FIX: mobile layout for easy skills
Better layout for easily explained skills
This commit is contained in:
parent
d8593a7280
commit
9ecafeba02
6 changed files with 75 additions and 27 deletions
|
@ -178,6 +178,10 @@ span.chip {
|
|||
margin-top: 6rem;
|
||||
}
|
||||
|
||||
.place-bottom {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.flex-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
|
@ -17,4 +17,50 @@
|
|||
& .bottom {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
& .image-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
& .skill-card {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
&.reverse {
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (width <= 1601px) {
|
||||
.Skills {
|
||||
& .skill-container {
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
& .skill-card.reverse,
|
||||
& .skill-card {
|
||||
flex: 1 0 300px;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
& .skill-card h3 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
& .text-container,
|
||||
& .text-container main {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
& .image-container img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue