Skip to content

Commit

Permalink
Force tweet content area to have a white background.
Browse files Browse the repository at this point in the history
  • Loading branch information
drdrang committed Mar 2, 2011
1 parent 3917622 commit f50ffa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blackbirdpy.py
Expand Up @@ -36,7 +36,7 @@
import urllib2

TWEET_EMBED_HTML = u'''<!-- {tweetURL} -->
<style type='text/css'>.bbpBox{id} {{{bbpBoxCss}background:url({profileBackgroundImage}) #{profileBackgroundColor};padding:20px;;width:80%;margin-right:auto;margin-left:auto}} blockquote.bbpTweet{{font-size:100% !important;background:#fff;padding:10px 12px 10px 12px;margin:0;min-height:48px;-moz-border-radius:5px;-webkit-border-radius:5px}} blockquote.bbpTweet a{{color:blue;text-decoration:none}} blockquote.bbpTweet a:hover{{text-decoration:underline}} blockquote.bbpTweet p{{margin:0}} blockquote.bbpTweet p.tweet{{color:#000;font-size:1.25em !important;line-height:1.3}} blockquote.bbpTweet p.timestamp{{font-family:Sans-serif;font-size:60%;display:block;padding-top:0.5em;text-align:right}} blockquote.bbpTweet p.metadata{{width:100%;margin-top:8px;padding-top:12px;height:40px;border-top:1px solid #fff;border-top:1px solid #e6e6e6;font-family:Sans-serif;line-height:1.1}} blockquote.bbpTweet p.metadata span.author span.realName{{color:#888;font-size:75%;display:block}} blockquote.bbpTweet p.metadata span.author img{{float:left;margin:0 7px 0 0px;width:36px;height:36px}} </style>
<style type='text/css'>.bbpBox{id} {{{bbpBoxCss}background:url({profileBackgroundImage}) #{profileBackgroundColor};padding:20px;;width:80%;margin-right:auto;margin-left:auto}} blockquote.bbpTweet{{font-size:100% !important;background:#fff !important;padding:10px 12px 10px 12px;margin:0;min-height:48px;-moz-border-radius:5px;-webkit-border-radius:5px}} blockquote.bbpTweet a{{color:blue;text-decoration:none}} blockquote.bbpTweet a:hover{{text-decoration:underline}} blockquote.bbpTweet p{{margin:0}} blockquote.bbpTweet p.tweet{{color:#000;font-size:1.25em !important;line-height:1.3}} blockquote.bbpTweet p.timestamp{{font-family:Sans-serif;font-size:60%;display:block;padding-top:0.5em;text-align:right}} blockquote.bbpTweet p.metadata{{width:100%;margin-top:8px;padding-top:12px;height:40px;border-top:1px solid #fff;border-top:1px solid #e6e6e6;font-family:Sans-serif;line-height:1.1}} blockquote.bbpTweet p.metadata span.author span.realName{{color:#888;font-size:75%;display:block}} blockquote.bbpTweet p.metadata span.author img{{float:left;margin:0 7px 0 0px;width:36px;height:36px}} </style>
<div class='bbpBox{id}'><blockquote class="bbpTweet"><p class="tweet">{tweetText}</p><p class='timestamp'><a title='{timeStamp}' href='{tweetURL}'>{easyTimeStamp}</a></p><p class='metadata'><span class='author'><a href='http://twitter.com/{screenName}'><img src='{profilePic}' /></a><a href='http://twitter.com/{screenName}'><strong>@{screenName}</strong></a> <span class='realName'>{realName}</span></span></p></blockquote></div>
<!-- end of tweet -->'''

Expand Down

0 comments on commit f50ffa0

Please sign in to comment.