Created
February 3, 2016 23:37
-
-
Save kevsersrca/90a578e90e890f735f5e to your computer and use it in GitHub Desktop.
Twitter Profile Card
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Twitter</title> | |
<style> | |
.twPc-div { | |
background: #fff none repeat scroll 0 0; | |
border: 1px solid #e1e8ed; | |
border-radius: 6px; | |
height: 200px; | |
max-width: 340px; // orginal twitter width: 290px; | |
} | |
.twPc-bg { | |
background-image: url("https://pbs.twimg.com/profile_banners/50988711/1384539792/600x200"); | |
background-position: 0 50%; | |
background-size: 100% auto; | |
border-bottom: 1px solid #e1e8ed; | |
border-radius: 4px 4px 0 0; | |
height: 95px; | |
width: 100%; | |
} | |
.twPc-block { | |
display: block !important; | |
} | |
.twPc-button { | |
margin: -35px -10px 0; | |
text-align: right; | |
width: 100%; | |
} | |
.twPc-avatarLink { | |
background-color: #fff; | |
border-radius: 6px; | |
display: inline-block !important; | |
float: left; | |
margin: -30px 5px 0 8px; | |
max-width: 100%; | |
padding: 1px; | |
vertical-align: bottom; | |
} | |
.twPc-avatarImg { | |
border: 2px solid #fff; | |
border-radius: 7px; | |
box-sizing: border-box; | |
color: #fff; | |
height: 72px; | |
width: 72px; | |
} | |
.twPc-divUser { | |
margin: 5px 0 0; | |
} | |
.twPc-divName { | |
font-size: 18px; | |
font-weight: 700; | |
line-height: 21px; | |
} | |
.twPc-divName a { | |
color: inherit !important; | |
} | |
.twPc-divStats { | |
margin-left: 11px; | |
padding: 10px 0; | |
} | |
.twPc-Arrange { | |
box-sizing: border-box; | |
display: table; | |
margin: 0; | |
min-width: 100%; | |
padding: 0; | |
table-layout: auto; | |
} | |
ul.twPc-Arrange { | |
list-style: outside none none; | |
margin: 0; | |
padding: 0; | |
} | |
.twPc-ArrangeSizeFit { | |
display: table-cell; | |
padding: 0; | |
vertical-align: top; | |
} | |
.twPc-ArrangeSizeFit a:hover { | |
text-decoration: none; | |
} | |
.twPc-StatValue { | |
display: block; | |
font-size: 18px; | |
font-weight: 500; | |
transition: color 0.15s ease-in-out 0s; | |
} | |
.twPc-StatLabel { | |
color: #8899a6; | |
font-size: 10px; | |
letter-spacing: 0.02em; | |
overflow: hidden; | |
text-transform: uppercase; | |
transition: color 0.15s ease-in-out 0s; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="row"> | |
<h1>Twitter Profile Card</h1> | |
<!-- code start --> | |
<div class="twPc-div"> | |
<a class="twPc-bg twPc-block"></a> | |
<div> | |
<div class="twPc-button"> | |
<!-- Twitter Button | you can get from: https://about.twitter.com/tr/resources/buttons#follow --> | |
<a href="https://twitter.com/kevsersrca" class="twitter-follow-button" data-show-count="false" data-size="large" data-show-screen-name="false" data-dnt="true">Follow @kevsersrca</a> | |
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> | |
<!-- Twitter Button --> | |
</div> | |
<a title="Kevser Sırça" href="https://twitter.com/kevsersrca" class="twPc-avatarLink"> | |
<img alt="Kevser Sırça" src="https://pbs.twimg.com/profile_images/694656909710905344/vsvxY9lT.jpg" class="twPc-avatarImg"> | |
</a> | |
<div class="twPc-divUser"> | |
<div class="twPc-divName"> | |
<a href="https://twitter.com/kevsersrca">Kevser Sırça</a> | |
</div> | |
<span> | |
<a href="https://twitter.com/kevsersrca">@<span>kevsersrca</span></a> | |
</span> | |
</div> | |
<div class="twPc-divStats"> | |
<ul class="twPc-Arrange"> | |
<li class="twPc-ArrangeSizeFit"> | |
<a href="https://twitter.com/kevsersrca" title="9.840 Tweet"> | |
<span class="twPc-StatLabel twPc-block">Tweets</span> | |
<span class="twPc-StatValue">123</span> | |
</a> | |
</li> | |
<li class="twPc-ArrangeSizeFit"> | |
<a href="https://twitter.com/kevsersrca/following" title="885 Following"> | |
<span class="twPc-StatLabel twPc-block">Following</span> | |
<span class="twPc-StatValue">119</span> | |
</a> | |
</li> | |
<li class="twPc-ArrangeSizeFit"> | |
<a href="https://twitter.com/kevsersrca/followers" title="1.810 Followers"> | |
<span class="twPc-StatLabel twPc-block">Followers</span> | |
<span class="twPc-StatValue">145</span> | |
</a> | |
</li> | |
</ul> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment