From 8211f6d1a2f152fe8a1f5d81382d0947e9b7ad07 Mon Sep 17 00:00:00 2001 From: mayx Date: Wed, 16 Apr 2025 10:16:14 +0000 Subject: Update 2 files - /assets/css/style.scss - /assets/js/main.js--- assets/css/style.scss | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'assets/css/style.scss') diff --git a/assets/css/style.scss b/assets/css/style.scss index 7b3c924..b59d669 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -1,5 +1,5 @@ --- ---- +--- @import "{{ site.theme }}"; @@ -76,4 +76,27 @@ h6:hover .octicon { padding: 0; margin-left: -16px; vertical-align: middle; +} + +div.highlight { + position: relative; +} + +div.highlight:hover button { + opacity: 1 +} + +div.highlight button { + opacity: 0; + position: absolute; + top: 0.5rem; + right: 1rem; + height: 2em; + transition: all 0.2s ease-out +} + +div.highlight button:active, +div.highlight button:focus, +div.highlight button:hover { + opacity: 1 } \ No newline at end of file -- cgit 1.4.1-2-gfad0