Change the twitter view to place the user's avatar under the message

This commit is contained in:
Joseph Schorr 2014-04-30 22:29:03 -04:00
parent 2d18117e68
commit 7cb5b33123
2 changed files with 81 additions and 14 deletions

View file

@ -1369,19 +1369,45 @@ i.toggle-icon:hover {
border: 0px;
}
.landing-page .twitter-tweet .avatar {
.landing-page .twitter-tweet p {
display: block;
text-align: center;
font-size: 20px;
}
.landing-page .twitter-tweet .attribute {
display: block;
text-align: center;
margin-bottom: 20px;
position: relative;
margin-top: 20px;
}
.landing-page .twitter-tweet .info-wrap {
display: inline-block;
padding-left: 70px;
}
.landing-page .twitter-tweet .avatar img {
border-radius: 4px;
border: 2px solid rgb(70, 70, 70);
width: 50px;
float: left;
}
.landing-page .twitter-tweet .author:before {
content: "-";
.landing-page .twitter-tweet .info {
display: inline-block;
margin-left: 10px;
text-align: left;
margin-top: 4px;
}
.landing-page .twitter-tweet .reference {
display: block;
}
.landing-page .twitter-tweet .author {
display: block;
}
.follow-button {

View file

@ -161,35 +161,76 @@
<ul>
<li>
<blockquote class="twitter-tweet" data-conversation="none" lang="en">
<span class="avatar"><img src="https://pbs.twimg.com/profile_images/3320588708/9237d8d056e9ce2fa737ea7ab2de345b_bigger.jpeg"></span>
<p>Pushing Dockerfile changes to Github and having <a href="https://twitter.com/quayio">@quayio</a> build the <a href="https://twitter.com/docker">@docker</a> image/container for you is extremely awesome.</p>
<span class="author">Ross Timson (@rosstimson)</span> <a href="https://twitter.com/rosstimson/statuses/451052618685882368">April 1, 2014</a>
<div class="attribute">
<span class="info-wrap">
<span class="avatar"><img src="https://pbs.twimg.com/profile_images/3320588708/9237d8d056e9ce2fa737ea7ab2de345b_bigger.jpeg"></span>
<span class="info">
<span class="author">Ross Timson (@rosstimson)</span>
<a class="reference" href="https://twitter.com/rosstimson/statuses/451052618685882368">April 1, 2014</a>
</span>
</span>
</div>
</blockquote>
</li>
<li>
<blockquote class="twitter-tweet" data-conversation="none" lang="en">
<span class="avatar"><img src="https://pbs.twimg.com/profile_images/2578175278/ykn3l9ktfdy1hia5odij_bigger.jpeg"></span>
<p><a href="https://twitter.com/quayio">@quayio</a> releases Docker build flair! <a href="http://t.co/72ULgveLj4">pic.twitter.com/72ULgveLj4</a></p>
<span class="author">Frank Macreery (@fancyremarker)</span> <a href="https://twitter.com/fancyremarker/statuses/448528623692025857">March 25, 2014</a>
<div class="attribute">
<span class="info-wrap">
<span class="avatar"><img src="https://pbs.twimg.com/profile_images/2578175278/ykn3l9ktfdy1hia5odij_bigger.jpeg"></span>
<span class="info">
<span class="author">Frank Macreery (@fancyremarker)</span>
<a href="https://twitter.com/fancyremarker/statuses/448528623692025857">March 25, 2014</a>
</span>
</span>
</div>
</blockquote>
</li>
<li>
<blockquote class="twitter-tweet" data-conversation="none" lang="en">
<span class="avatar"><img src="https://pbs.twimg.com/profile_images/438406731660394496/UKGDY6xB_bigger.jpeg"></span>
<div class="attribute">
<p>Just started playing with <a href="https://twitter.com/quayio">@quayio</a> builds tied to <a href="https://twitter.com/search?q=%23github&amp;src=hash">#github</a> repo. Really liking it. My first experiment: <a href="https://t.co/2LgyagwTEq">https://t.co/2LgyagwTEq</a></p>
<span class="author">Joshua Goldie (@jdgoldie)</span> <a href="https://twitter.com/jdgoldie/statuses/446622958040408064">March 20, 2014</a>
<span class="info-wrap">
<span class="avatar"><img src="https://pbs.twimg.com/profile_images/438406731660394496/UKGDY6xB_bigger.jpeg"></span>
<span class="info">
<span class="author">Joshua Goldie (@jdgoldie)</span>
<a href="https://twitter.com/jdgoldie/statuses/446622958040408064">March 20, 2014</a>
</span>
</span>
</div>
</blockquote>
</li>
<li>
<blockquote class="twitter-tweet" data-conversation="none" lang="en">
<div class="attribute">
<p>Great guys <a href="https://twitter.com/quayio">@quayio</a>. If you havent tried it, do.</p>
<span class="info-wrap">
<span class="avatar"><img src="https://pbs.twimg.com/profile_images/378800000731516813/e70eae6c4a2c25ae516660e958b3d36b_bigger.jpeg"></span>
<p>Great guys <a href="https://twitter.com/quayio">@quayio</a>. If you havent tried it, do.</p><span class="author">Evan Hazlett (@ehazlett)</span> <a href="https://twitter.com/ehazlett/statuses/442351806161510400">March 8, 2014</a>
<span class="info">
<span class="author">Evan Hazlett (@ehazlett)</span>
<a href="https://twitter.com/ehazlett/statuses/442351806161510400">March 8, 2014</a>
</span>
</span>
</div>
</blockquote>
</li>
<li>
<blockquote class="twitter-tweet" data-conversation="none" lang="en">
<div class="attribute">
<p><a href="https://twitter.com/quayio">@quayio</a> has awesome support. <a href="https://twitter.com/search?q=%23awesomeTool&amp;src=hash">#awesomeTool</a> <a href="https://twitter.com/search?q=%23awesomeTeam&amp;src=hash">#awesomeTeam</a></p>
<span class="info-wrap">
<span class="avatar"><img src="https://pbs.twimg.com/profile_images/441681582097563649/c1Hen0hx_bigger.jpeg"></span>
<p><a href="https://twitter.com/quayio">@quayio</a> has awesome support. <a href="https://twitter.com/search?q=%23awesomeTool&amp;src=hash">#awesomeTool</a> <a href="https://twitter.com/search?q=%23awesomeTeam&amp;src=hash">#awesomeTeam</a></p><span class="author">Jon Morehouse (@JonMorehouse)</span> <a href="https://twitter.com/JonMorehouse/statuses/441719785055739904">March 6, 2014</a>
<span class="info">
<span class="author">Jon Morehouse (@JonMorehouse)</span>
<a href="https://twitter.com/JonMorehouse/statuses/441719785055739904">March 6, 2014</a>
</span>
</span>
</div>
</blockquote>
</li>
</ul>