events-grid - finish
This commit is contained in:
parent
024e142a23
commit
41a7b7b4cb
5 changed files with 36 additions and 11 deletions
|
|
@ -5,6 +5,7 @@ body.progress * {
|
|||
.grid {
|
||||
--column-gap: calc(var(--space-m) * 1.5);
|
||||
--row-gap: calc(var(--space-m) / 2);
|
||||
--row-length: calc(12 / var(--span));
|
||||
display: grid;
|
||||
grid-template-columns: repeat(12, 1fr);
|
||||
column-gap: var(--column-gap);
|
||||
|
|
@ -16,8 +17,11 @@ body.progress * {
|
|||
}
|
||||
|
||||
.grid__item picture {
|
||||
--white-space: calc(var(--column-gap) + var(--space-m) * 2);
|
||||
--width: calc((100vw - var(--white-space)) / 2);
|
||||
--column-gap-nbr: var(--row-length) - 1;
|
||||
--white-space: calc(
|
||||
(var(--column-gap) * var(--column-gap-nbr)) + var(--space-m) * 2
|
||||
);
|
||||
--width: calc((100vw - var(--white-space)) / var(--row-length));
|
||||
height: calc(var(--width) / 1.4);
|
||||
}
|
||||
|
||||
|
|
@ -59,6 +63,10 @@ body.progress * {
|
|||
}
|
||||
}
|
||||
|
||||
.ticket {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.ticket:hover svg {
|
||||
animation: vibrate 0.5s forwards;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue