MediaWiki:Gadget-vector-headanchor.css

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

.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6 { position: relative; padding-left: 24px; margin-left: -24px; }

.mw-headline-anchor { display: block; cursor: pointer; position: absolute; left: 24px; top: 0; bottom: 0; /* Auto-size to full height of heading */ 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); }