make page width more suitable for huge screens

This commit is contained in:
Rhiannon Morris 2021-05-28 02:28:56 +02:00
parent 08d4c065ac
commit 2e0a51dcbc
1 changed files with 2 additions and 6 deletions

View File

@ -4,14 +4,10 @@
:root {
--image-size: 200px;
--gap: 1em;
--cols: 5;
}
.page {
max-width: calc(
var(--cols) * var(--image-size) +
(var(--cols) - 1) * var(--gap)
);
@media (min-width: 1000px) {
.page { max-width: 80%; }
}
#filters div {