tryhing different settings

This commit is contained in:
Simon Martens
2025-10-07 16:24:26 +02:00
parent 537d5c5f65
commit 4d1dca34d1
3 changed files with 5 additions and 24 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,4 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="UTF-8" /> <meta charset="UTF-8" />
{{ if .noIndex }} {{ if .noIndex }}
<meta name="robots" content="noindex, nofollow, noarchive, nosnippet"> <meta name="robots" content="noindex, nofollow, noarchive, nosnippet">

View File

@@ -253,7 +253,7 @@ body.page-edition::before {
@layer components { @layer components {
html { html {
font-size: 17px; font-size: clamp(13px, 1vw + 0.5rem, 16px);
} }
body { body {
@@ -317,32 +317,12 @@ body.page-edition::before {
.single-page .newspaper-page-image { .single-page .newspaper-page-image {
width: auto; width: auto;
height: 750px; height: clamp(600px, 50vh, 900px);
max-height: 90vh;
object-fit: contain; object-fit: contain;
max-width: 100%; max-width: 100%;
} }
/* Larger screens */
@media (min-width: 1280px) {
.single-page .newspaper-page-image {
height: 900px;
}
}
/* Very wide screens */
@media (min-width: 1536px) {
.single-page .newspaper-page-image {
height: 1050px;
}
}
/* Mobile constraints */
@media (max-width: 640px) {
.single-page .newspaper-page-image {
height: 600px;
}
}
/* Navigation button hover styles */ /* Navigation button hover styles */
button#prevPageBtn:hover:not([style*="display: none"]), button#prevPageBtn:hover:not([style*="display: none"]),
button#nextPageBtn:hover, button#nextPageBtn:hover,