/* 
Display [] by the item with the accesskey

by Dan Rasmussen <http://danrasmussen.org>
August 2008.

Based on 
http://blog.andrewbeacock.com/2007/06/firefox-hack-to-display-accesskey.html

I've modified the original to look (reasonably) good and be visible whether the background color of the web page is light or dark.

Licensed under the Creative Commons Attribution 3.0 license:
http://creativecommons.org/licenses/by/3.0/
*/

a[accesskey]:after,
button[accesskey]:after,
input[accesskey]:after,
label[accesskey]:after,
legend[accesskey]:after,
textarea[accesskey]:after {
    margin-left: 0.3em;
    background-color: black;
    color: white;
    font-size: 125%;
    padding: .125em .125em;
    content: "[" attr(accesskey) "]";
}