summaryrefslogtreecommitdiff
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2025-10-17 19:57:05 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2025-10-17 19:57:05 +0700
commitf7698d65279e68d323bea42f604ec16b78e92db4 (patch)
treef936dab2f8007e86c58d4280a315149429e886e8
parent389e5db0df5c6bc121e5b2d2259de8af05549e1f (diff)
downloadweb-f7698d65279e68d323bea42f604ec16b78e92db4.tar.gz
web-f7698d65279e68d323bea42f604ec16b78e92db4.zip
feat: tighten up paddings of glightbox
-rw-r--r--static/input.css17
1 files changed, 13 insertions, 4 deletions
diff --git a/static/input.css b/static/input.css
index 301f79a..3c715a1 100644
--- a/static/input.css
+++ b/static/input.css
@@ -10,25 +10,25 @@ html {
font-size: 12px;
}
-@media screen and (width >= 640px) {
+@media screen and (min-width: 640px) and (min-height: 640px) {
html {
font-size: 14px;
}
}
-@media screen and (width >= 1200px) {
+@media screen and (min-width: 900px) and (min-height: 900px) {
html {
font-size: 16px;
}
}
-@media screen and (width >= 1920px) {
+@media screen and (min-width: 1400px) and (min-height: 1400px) {
html {
font-size: 20px;
}
}
-@media screen and (width >= 2560px) {
+@media screen and (min-width: 1920px) and (min-height: 1920px) {
html {
font-size: 24px;
}
@@ -443,6 +443,7 @@ a:hover, .linklike:hover {
font-family: var(--font-spectral) !important;
font-weight: 600 !important;
color: var(--main-light-color) !important;
+ padding-bottom: 1rem !important;
}
.glightbox-clean .gslide-desc {
@@ -452,6 +453,14 @@ a:hover, .linklike:hover {
color: var(--main-medium-color) !important;
}
+.glightbox-mobile .glightbox-container .gslide-description {
+ padding: 0 !important;
+}
+
+.glightbox-clean .gdesc-inner {
+ padding: 1rem 1rem !important;
+}
+
.map-container .leaflet-container {
width: 100% !important;
height: 100% !important;