summaryrefslogtreecommitdiff
path: root/static
diff options
from:
to:
context:
space:
mode:
authorGravatar Saya Andy <145215889+SayaAndy@users.noreply.github.com> 2025-10-17 21:39:38 +0700
committerGravatar GitHub <noreply@github.com> 2025-10-17 21:39:38 +0700
commite2dce22ed8078a33a51da7c7ef825be80ebaf5dc (patch)
treeed5627a013531fee09ede1a064e65cee6aba5e8f /static
parentfa2d3009ed93c28e05758d52367b25fd6a04a2b7 (diff)
parent17ab0302643c534efb674a326772de2224e84734 (diff)
downloadweb-e2dce22ed8078a33a51da7c7ef825be80ebaf5dc.tar.gz
web-e2dce22ed8078a33a51da7c7ef825be80ebaf5dc.zip
v0.9.1 (#11)v0.9.1
- [fix: use only "backdrop-filter" attr and rm "webkit-"](https://github.com/SayaAndy/saya-today-web/commit/389e5db0df5c6bc121e5b2d2259de8af05549e1f) - [feat: tighten up paddings of glightbox](https://github.com/SayaAndy/saya-today-web/commit/f7698d65279e68d323bea42f604ec16b78e92db4) - feat: also add height condition on increasing font size (and "em/rem" sub-sequentially), but eased a width condition - [feat: count content width (desktop) by window width](https://github.com/SayaAndy/saya-today-web/pull/11/commits/17ab0302643c534efb674a326772de2224e84734) - feat: raise a bit width conditions for column count
Diffstat (limited to 'static')
-rw-r--r--static/input.css33
1 files changed, 25 insertions, 8 deletions
diff --git a/static/input.css b/static/input.css
index a983460..803b0f8 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;
}
@@ -409,7 +409,7 @@ a:hover, .linklike:hover {
}
}
-@media (width >= 40rem) {
+@media (width >= 48rem) {
.grid-item, .grid-sizer {
width: 25%;
}
@@ -419,7 +419,7 @@ a:hover, .linklike:hover {
}
}
-@media (width >= 48rem) {
+@media (width >= 64rem) {
.grid-item, .grid-sizer {
width: 20%;
}
@@ -432,19 +432,19 @@ a:hover, .linklike:hover {
.goverlay {
background: color-mix(in srgb, var(--background-light-color) 50%, transparent) !important;
backdrop-filter: blur(1rem);
- -webkit-backdrop-filter: blur(1rem);
}
.glightbox-clean .gslide-description {
background: color-mix(in srgb, var(--background-dark-color) 50%, transparent) !important;
backdrop-filter: blur(1rem);
- -webkit-backdrop-filter: blur(1rem);
}
.glightbox-clean .gslide-title {
font-family: var(--font-spectral) !important;
font-weight: 600 !important;
color: var(--main-light-color) !important;
+ padding-bottom: 1rem !important;
+ margin-bottom: 0 !important;
}
.glightbox-clean .gslide-desc {
@@ -454,6 +454,23 @@ 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;
+}
+
+.glightbox-container .ginner-container {
+ height: 100dvh !important;
+}
+
+.gslide-description {
+ flex-grow: 0;
+ flex-shrink: 1;
+}
+
.map-container .leaflet-container {
width: 100% !important;
height: 100% !important;