MediaWiki:Gadget-vector-headanchor.css

/** * Vector HeadAnchors * @author Krinkle, 2013 * @revision 2013-04-19 */

h1, h2, h3, h4, h5, h6 { overflow: visible; /* Undo default */ position: relative; }

.mw-headline-anchor { display: block; cursor: pointer; position: absolute; left: 0; top: 0; bottom: 0; /* Auto-size to full height of heading */ padding-left: 24px; margin-left: -24px; background-size: 14px 12px; background-repeat: no-repeat; background-position: 50% 50%; }

h1:hover .mw-headline-anchor, h2:hover .mw-headline-anchor, h3:hover .mw-headline-anchor, h4:hover .mw-headline-anchor, h5:hover .mw-headline-anchor, h6:hover .mw-headline-anchor, .mw-headline:target + .mw-headline-anchor { background-image: url(https://s3.amazonaws.com/f.cl.ly/items/223W2Z3Z1p22242U3j3Q/Screen%20Shot%202013-04-19%20at%2011.29.02%20AM.png); }