summaryrefslogtreecommitdiff
path: root/web/css/layout.css
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-02 23:18:16 +0300
committerPaul Buetow <paul@buetow.org>2026-05-02 23:18:16 +0300
commit92a59298ac32b4ee6e4f24e6c93307eaa152cd27 (patch)
tree6788f2603caa45ca3cc67d8ed143f03f4d54cfee /web/css/layout.css
parent0482a98c538cbe9ca32b4775bd897b9c728cf686 (diff)
refine playback navigation and player modes
Diffstat (limited to 'web/css/layout.css')
-rw-r--r--web/css/layout.css29
1 files changed, 20 insertions, 9 deletions
diff --git a/web/css/layout.css b/web/css/layout.css
index 00c4af2..923c105 100644
--- a/web/css/layout.css
+++ b/web/css/layout.css
@@ -363,24 +363,32 @@ body {
.modal-header .spacer { flex: 1 1 auto; }
/* Help modal */
+.help-modal {
+ width: min(64rem, 96vw);
+}
.help-content {
overflow: auto;
}
-.help-table {
- width: 100%;
- border-collapse: collapse;
- font-size: 0.9rem;
+.help-shortcuts {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
+ gap: 0.35rem 0.75rem;
+ font-size: 0.88rem;
}
-.help-table td {
- padding: 0.4rem 0.5rem;
+.help-row {
+ display: grid;
+ grid-template-columns: minmax(4.6rem, auto) 1fr;
+ align-items: center;
+ gap: 0.5rem;
+ min-height: 2rem;
+ padding: 0.25rem 0.35rem;
border-bottom: 1px solid var(--border);
}
-.help-table td:first-child {
+.help-row > span:first-child {
white-space: nowrap;
- width: 1%;
font-family: var(--font-mono);
}
-.help-table kbd {
+.help-content kbd {
display: inline-block;
padding: 0.15rem 0.4rem;
border-radius: var(--radius-sm);
@@ -390,6 +398,9 @@ body {
min-width: 1.6rem;
text-align: center;
}
+.help-shares {
+ line-height: 1.7;
+}
/* Media info modal */
.media-info-table {