Created
April 14, 2010 11:21
-
-
Save retlet/365693 to your computer and use it in GitHub Desktop.
tig + LimeChat for Macでアイコン表示したりする。要: http://gist.github.com/365781
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
LimeChat for Mac の画像をインラインで表示する機能を利用してTwitterアイコンを表示するTIGのDLRスクリプト(http://gist.github.com/365781)用スタイル。 | |
テーマのcssファイルに追記するか、@import url("twitter_icon.css"); で読み込み。 | |
*/ | |
html[channelname$="@t"]:not([channelname="#console@t"]) div[nick] { | |
position: relative; | |
min-height: 32px; | |
padding-left: 32px; | |
} | |
html[channelname$="@t"]:not([channelname="#console@t"]) a[href*="twimg.com/profile_images/"][href*="_normal."].url, | |
html[channelname$="@t"]:not([channelname="#console@t"]) a[href*="twimg.com/"][href*="default_profile"][href*="_normal."].url, | |
html.console a[href*="twimg.com/profile_images/"][href*="_normal."].url { | |
display: none; | |
} | |
html[channelname$="@t"]:not([channelname="#console@t"]) a[href*="twimg.com/profile_images/"][href*="_normal."]:last-child, | |
html[channelname$="@t"]:not([channelname="#console@t"]) a[href*="twimg.com/"][href*="default_profile"][href*="_normal."]:last-child { | |
position: absolute; | |
top: 3px; | |
left: 3px; | |
margin: 0; | |
padding: 0; | |
} | |
html[channelname$="@t"]:not([channelname="#console@t"]) a[href*="twimg.com/profile_images/"][href*="_normal."]:last-child img.inlineimage, | |
html[channelname$="@t"]:not([channelname="#console@t"]) a[href*="twimg.com/"][href*="default_profile"][href*="_normal."]:last-child img.inlineimage { | |
width: 24px; | |
height: 24px; | |
margin: 0; | |
padding: 0; | |
-webkit-box-shadow: none; | |
} | |
/* 時刻を右寄せ */ | |
/*html[channelname$="@t"]:not([channelname="#console@t"]) div[nick] .time { | |
float: right; | |
font-size: smaller; | |
font-weight: normal; | |
}*/ | |
/* 時刻を一段落として名前を左に寄せる */ | |
/*html[channelname$="@t"]:not([channelname="#console@t"]) div[nick] .time { | |
position: absolute; | |
margin-top: 1em; | |
} | |
html[channelname$="@t"]:not([channelname="#console@t"]) div[nick] .sender { | |
float: left; | |
min-height: 2em; | |
min-width: 4.5em; | |
}*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment