shortcodes: add decorations to hover-able links

This commit is contained in:
liushuyu 2022-02-11 23:32:31 -07:00
parent 56aea091ab
commit c728f3c459
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437

View File

@ -15,6 +15,7 @@
.gh-hover-icon.open { filter: invert(56%) sepia(47%) saturate(665%) hue-rotate(77deg) brightness(99%) contrast(83%); } .gh-hover-icon.open { filter: invert(56%) sepia(47%) saturate(665%) hue-rotate(77deg) brightness(99%) contrast(83%); }
.gh-hover-icon.closed { filter: invert(50%) sepia(95%) saturate(3977%) hue-rotate(336deg) brightness(95%) contrast(90%); } .gh-hover-icon.closed { filter: invert(50%) sepia(95%) saturate(3977%) hue-rotate(336deg) brightness(95%) contrast(90%); }
.gh-hover-icon.merged { filter: invert(47%) sepia(17%) saturate(4072%) hue-rotate(228deg) brightness(95%) contrast(89%); } .gh-hover-icon.merged { filter: invert(47%) sepia(17%) saturate(4072%) hue-rotate(228deg) brightness(95%) contrast(89%); }
.gh-hover { border-bottom: dotted; }
</style> </style>
<script> <script>
tippy('.gh-hover', { tippy('.gh-hover', {
@ -23,7 +24,7 @@
showHovercard(instance, '{{ getenv "TENANT" }}'); showHovercard(instance, '{{ getenv "TENANT" }}');
}, },
allowHTML: true, allowHTML: true,
followCursor: true, followCursor: 'horizontal',
interactive: true, interactive: true,
}); });
</script> </script>