2010-Aug-11, Wednesday

matgb: (Webstuff)
I've got proper coding work to do, but my brain isn't working straight, so I've been hacking my layout again. Almost certainly Dreamwidth specific as they only work because the Devs put a lot of effort into Classes for CSS tricks within the base code.

Two little tricks, both done through the Customize Journal Style CSS page, dead easy.

Custom comment colours

First is to give a regular commenter a custom colour in the comments box. Can only be done for logged in DW users, unfortunately, an OpenID user has .s in their name and that breaks CSS, might get that fixed but it needs a change in the base code. So, if you want to give commenters their own custom appearance (this includes yourself, naturally) in your comments box, here's how:

Let's start with you, the entry author. This is a generic tweak, so can be done on a Community as well. Simply put the following code in at the bottom of any other CSS you have there:

Code for making your own comments appear differently, and then for individual named users )
Sorted.

Feed icons on Reading page

On a reading page, an icon only displays for accounts and journals that use userpics--feeds, having no userpic, get nothing displayed. That's fine, except I like the visual trigger if I'm scanning, so I've figured out how to get the feed logo to display in place of a userpic:

Code for Feed icons and for individual account icons )
All straightforward hackery, typing it all up took longer than actually doing it. An example of the comment colours in action can be found here. Next up on my layout posts should be a tutorial for the 'sharethis' widgets, but that'll take a bit more time and screenshotting, so don't hold your breath. Linkspam post may follow later, but I have a bath to get into.
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Deja Vu)
Seriously, 5 days after Bart and I wrote about it, her people have issued a statement saying 'Dragon Tattoo' Rumor Is 'Absolutely False'. This is because The Sun and Metro.co.uk ran it as a story yesterday

Tabloids, not only do they get the stories completely wrong, they get the stories wrong 5 days later than a pair of bloggers...

Profile

matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)
Mat Bowles

September 2021

S M T W T F S
   1234
567 891011
12131415161718
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated 2026-Jan-07, Wednesday 12:38
Powered by Dreamwidth Studios