summaryrefslogtreecommitdiff
path: root/static/input.css
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'static/input.css')
-rw-r--r--static/input.css39
1 files changed, 17 insertions, 22 deletions
diff --git a/static/input.css b/static/input.css
index d03764b..3c715a1 100644
--- a/static/input.css
+++ b/static/input.css
@@ -239,16 +239,17 @@ a:hover, .linklike:hover {
.bg-sidebar {
background-image: var(--squares-and-triangles-background);
background-repeat: var(--squares-and-triangles-background-repeat);
- background-size: calc(var(--squares-and-triangles-background-width-coef) * 0.8rem) calc(var(--squares-and-triangles-background-height-coef) * 0.8rem);
+ background-size: calc(var(--squares-and-triangles-background-width-coef) * 1dvw) calc(var(--squares-and-triangles-background-height-coef) * 1dvw);
}
.logo-custom {
- width: 3.5rem;
- height: 20rem;
- font-size: 2.5rem;
- -webkit-text-stroke: 0.1rem var(--sidebar-stroke-color);
+ width: 3.5dvw;
+ height: 20dvw;
+ font-size: 2.5dvw;
+ -webkit-text-stroke: 0.1dvw var(--sidebar-stroke-color);
writing-mode: sideways-lr;
text-orientation: mixed;
+ display: block;
}
.inset-shadow {
@@ -290,15 +291,15 @@ a:hover, .linklike:hover {
.theme-icon {
position: absolute;
- width: 4rem;
- height: 4rem;
+ width: 4vmax;
+ height: 4vmax;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
- border: 0.1rem inset var(--background-light-color);
+ border: 0.1vmax inset var(--background-light-color);
background: var(--interlocked-hexagons-background);
background-size: contain;
}
@@ -309,7 +310,7 @@ a:hover, .linklike:hover {
.theme-icon.active {
transform: scale(1.2);
- border: 0.3rem outset var(--main-light-color);
+ border: 0.3vmax outset var(--main-light-color);
}
.custom-svg-marker {
@@ -398,7 +399,7 @@ a:hover, .linklike:hover {
width: 100%;
}
-@container main (width >= 32rem) {
+@media (width >= 32rem) {
.grid-item, .grid-sizer {
width: 33%;
}
@@ -408,7 +409,7 @@ a:hover, .linklike:hover {
}
}
-@container main (width >= 48rem) {
+@media (width >= 40rem) {
.grid-item, .grid-sizer {
width: 25%;
}
@@ -418,7 +419,7 @@ a:hover, .linklike:hover {
}
}
-@container main (width >= 64rem) {
+@media (width >= 48rem) {
.grid-item, .grid-sizer {
width: 20%;
}
@@ -443,7 +444,6 @@ a:hover, .linklike:hover {
font-weight: 600 !important;
color: var(--main-light-color) !important;
padding-bottom: 1rem !important;
- margin-bottom: 0 !important;
}
.glightbox-clean .gslide-desc {
@@ -461,15 +461,6 @@ a:hover, .linklike:hover {
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;
@@ -520,6 +511,10 @@ body[data-theme~="ram"] .leaflet-tile {
background-color: var(--background-light-color);
}
+ .logo-custom {
+ display: none;
+ }
+
.bg-pattern-body {
background-size: 10dvh;
}