Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Yanick (3196)

Yanick
  (email not shown publicly)
http://babyl.dyndns.org/techblog

Journal of Yanick (3196)

Thursday August 24, 2006
10:37 PM

Perlish theme for Friends, Fans and Foes

[ #30746 ]

Today I discovered Stylish, a very cool Firefox plugin to create per domain/site/page CSS style. To test it, I decided to give a Perlish flair to the Friend/Fan/Foe icons on use.perl.org:

@-moz-document domain("use.perl.org") {
img[alt="Friend"] {
   background: url(http://babyl.dyndns.org/misc/camel.png) top left no-repeat !important;
   padding-top:16px !important;
   width:16px !important;
   height:0px !important;
}
img[alt="Friend of Friend"] {
   background: url(http://babyl.dyndns.org/misc/llama.png) top left no-repeat !important;
   padding-top:16px !important;
   width:16px !important;
   height:0px !important;
}
img[alt="Fan"] {
   background: url(http://babyl.dyndns.org/misc/dog.png) top left no-repeat !important;
   padding-top:16px !important;
   width:16px !important;
   height:0px !important;
}

img[alt="Foe"] {
   background: url(http://babyl.dyndns.org/misc/panther.png) top left no-repeat !important;
   padding-top:16px !important;
   width:16px !important;
   height:0px !important;
}

img[alt="Neutral"] {
   background: url(http://babyl.dyndns.org/misc/ram.png) top left no-repeat !important;
   padding-top:16px !important;
   width:16px !important;
   height:0px !important;
}
}

Here's a screenshot of the result.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.