add: category, date sorting
Add category layouts and date sorting
This commit is contained in:
parent
91b59e4ebe
commit
9b66a79a8c
17 changed files with 2495 additions and 17729 deletions
|
@ -12,6 +12,17 @@
|
|||
scale: 1.05;
|
||||
}
|
||||
|
||||
& > .image {
|
||||
flex: 0 0 200px;
|
||||
width: 100%;
|
||||
|
||||
& img {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
& .card-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -24,6 +35,11 @@
|
|||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
& header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
& footer {
|
||||
margin-top: auto;
|
||||
display: flex;
|
||||
|
@ -41,4 +57,12 @@
|
|||
color: var(--color-orange);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media (width <= 780px) {
|
||||
.BlogCard header {
|
||||
align-items: center;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue