cap gallery images to 2000px

This commit is contained in:
Rhiannon Morris 2022-05-16 10:25:16 +02:00
parent 40631ceac5
commit e7384bc1ed
5 changed files with 38 additions and 64 deletions

View file

@ -23,22 +23,6 @@
background: hsl(340, 45%, 65%);
}
#mainfig:not(.tiny)::after {
content: 'click for full (' attr(data-width) '×' attr(data-height) ')';
position: absolute;
top: calc(0px - var(--border-thickness));
right: calc(0px - var(--border-thickness));
padding: 0.15em 1.25em 0.15em 0.75em;
font-size: 70%;
font-weight: 700;
background: hsl(0, 0%, 0%, 50%);
border: var(--border-thickness) solid var(--text-col);
border-bottom-left-radius: 0.5em;
}
#mainfig:focus-within {
box-shadow: var(--focus-box);
}