Skip to content

Commit

Permalink
better grid
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Mar 2, 2024
1 parent 2fdc264 commit b9f4624
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions quartz/styles/custom/grid_callouts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -275,20 +275,18 @@ body {
}

p:not(.callout-title) {
display: flex;
margin-block-start: 0;
margin-block-end: 0;
justify-content: center;
display: grid;
grid-template-columns: repeat(2, minmax(19vw, 1fr));
grid-template-rows: repeat(1, 10vw);
grid-gap: 15px;
}

img {
display: table-cell;
vertical-align: middle;
padding: 1px;
max-height: 35vh;

&[alt="wfull"] {
max-height: unset;
margin:0;
&:hover {
transform: scaleX(2) scaleY(2);
}
}

Expand Down

0 comments on commit b9f4624

Please sign in to comment.