ajustement pour que les carde ressemble plus à l'affichage des articles
This commit is contained in:
parent
736a836c85
commit
07361024b5
2 changed files with 23 additions and 1 deletions
|
|
@ -98,4 +98,24 @@
|
|||
|
||||
.k-block-container:not(:last-of-type) {
|
||||
border-bottom: 1px dashed var(--color-gray-600);
|
||||
}
|
||||
|
||||
/*modif card pour ressembler au site web*/
|
||||
.k-panel[data-template="blog"] .k-item.k-cards-item[data-template="article"]{
|
||||
display: grid;
|
||||
grid-template-columns: 2fr auto 1fr;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
.k-panel[data-template="blog"] .k-item.k-cards-item[data-template="article"] .k-item-image{
|
||||
grid-column: 3/4;
|
||||
grid-row: 1/3;
|
||||
}
|
||||
.k-panel[data-template="blog"] .k-item.k-cards-item[data-template="article"] .k-item-content{
|
||||
grid-column: 1/2;
|
||||
grid-row: 1/2;
|
||||
}
|
||||
.k-panel[data-template="blog"] .k-item.k-cards-item[data-template="article"] .k-item-options{
|
||||
grid-column: 2/3;
|
||||
grid-row: 1/2;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue