about summary refs log tree commit diff
path: root/web/panettone/src/css.lisp
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-08-02T02·54-0400
committerglittershark <grfn@gws.fyi>2020-08-02T02·57+0000
commit7aebba7531c0e29baba1c8c3725ac3597ad859ee (patch)
treef83508cf7675034a6c40c28a51306b3bb7898b75 /web/panettone/src/css.lisp
parent688d4c6be3847e1aa5f9d946cb69a3ac2332e961 (diff)
feat(web/panettone): Add direct anchor links to comments r/1547
Fixes: #31
Change-Id: I5a8228229eb2b68bdfc5addd305ab055443aa5a6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1581
Reviewed-by: lukegb <lukegb@tvl.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'web/panettone/src/css.lisp')
-rw-r--r--web/panettone/src/css.lisp10
1 files changed, 9 insertions, 1 deletions
diff --git a/web/panettone/src/css.lisp b/web/panettone/src/css.lisp
index 0192b816ea..40fa854eda 100644
--- a/web/panettone/src/css.lisp
+++ b/web/panettone/src/css.lisp
@@ -77,7 +77,11 @@
      (.comment-info
       :color ,color/gray
       :margin 0
-      :padding-top "1rem")
+      :padding-top "1rem"
+
+      (a :text-decoration "none")
+      ((:and a :hover)
+       :text-decoration "underline"))
 
      ((:or .comment .event)
       :padding-top "1rem"
@@ -86,6 +90,10 @@
 
       (p :margin 0))
 
+     ((:and (:or .comment .event) :target)
+      :border-color ,color/primary
+      :border-bottom-width "3px")
+
      (.event
       :color ,color/gray))))