ndarville / pony-forum

A modern alternative to ancient forum CMSes like vBulletin and PHPBB in Python on Django. (Alpha stage.) (NB: dotCloud have since removed their free Sandbox tier.)
http://pony-forum.com
26 stars 7 forks source link

CSS spritemaps #119

Open ndarville opened 11 years ago

ndarville commented 11 years ago

Using glue, I get the following spritemap:

glyphish

Using the CSS provided, this is the result:

Screen Shot 2013-04-26 at 01 50 52

As the photo suggests, the icon is placed improperly, and the inklings of another icon can be seen at the “m” of “admin”. Something clearly is wrong, but I assume it has to do with the CSS elsewhere in the stylesheet.

The CSS, for what it’s worth:

#navigation li a[href*="/user/"] {
    background-image:url(/static/glyphish/glyphish.png);
    background-repeat:no-repeat;
    background-position: -44px -69px;
    width: 24px;
    height: 17px;
}