diff options
author | mayx | 2025-04-16 10:16:14 +0000 |
---|---|---|
committer | mayx | 2025-04-16 10:16:14 +0000 |
commit | 8211f6d1a2f152fe8a1f5d81382d0947e9b7ad07 (patch) | |
tree | 54097cd3a8da7fc74270efc3b531d0c62f3082ed /assets/css/style.scss | |
parent | 8f440b43dd9135b319476f252b7a781738ae3aec (diff) |
Update 2 files
- /assets/css/style.scss - /assets/js/main.js
Diffstat (limited to 'assets/css/style.scss')
-rw-r--r-- | assets/css/style.scss | 25 |
1 files changed, 24 insertions, 1 deletions
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 |