From 16b4bc953f9822121b3257fc5f19df9dcfbdba27 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Mon, 21 Sep 2026 16:11:31 -0400 Subject: Easier clone command selection --- public/static/style.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'public') diff --git a/public/static/style.css b/public/static/style.css index 1d277b7..ad61fca 100644 --- a/public/static/style.css +++ b/public/static/style.css @@ -148,6 +148,24 @@ body > footer { font-weight: bold; } +.clone { + margin: .5em 0; + + code { + /* Each command is a distinct block so that selecting doesn't pick up a + * trailing newline. */ + display: block; + width: fit-content; + white-space: pre; + user-select: all; + cursor: default; + + &:hover { + background: var(--shade-background); + } + } +} + .avatar { float: right; clip-path: circle(); -- cgit v1.3.1