Skip to content

Instantly share code, notes, and snippets.

@Terron23
Created October 16, 2017 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Terron23/6b2427ff7b8aa0cdd9ac5ca6720b9cbb to your computer and use it in GitHub Desktop.
Save Terron23/6b2427ff7b8aa0cdd9ac5ca6720b9cbb to your computer and use it in GitHub Desktop.
Web Bio Template
<div class="container">
<div class="row">
<div class="[ col-sm-6 col-md-offset-2 col-md-6 ]">
<div class="[ info-card ]">
<img style="width: 100%" src="http://cdn.hitfix.com/photos/5687160/Bob_Odenkirk_article_story_large.jpg" />
<div class="[ info-card-details ] animate">
<div class="[ info-card-header ]">
<h1> Saul Goodman </h1>
<h2> President-Elect </h2>
</div>
<div class="[ info-card-detail ]">
<!-- Description -->
Law Firm of first and second<br>
test & template LLP<br>
One Battery Park Plaza<br>
New York, NY 10004-1441<br><br>
Phone: 212-574-5555<br>
Fax: 212-555-5555<br>
firstandsecond@template.com<br>
<div class="social">
<a href="https://www.facebook.com/rem.mcintosh" class="[ social-icon facebook ] animate"><span class="fa fa-facebook"></span></a>
<a href="https://twitter.com/Mouse0270" class="[ social-icon twitter ] animate"><span class="fa fa-twitter"></span></a>
<a href="https://github.com/mouse0270" class="[ social-icon github ] animate"><span class="fa fa-github-alt"></span></a>
<a href="https://plus.google.com/u/0/115077481218689845626/posts" class="[ social-icon google-plus ] animate"><span class="fa fa-google-plus"></span></a>
<a href="www.linkedin.com/in/remcintosh/" class="[ social-icon linkedin ] animate"><span class="fa fa-linkedin"></span></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@import url(//fonts.googleapis.com/css?family=Lato:400,900);
@import url(//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css);
body {
padding: 60px 0px;
}
.animate {
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
.info-card {
width: 100%;
border: 1px solid rgb(215, 215, 215);
position: relative;
font-family: 'Lato', sans-serif;
margin-bottom: 20px;
overflow: hidden;
}
.info-card > img {
width: 100px;
margin-bottom: 60px;
}
.info-card .info-card-details,
.info-card .info-card-details .info-card-header {
width: 100%;
height: 100%;
position: absolute;
bottom: -100%;
left: 0;
padding: 0 15px;
background: rgb(255, 255, 255);
text-align: center;
}
.info-card .info-card-details::-webkit-scrollbar {
width: 8px;
}
.info-card .info-card-details::-webkit-scrollbar-button {
width: 8px;
height: 0px;
}
.info-card .info-card-details::-webkit-scrollbar-track {
background: transparent;
}
.info-card .info-card-details::-webkit-scrollbar-thumb {
background: rgb(160, 160, 160);
}
.info-card .info-card-details::-webkit-scrollbar-thumb:hover {
background: rgb(130, 130, 130);
}
.info-card .info-card-details .info-card-header {
height: auto;
bottom: 100%;
padding: 10px 5px;
}
.info-card:hover .info-card-details {
bottom: 0px;
overflow: auto;
padding-bottom: 25px;
}
.info-card:hover .info-card-details .info-card-header {
position: relative;
bottom: 0px;
padding-top: 45px;
padding-bottom: 25px;
}
.info-card .info-card-details .info-card-header h1,
.info-card .info-card-details .info-card-header h3 {
color: rgb(62, 62, 62);
font-size: 22px;
font-weight: 900;
text-transform: uppercase;
margin: 0 !important;
padding: 0 !important;
}
.info-card .info-card-details .info-card-header h2 {
color: rgb(45, 78, 103);
font-size: 25px;
font-weight: 900;
margin-top: 5px;
}
.info-card .info-card-details .info-card-detail .social {
list-style: none;
padding: 0px;
margin-top: 25px;
text-align: center;
}
.info-card .info-card-details .info-card-detail .social a {
position: relative;
display: inline-block;
min-width: 40px;
padding: 10px 0px;
margin: 0px 5px;
overflow: hidden;
text-align: center;
background-color: rgb(215, 215, 215);
border-radius: 40px;
}
a.social-icon {
text-decoration: none !important;
box-shadow: 0px 0px 1px rgb(51, 51, 51);
box-shadow: 0px 0px 1px rgba(51, 51, 51, 0.7);
}
a.social-icon:hover {
color: rgb(255, 255, 255) !important;
}
a.facebook {
color: rgb(59, 90, 154) !important;
}
a.facebook:hover {
background-color: rgb(59, 90, 154) !important;
}
a.twitter {
color: rgb(45, 168, 225) !important;
}
a.twitter:hover {
background-color: rgb(45, 168, 225) !important;
}
a.github {
color: rgb(51, 51, 51) !important;
}
a.github:hover {
background-color: rgb(51, 51, 51) !important;
}
a.google-plus {
color: rgb(244, 94, 75) !important;
}
a.google-plus:hover {
background-color: rgb(244, 94, 75) !important;
}
a.linkedin {
color: rgb(1, 116, 179) !important;
}
a.linkedin:hover {
background-color: rgb(1, 116, 179) !important;
}
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment