Tad Thorley

creative commons license rss feed comments feed powered by Howex valid xhtml Add to Technorati Favorites

Using Pseudoselectors Together

Now that I have my new blog up and running, it is time to start customizing it to my liking. In my previous blog I liked having the first line of the first paragraph bolded and I've decided to add it to this blog's style. The secret is to use pseudoselectors together to get what you want like so:

1
2
3
.entrybody>p:first-child:first-line {
  font-weight: bold;
}

For those of you who use Wordpress or Mephisto, you can paste this right into your stylesheet.

An Rbot CSS Plugin

I got a positive response from posting my last rbot plugin, so I've decided to post my second rbot plugin too. As a web developer, I thought a css plugin would be nice. It gives quick access to attribute info when you are in IRC. For instance, I have a hard time remembering the options for "background". I could either pass "background" to get the information for that attribute or "background*" (a regular expression) to get a list of the background attributes (a match for the regular expression).

Download the rbot css plugin.

Enjoy!

CSS Reference

background-image: url(bg.gif);