Update 2 files

- /assets/css/style.scss
- /assets/js/main.js
This commit is contained in:
mayx
2025-04-16 10:16:14 +00:00
parent 8f440b43dd
commit 8211f6d1a2
2 changed files with 54 additions and 4 deletions

View File

@@ -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
}