Changing Line Spacing…
Changing Line Spacing…
Hello,
I'm fairly new to adium styles and am trying to edit one of them. I understand HTML and CSS a pretty good deal, but for the life of me can't figure this one out.
I want to take the justtext style and add a little more line spacing. I wanted to use Gill Sans Light as the font, but when I use 12 pt it cuts off the top of the capitol letters. I'm forced to then use 11 pt which is a bit to small w/ this font.
Any help would be greatly appreciated. Thanks.
I'm fairly new to adium styles and am trying to edit one of them. I understand HTML and CSS a pretty good deal, but for the life of me can't figure this one out.
I want to take the justtext style and add a little more line spacing. I wanted to use Gill Sans Light as the font, but when I use 12 pt it cuts off the top of the capitol letters. I'm forced to then use 11 pt which is a bit to small w/ this font.
Any help would be greatly appreciated. Thanks.
F it and live your life.
You should be able to change the font either in main.css or in the message preferences. In main.css, you'd add/change:
You may also want to add a fall-back, like { font-family: "Gill Sans Light", sans-serif; }. If you want only the message text, and not (for example) the timestamps, you could use .message (I think) for the selector. You probably want to add line-height to the body selector, or it'll look weird / not work out right.
Code: Select all
body {
font-family: "Gill Sans Light";
}naib.webhop.org | PGP: 0xEC479127
-
shanecavanaugh
In main.css you'll see this
Change that to this:
That should do it.
Code: Select all
.contextmessage {
color: #666;
}Code: Select all
.contextmessage {
color: #666;
margin-bottom: 3px;
}Actually, I think you want a different selector (assuming the HTML's similar in this mod to how it was when I wrote it). Margin may be a better route to go than line-height, though (or you might want both). The HTML looks like this:shanecavanaugh wrote:That should do it.Code: Select all
.contextmessage { color: #666; margin-bottom: 3px; }
Code: Select all
<div class="incoming">
<span class="contexttime">%time% : </span>
<span class="contextsender">%sender% : </span>
<span class="contextmessage">%message%</span>
</div>
<div class="incoming">
<span class="time">%time% : </span>
<span class="message">%message%</span>
</div>
<div id="insert"></div>Code: Select all
span {
margin-bottom: 3px;
/* or try line-height: 14pt; or something */
}Code: Select all
.incoming, .outgoing {
margin-bottom: 3px;
/* or try line-height: 14pt; or something */
}naib.webhop.org | PGP: 0xEC479127
[/img]