modified: style.css
This commit is contained in:
@ -72,11 +72,10 @@ body {
|
|||||||
"conditions"
|
"conditions"
|
||||||
"video";
|
"video";
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
overflow: hidden;
|
overflow: visible;
|
||||||
border: 1px solid var(--accent);
|
border: 1px solid var(--accent);
|
||||||
border-radius: var(--r-lg) var(--r-lg) 0 0;
|
border-radius: var(--r-lg) var(--r-lg) 0 0;
|
||||||
box-shadow: var(--glow-soft);
|
box-shadow: var(--glow-soft);
|
||||||
overflow: hidden;
|
|
||||||
align-self: start;
|
align-self: start;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
@ -106,7 +105,7 @@ body {
|
|||||||
gap: 1vh;
|
gap: 1vh;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
overflow: hidden;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.header { margin-bottom: 1dvh; }
|
p.header { margin-bottom: 1dvh; }
|
||||||
@ -249,13 +248,16 @@ img.logo {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 512;
|
z-index: 512;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
width: 200px; /* fixed width so it doesn't collapse */
|
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
text-align: left;
|
text-align: left;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
border: 1px solid var(--accent);
|
border: 1px solid var(--accent);
|
||||||
border-radius: var(--r-sm);
|
border-radius: var(--r-sm);
|
||||||
|
max-height: 80vh;
|
||||||
|
overflow-y: auto;
|
||||||
|
display: block;
|
||||||
|
min-width: 420px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup .show {
|
.popup .show {
|
||||||
@ -264,12 +266,12 @@ img.logo {
|
|||||||
|
|
||||||
.popup .popuptext p { font-size: 1rem; }
|
.popup .popuptext p { font-size: 1rem; }
|
||||||
.popup .popuptext .emo { margin-top: 1rem; text-align: center; }
|
.popup .popuptext .emo { margin-top: 1rem; text-align: center; }
|
||||||
.popup .popuptext .emo a { padding: 0 12px; font-size: 3rem; text-decoration: none; }
|
.popup .popuptext .display: inline; emo a { display: inline; padding: 0 12px; font-size: 3rem; text-decoration: none; }
|
||||||
.popup .popuptext .text { padding-left: 20px; }
|
.popup .popuptext .text { padding-left: 20px; }
|
||||||
.popup .popuptext .text p { margin: 20px 0; }
|
.popup .popuptext .text p { margin: 20px 0; }
|
||||||
.popup .popuptext .sources { padding-left: 20px; }
|
.popup .popuptext .sources { padding-bottom: 10px; padding-left: 20px; }
|
||||||
.popup .popuptext .sources p { padding-top: 4px; }
|
.popup .popuptext .sources p { padding-top: 4px; }
|
||||||
.popup .popuptext .sources a { color: var(--accent); font-size: 1rem; }
|
.popup .popuptext .sources a { display: inline-block; padding-bottom: 4px; color: var(--accent); font-size: 1rem; }
|
||||||
|
|
||||||
/* ─── Video panel ───────────────────────────────────────────── */
|
/* ─── Video panel ───────────────────────────────────────────── */
|
||||||
.video {
|
.video {
|
||||||
@ -332,8 +334,8 @@ img.logo {
|
|||||||
.conditions {
|
.conditions {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
grid-template-rows: auto auto auto repeat(4, auto);
|
grid-template-rows: auto auto auto repeat(4, auto);
|
||||||
overflow-y: auto;
|
#overflow-y: auto;
|
||||||
overflow-x: hidden;
|
#overflow-x: hidden;
|
||||||
padding: 8px 6px;
|
padding: 8px 6px;
|
||||||
gap: 1vh;
|
gap: 1vh;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
@ -398,28 +400,30 @@ img.logo {
|
|||||||
════════════════════════════════════════════════════════════════ */
|
════════════════════════════════════════════════════════════════ */
|
||||||
@media (orientation: portrait) {
|
@media (orientation: portrait) {
|
||||||
|
|
||||||
.main { border-radius: var(--r-sm) var(--r-sm) 0 0; }
|
.main {
|
||||||
|
border-radius: var(--r-sm) var(--r-sm) 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
img.logo { max-height: 56px; }
|
img.logo { max-height: 56px; }
|
||||||
|
|
||||||
.current { border-radius: var(--r-xs); }
|
.current { border-radius: var(--r-xs); }
|
||||||
.current .update { font-size: 0.75rem; }
|
.current .update { font-size: 0.75rem; }
|
||||||
.current .wttr { font-size: 1.25rem; }
|
.current .wttr { font-size: 1rem; }
|
||||||
.current .danger { font-size: 0.75rem; }
|
.current .danger { font-size: 0.75rem; }
|
||||||
.current .level { font-size: 1rem; }
|
.current .level { font-size: 1rem; }
|
||||||
.danger p { font-size: 0.75rem; }
|
.danger p { font-size: 0.75rem; }
|
||||||
|
|
||||||
.cat { font-size: 0.75rem; }
|
.cat { font-size: 0.75rem; }
|
||||||
.cat p { padding-left: 12px; }
|
.cat p { padding-left: 12px; }
|
||||||
.data { font-size: 1.25rem; margin-top: 0; padding: 2px 0; }
|
.data { font-size: 1rem; margin-top: 0; padding: 2px 0; }
|
||||||
.datapoint { margin-top: 10px; padding: 4px 0 0 8px; font-size: 0.75rem; }
|
.datapoint { margin-top: 10px; padding: 4px 0 0 8px; font-size: 0.75rem; }
|
||||||
|
|
||||||
.popup h5 { padding: 0 6px; font-size: 0.75rem; }
|
.popup h5 { padding: 0 6px; font-size: 0.75rem; }
|
||||||
|
|
||||||
.popup .popuptext { font-size: 0.75rem; width: 180px; }
|
.popup .popuptext { font-size: 0.75rem; width: 180px; }
|
||||||
.popup .popuptext .emo a { font-size: 3rem; }
|
.popup .popuptext .emo a { display: inline; font-size: 3rem; }
|
||||||
.popup .popuptext .text { padding-left: 10px; }
|
.popup .popuptext .text { padding-left: 10px; }
|
||||||
.popup .popuptext .text p { margin: 12px 0; }
|
.popup .popuptext .text p { margin: 12px 0; }
|
||||||
.popup .popuptext .sources { padding-left: 10px; }
|
.popup .popuptext .sources { padding-bottom: 10px; padding-left: 10px; }
|
||||||
.popup .popuptext .sources a { font-size: 0.75px; }
|
.popup .popuptext .sources a { display: inline-block; padding-bottom: 4px; font-size: 0.75px; }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user