mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-28 16:45:32 +00:00
tryhing different settings
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,3 +1,4 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta charset="UTF-8" />
|
||||
{{ if .noIndex }}
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, nosnippet">
|
||||
|
||||
@@ -253,7 +253,7 @@ body.page-edition::before {
|
||||
|
||||
@layer components {
|
||||
html {
|
||||
font-size: 17px;
|
||||
font-size: clamp(13px, 1vw + 0.5rem, 16px);
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -317,32 +317,12 @@ body.page-edition::before {
|
||||
|
||||
.single-page .newspaper-page-image {
|
||||
width: auto;
|
||||
height: 750px;
|
||||
height: clamp(600px, 50vh, 900px);
|
||||
max-height: 90vh;
|
||||
object-fit: contain;
|
||||
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 */
|
||||
button#prevPageBtn:hover:not([style*="display: none"]),
|
||||
button#nextPageBtn:hover,
|
||||
|
||||
Reference in New Issue
Block a user