MediaWiki:Gadget-vector-headanchor.css
A Bahá’í concordance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/*!
* Vector HeadAnchors gadget, from <https://mediawiki.org/wiki/MediaWiki:Gadget-vector-headanchor.js>
*
* Copyright 2013-2020 Timo Tijhof
* @license MIT <https://opensource.org/licenses/MIT>
*/
/* Revision as of 2021-01-29 */
.tpl-vheadanchor-heading {
/* MW core sets this to 'hidden' to fix editsection link bunching,
but they no longer float in Vector, so we can override that safely.
We need this as otherwise the our anchors are invisible. */
overflow: visible;
position: relative;
width: fit-content;
}
.tpl-vheadanchor {
position: absolute;
right: 100%;
}
.tpl-vheadanchor,
.tpl-vheadanchor:hover,
.tpl-vheadanchor:visited,
.tpl-vheadanchor:focus {
color: inherit;
text-decoration: none;
outline: 0;
}
.tpl-vheadanchor-heading:hover .tpl-vheadanchor,
.tpl-vheadanchor-heading:target .tpl-vheadanchor {
content: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+Cgk8cGF0aCBkPSJNMTUuMzg3IDQuMzNjLTIuMSAwLTMuNiAxLjktNS4xIDMuMy4yIDAgLjUtLjEuOC0uMS41IDAgMSAuMSAxLjUuMy44LS44IDEuNi0xLjcgMi44LTEuNy42IDAgMS4zLjMgMS44LjcgMSAxIDEgMi42IDAgMy42bC0yLjYgMi42Yy0uNC40LTEuMi43LTEuOC43LTEuNCAwLTIuMS0uOS0yLjYtMmwtMS4zIDEuM2MuOCAxLjUgMiAyLjYgMy44IDIuNiAxLjIgMCAyLjMtLjUgMy0xLjNsMi42LTIuNmMuOS0uOSAxLjUtMiAxLjUtMy4zLS4yLTIuMi0yLjItNC4xLTQuNC00LjF6bS00LjMgMTIuMWwtLjkuOWMtLjQuNC0xLjIuNy0xLjguNy0uNiAwLTEuMy0uMy0xLjgtLjctMS0xLTEtMi43IDAtMy42bDIuNi0yLjZjLjQtLjQgMS4yLS43IDEuOC0uNyAxLjQgMCAyLjEgMSAyLjYgMmwxLjMtMS4zYy0uOC0xLjUtMi0yLjYtMy44LTIuNi0xLjIgMC0yLjMuNS0zIDEuM2wtMi42IDIuNmMtMS43IDEuNy0xLjcgNC40IDAgNiAxLjYgMS42IDQuNCAxLjcgNS45IDBsMS45LTEuOWMtLjMuMS0uNi4xLS45LjEtLjUgMC0uOSAwLTEuMy0uMnoiLz4KPC9zdmc+);
}