Skip to content

Commit 3361208

Browse files
committed
fix twitter
1 parent 8007c26 commit 3361208

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

resources/css/main.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,14 +1419,19 @@ h2.twitterhdr > span {
14191419
float: right;
14201420
}
14211421

1422-
.tweets { position: relative; }
1422+
.tweets { position: relative; zoom: 1; }
1423+
.tweets:after {
1424+
content: " ";
1425+
display: block;
1426+
clear: both;
1427+
}
14231428

14241429
.tweet-container {
14251430
position: relative;
14261431
float: left;
1427-
width: 220px;
1432+
width: 215px;
14281433
height: 230px;
1429-
margin-right: 20px;
1434+
margin: 0 10px;
14301435
vertical-align: bottom;
14311436
}
14321437

@@ -1459,12 +1464,12 @@ h2.twitterhdr > span {
14591464
.original-tweet { font-family: "museo-slab", serif; font-size: 13px; padding-top: 8px; color: #fff;}
14601465
.original-tweet > a { color: #fff; /*color: #839496;*/ font-weight: normal; text-decoration: none; border: none; }
14611466
.original-tweet > a:hover { color: #DC322F; }
1462-
.tweet-username { position: relative; top: 10px; left: -10px; color: #839496; white-space: nowrap; line-height: 1em;}
1467+
.tweet-username { color: rgb(131, 148, 150); white-space: nowrap; line-height: 1em; display: inline-block; padding-left: .5em; }
14631468
.tweet-username > a { color: #fff; /*color: #657B83;*/ font-weight: bold; text-decoration: none; border: none; }
14641469
.tweet-username > a:hover { color: #DC322F; border: none; }
14651470
.triangle { position: relative; bottom: 9px; left: 40px; height: 0px; width: 1px; margin-left: auto; margin-right: auto; border-top: 16px solid rgba(0, 30, 30, 0.7); border-left: none; border-right: 16px solid transparent; border-bottom: none; }
14661471
.bottom-anchored { position: absolute; bottom: 0px; }
1467-
.lh1em { line-height: 1em; }
1472+
.avatar-wrapper { border-radius: 40px; overflow: hidden; width: 50px; height: 50px; display: inline-block; margin-left: 12px; }
14681473

14691474
.caret-container{ position: absolute; bottom: 60px; }
14701475
.caret-divider{ position:absolute;top:0;left:28px;width:16px;height:8px}

resources/css/prettify.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
.prettyprint { background-color: #073642; }
3-
.prettyprint code { color: #839496; white-space: nowrap; overflow: auto; }
3+
.prettyprint code { color: #839496; overflow: auto; }
44
.prettyprint .pln { color: inherit; }
55
.prettyprint .str, .prettyprint .atv { color: #2aa198; }
66
.prettyprint .lit { color: #D33682;}

resources/js/main.js

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -156,17 +156,13 @@ $(document).ready(function(){
156156
<div class="caret-inner"></div>\
157157
</div>\
158158
</div>\
159-
<div class="raw bootom-anchored">\
160-
<div class="span1">\
161-
<div class="thumbnail">\
162-
<img class="avatar" width="70" height="70" src="" />\
163-
</div>\
164-
</div>\
165-
<div class="span2 lh1em">\
166-
<span class="tweet-username">\
167-
<a href="" class="username" rel="external"></a>\
168-
</span>\
159+
<div class="raw bottom-anchored">\
160+
<div class="avatar-wrapper">\
161+
<img class="avatar" width="50" height="50" src="" />\
169162
</div>\
163+
<span class="tweet-username">\
164+
<a href="" class="username" rel="external"></a>\
165+
</span>\
170166
</div>\
171167
</div>\
172168
'

0 commit comments

Comments
 (0)