Make home squares width relative to screen width instead of height (vh to vw)
Some checks are pending
Build Eleventy Forgero / build (24.x) (push) Waiting to run

This commit is contained in:
天クマ 2026-07-01 15:11:08 -03:00
commit 84293c2e79

View file

@ -256,9 +256,9 @@ li.inlineList {
#defaultSquare { #defaultSquare {
transition: 0.4s; transition: 0.4s;
border: medium solid white; border: medium solid white;
height: 7vh; height: 3vw;
overflow: hidden; overflow: hidden;
width: 10vh; width: 6vw;
opacity: 0.4; opacity: 0.4;
padding: 0.4em; padding: 0.4em;
cursor: pointer; cursor: pointer;
@ -279,7 +279,7 @@ li.inlineList {
.headerSquare.selected, .headerSquare.selected,
#defaultSquare.selected { #defaultSquare.selected {
opacity: 1; opacity: 1;
height: 10vh; height: 6vw;
box-shadow: 2px 7px 5px rgba(0, 0, 0, 0.4), 0px -4px 10px rgba(0, 0, 0, 0.4); box-shadow: 2px 7px 5px rgba(0, 0, 0, 0.4), 0px -4px 10px rgba(0, 0, 0, 0.4);
background-color: rgba(0, 0, 0, 0.3); background-color: rgba(0, 0, 0, 0.3);
} }