mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-28 14:20:46 -05:00
73 lines
1.2 KiB
CSS
73 lines
1.2 KiB
CSS
.liveHeader {
|
|
display: grid;
|
|
grid-template-columns: minmax(200px, 320px) minmax(0, 1fr) minmax(0, 1fr);
|
|
grid-template-areas: "preview feed status";
|
|
gap: var(--s-4);
|
|
align-items: start;
|
|
}
|
|
|
|
.preview {
|
|
grid-area: preview;
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
background: #000;
|
|
border-radius: var(--radius-box);
|
|
border: var(--border-width) solid var(--color-bg-high);
|
|
}
|
|
|
|
.feed {
|
|
grid-area: feed;
|
|
}
|
|
|
|
.status {
|
|
grid-area: status;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--s-1-5);
|
|
font-size: var(--font-xs);
|
|
}
|
|
|
|
.statusLine {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: var(--s-2);
|
|
}
|
|
|
|
.game {
|
|
font-weight: var(--weight-bold);
|
|
}
|
|
|
|
.meta {
|
|
color: var(--color-text-high);
|
|
}
|
|
|
|
.notes {
|
|
font-size: var(--font-2xs);
|
|
color: var(--color-text-high);
|
|
}
|
|
|
|
.error {
|
|
font-size: var(--font-2xs);
|
|
color: var(--color-error);
|
|
}
|
|
|
|
@container scanner (width < 900px) {
|
|
.liveHeader {
|
|
grid-template-columns: minmax(200px, 320px) minmax(0, 1fr);
|
|
grid-template-areas:
|
|
"preview status"
|
|
"feed feed";
|
|
}
|
|
}
|
|
|
|
@container scanner (width < 600px) {
|
|
.liveHeader {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
grid-template-areas:
|
|
"preview"
|
|
"status"
|
|
"feed";
|
|
}
|
|
}
|