boji: (Default)
boji ([personal profile] boji) wrote in [community profile] getting_started2010-04-01 03:33 am

Tabula Rasa query

I built my layout using Tabula Rasa, and the theme wizard. Googled my way to adding a pinch of CSS code (while being utterly code illiterate) so my icons right justify and there's an added border on the left. I really like what I was able to achieve.

BUT I'm looking for some help in tweaking the look of comments on the page i.e. here. They look too cluttered to me.

What really I want to do is find a way to let the date/time of the comment and the user details (IP Address) be in a far smaller font, or be outlined in a box, so that they don't detract from whatever the actual comment is.

Can anyone help? And how complicated would this be to code so that only the comment boxes changed?


x-posted to [community profile] layout
stormy: βͺ ππŽπ“πˆπ‚π„ ❫ 𝑫𝑢 𝑡𝑢𝑻 𝑻𝑨𝑲𝑬 𝑴𝒀 𝑰π‘ͺ𝑢𝑡𝑺 ⊘ (Default)

[personal profile] stormy 2010-04-01 06:05 am (UTC)(link)
If you just want a simple box around each comment, you can add the following to your CSS and tweak it as you see fit:



Of course, it's also possible to add a different background color in there, too. If you want to change just the header of the comment - which is the date/time, subject, etc. and just put a box around that change .comment to
#comments .header

Let me know if you have any other questions. I'd be happy to help!
Edited (Woo, night time coding makes for a slow Stormy!) 2010-04-01 06:09 (UTC)
foxfirefey: A fox colored like flame over an ornately framed globe (Default)

[personal profile] foxfirefey 2010-04-01 07:29 am (UTC)(link)
Try:

div.comment span.poster-ip, div.comment span.datetime { 
  font-size: 90%; 
}


You can tweak with the font size there, of course.
foxfirefey: A fox colored like flame over an ornately framed globe (Default)

Re: Thanks & another question

[personal profile] foxfirefey 2010-04-02 01:21 am (UTC)(link)
There probably is a way to do what you want to do, even if it means changing the S2 code rendering a comment. Unfortunately I'm kind of hindered in this case because I can't actually see where the IP display is or what it's doing in your case, since those don't show to me!

If you don't want the bottom entry management links to show I think the appropriate CSS is:

.bottomcomment .entry-management-links {display: none}


If you really want to get down and dirty with CSS coding and exploring it, I cannot recommend Firebug enough if you have access to Firefox. It will let you select an element, highlight it in the HTML of the page to see what ID it has or classes it belongs to, and also show you the CSS that applies to it. It's amazing. You can even use it to edit the CSS on the fly to test out what the changes you want to make do before you put them into the CSS for your layout.
stormy: βͺ ππŽπ“πˆπ‚π„ ❫ 𝑫𝑢 𝑡𝑢𝑻 𝑻𝑨𝑲𝑬 𝑴𝒀 𝑰π‘ͺ𝑢𝑡𝑺 ⊘ (Default)

Re: Thanks & another question

[personal profile] stormy 2010-04-03 02:34 am (UTC)(link)
Ah! I see it was fixed for you already! Glad you were able to overcome the extra links! ♥
stormy: βͺ ππŽπ“πˆπ‚π„ ❫ 𝑫𝑢 𝑡𝑢𝑻 𝑻𝑨𝑲𝑬 𝑴𝒀 𝑰π‘ͺ𝑢𝑡𝑺 ⊘ (Default)

gasp!

[personal profile] stormy 2010-04-03 02:37 am (UTC)(link)
I have never heard of Firebug! I've always manually hunted down the code I needed and changed it. I'll have to try that out.