MediaWiki:Gadget-headerTargetHighlight.css
Jump to navigation
Jump to search
After saving, you may need to bypass your browser's cache to see the changes. For further information, see Wikipedia:Bypass your cache.
- In most Windows and Linux browsers: Hold down Ctrl and press F5.
- In Safari: Hold down ⇧ Shift and click the Reload button.
- In Chrome and Firefox for Mac: Hold down both ⌘ Cmd+⇧ Shift and press R.
/**
* Implements headers green highlighting when getting `:target`ed
* e.g. <https://oldschool.runescape.wiki/w/Seren#History>
*
* enabled for mobile and desktop - for the latter the 'highlight' is replaced
* with the anchor icon from sectionAnchors gadget being shown beside the header
*/
.mw-headline:target {
color: #3c780a; /* @la-palma in [[RS:THEME]] */
}
body.wgl-theme-dark .mw-headline:target,
body.wgl-theme-browntown .mw-headline:target {
color: #6bc71f; /* @lima */
}