aboutsummaryrefslogtreecommitdiff
path: root/public/static/style.css
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-09-21 16:11:31 -0400
committerJoe Mou <dev@mou.fo>2026-09-21 17:40:15 -0400
commit16b4bc953f9822121b3257fc5f19df9dcfbdba27 (patch)
tree3ede7a90e70a2f92466b0f85055b0bdf68c3e687 /public/static/style.css
parent4a689592a67bad939c4fb2b217bdc812939ff542 (diff)
Easier clone command selection
Diffstat (limited to 'public/static/style.css')
-rw-r--r--public/static/style.css18
1 files changed, 18 insertions, 0 deletions
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();