guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: website: Provide CSS for symbol hyperlinks in cod


From: Ludovic Courtès
Subject: branch master updated: website: Provide CSS for symbol hyperlinks in code snippets.
Date: Mon, 13 Apr 2020 17:14:33 -0400

This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch master
in repository guix-artwork.

The following commit(s) were added to refs/heads/master by this push:
     new a102e67  website: Provide CSS for symbol hyperlinks in code snippets.
a102e67 is described below

commit a102e67deb9034c8e0bdf25f42830358843248bf
Author: Ludovic Courtès <address@hidden>
AuthorDate: Mon Apr 13 23:13:24 2020 +0200

    website: Provide CSS for symbol hyperlinks in code snippets.
    
    * website/static/base/css/code.css (.syntax-symbol): Add
    "a[href].syntax-symbol".
    (a[href].syntax-symbol:hover): New rule.
---
 website/static/base/css/code.css | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/website/static/base/css/code.css b/website/static/base/css/code.css
index 47199f3..6f56111 100644
--- a/website/static/base/css/code.css
+++ b/website/static/base/css/code.css
@@ -12,11 +12,17 @@
     font-weight: bold;
 }
 
-.syntax-symbol, .syntax-default {
+.syntax-symbol, a[href].syntax-symbol, .syntax-default {
     color: #423;
     background-color: #f2efe4; /* This must match pre.lisp! */
 }
 
+a[href].syntax-symbol:hover {
+    border-bottom-width: 1px;
+    border-bottom-color: color: grey;
+    border-bottom-style: dotted;
+}
+
 .syntax-string {
     color: #484;
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]