Make v13 fit the minimum width Firefox can render at

This commit is contained in:
MeowcaTheoRange 2024-08-21 11:43:42 -05:00
parent 793ea4dd9c
commit 172f8dd1b8
2 changed files with 26 additions and 5 deletions

View file

@ -6,6 +6,7 @@
gap: 8px; gap: 8px;
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
overflow: hidden;
border: 1px solid currentColor; border: 1px solid currentColor;
padding: 8px; padding: 8px;
@ -18,6 +19,7 @@
height: var(--height); height: var(--height);
display: grid; display: grid;
box-sizing: border-box; box-sizing: border-box;
overflow: hidden;
grid-template-columns: 1fr calc(var(--height) - 2px); grid-template-columns: 1fr calc(var(--height) - 2px);
box-shadow: var(--inset) var(--inset) 0 var(--foreground); box-shadow: var(--inset) var(--inset) 0 var(--foreground);
@ -39,3 +41,9 @@
} }
} }
} }
@media (max-width: 600px) {
.Aboutbox .AboutboxElement {
--height: 200px;
}
}

View file

@ -1,10 +1,10 @@
.Header { .Header {
display: grid; display: grid;
width: 100%; width: 100%;
overflow: hidden;
grid-template-rows: 150px 1fr; grid-template-rows: 150px 1fr;
box-sizing: border-box; box-sizing: border-box;
border: 1px solid currentColor; border: 1px solid currentColor;
padding: 8px;
gap: 8px; gap: 8px;
font-size: 16px; font-size: 16px;
background: transparent var(--tiles-last-black); background: transparent var(--tiles-last-black);
@ -12,7 +12,9 @@
.HeaderTop { .HeaderTop {
display: grid; display: grid;
width: 100%; /* width: 100%; */
margin: 0.5em;
overflow: hidden;
height: 100%; height: 100%;
grid-template-columns: 150px 1fr; grid-template-columns: 150px 1fr;
box-sizing: border-box; box-sizing: border-box;
@ -37,6 +39,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
box-sizing: border-box; box-sizing: border-box;
overflow: clip;
h1, h1,
p { p {
@ -58,17 +61,21 @@
} }
.HeaderLinks { .HeaderLinks {
display: flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: safe center;
gap: 0.5em;
font-family: var(--font-text-header); font-family: var(--font-text-header);
font-weight: bold; font-weight: bold;
font-size: 1em; font-size: 1em;
overflow: auto;
max-width: 100%;
padding: 0.5em;
gap: 0.5em;
.HeaderLinksLink { .HeaderLinksLink {
display: inline-block; display: inline-block;
width: 100%; width: 100%;
min-width: max-content;
text-align: center; text-align: center;
padding: 0.5em; padding: 0.5em;
border: 1px solid currentColor; border: 1px solid currentColor;
@ -79,3 +86,9 @@
} }
} }
} }
@media (max-width: 600px) {
.HeaderTopName h1 {
font-size: 2em !important;
}
}