diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-09 20:04:06 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-09 20:04:06 +0100 |
| commit | c47e0f22207302e4dcad9b8480e033fbe85dccd5 (patch) | |
| tree | e34e77c8cc018f78bc9bf5b2c70d07e05d07725c /static/deck.css | |
| parent | d107596f6c277d6aa4616616cc4fe176f339a8f5 (diff) | |
| download | deck-it-c47e0f22207302e4dcad9b8480e033fbe85dccd5.tar.gz deck-it-c47e0f22207302e4dcad9b8480e033fbe85dccd5.zip | |
feat: center the tabs and swipe to switch them
Diffstat (limited to 'static/deck.css')
| -rw-r--r-- | static/deck.css | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/static/deck.css b/static/deck.css index 5bd8a5d..ee2be1f 100644 --- a/static/deck.css +++ b/static/deck.css @@ -19,24 +19,10 @@ body { .topbar { flex: none; display: flex; - align-items: center; - gap: 8px; + justify-content: center; padding: 8px 14px 0; } -.tabs { flex: 1; display: flex; gap: 6px; min-width: 0; } -.fs { - flex: none; - font: inherit; - font-size: 18px; - line-height: 1; - color: var(--udt-subtext0); - background: transparent; - border: 1px solid transparent; - border-radius: 10px; - padding: 6px 12px; - cursor: pointer; -} -.fs:hover { background: var(--udt-surface1); color: var(--udt-text); } +.tabs { display: flex; gap: 6px; } .tabs button { font: inherit; color: var(--udt-subtext0); |
