feat: update catalogue templates
This commit is contained in:
parent
86f0122fd9
commit
55982e5bf5
6 changed files with 38 additions and 21 deletions
|
@ -1,5 +1,5 @@
|
|||
.catalogue .meta picture {
|
||||
inline-size: 10rem;
|
||||
.catalogue {
|
||||
container-type: inline-size;
|
||||
}
|
||||
|
||||
.catalogue-type {
|
||||
|
@ -9,6 +9,23 @@
|
|||
|
||||
.catalogue-meta {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr;
|
||||
font-size: 0.875rem;
|
||||
grid-template-columns: 1fr 200px;
|
||||
}
|
||||
|
||||
.catalogue-meta picture {
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
.catalogue-meta > *:first-child {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
@container (max-width: 32rem) {
|
||||
.catalogue-meta {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.catalogue-meta > *:first-child {
|
||||
order: initial;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
FLOW UTILITY
|
||||
Like the Every Layout stack: https://every-layout.dev/layouts/stack/
|
||||
Info about this implementation: https://piccalil.li/quick-tip/flow-utility/
|
||||
*/
|
||||
* FLOW UTILITY
|
||||
* Like the Every Layout stack: https://every-layout.dev/layouts/stack/
|
||||
* Info about this implementation: https://piccalil.li/quick-tip/flow-utility/
|
||||
*/
|
||||
.flow > * + * {
|
||||
margin-block-start: var(--flow-space, 1em);
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
VISUALLY HIDDEN UTILITY
|
||||
Info: https://piccalil.li/quick-tip/visually-hidden/
|
||||
*/
|
||||
* VISUALLY HIDDEN UTILITY
|
||||
* Info: https://piccalil.li/quick-tip/visually-hidden/
|
||||
*/
|
||||
.visually-hidden {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue