add icon folder
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s

This commit is contained in:
Julie Blanc 2026-01-27 23:06:29 +01:00
parent d3c5e5c39d
commit 3836144423
7 changed files with 66 additions and 15 deletions

View file

@ -31,6 +31,15 @@
font-size: var(--fs-normal);
}
.icon{
padding-right: 1ch;
svg{
height: 15px;
width: 15px;
fill: var(--color-txt);
}
}
}
.short{
@ -75,7 +84,6 @@
display: flex;
flex-direction: column;
padding: calc(var(--padding-inner)*0.5);
background-color: yellow;
// .short{ display: none; }
.content{ display: contents;}
@ -93,6 +101,19 @@
@container cardfolder (width < 680px) {
figure{
aspect-ratio: inherit;
width: 100%;
height: 100%;
}
.short{
margin-top: calc(var(--spacing)*0.5);
}
}
@container cardfolder (width < 520px) {
figure{
aspect-ratio: inherit;
@ -103,4 +124,5 @@
font-size: var(--fs-small);
}
}

View file

@ -1497,6 +1497,14 @@ button.sort[data-sort-type=up] .arrow {
font-size: var(--fs-normal);
}
}
.card--folder .title .icon {
padding-right: 1ch;
}
.card--folder .title .icon svg {
height: 15px;
width: 15px;
fill: var(--color-txt);
}
.card--folder .short {
display: -webkit-box;
-webkit-line-clamp: 3;
@ -1562,7 +1570,6 @@ button.sort[data-sort-type=up] .arrow {
display: flex;
flex-direction: column;
padding: calc(var(--padding-inner) * 0.5);
background-color: yellow;
}
.card--folder .content {
display: contents;
@ -1581,6 +1588,16 @@ button.sort[data-sort-type=up] .arrow {
}
}
@container cardfolder (width < 680px) {
figure {
aspect-ratio: inherit;
width: 100%;
height: 100%;
}
.short {
margin-top: calc(var(--spacing) * 0.5);
}
}
@container cardfolder (width < 520px) {
figure {
aspect-ratio: inherit;

File diff suppressed because one or more lines are too long

1
assets/icons/folder.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.083 4c1.38 1.612 2.578 3 4.917 3h11v13h-20v-16h4.083zm.917-2h-7v20h24v-17h-13c-1.629 0-2.305-1.058-4-3z"/></svg>

After

Width:  |  Height:  |  Size: 207 B