ADD: Components
Teaser, Card
This commit is contained in:
parent
8943512328
commit
c8e4bf4a14
8 changed files with 127 additions and 48 deletions
|
@ -17,22 +17,6 @@
|
|||
& .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) {
|
||||
|
|
43
app/assets/css/teaser.css
Normal file
43
app/assets/css/teaser.css
Normal file
|
@ -0,0 +1,43 @@
|
|||
.Teaser {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
& .image-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
&.right {
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media (width <= 1601px) {
|
||||
.Teaser {
|
||||
flex: 1 0 300px;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
justify-content: start;
|
||||
|
||||
&.right {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
& h3 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
& .text-container,
|
||||
& .text-container main {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
& .image-container img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue