Skip to content

Instantly share code, notes, and snippets.

@LouisJeff
Created September 23, 2020 00:37
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 LouisJeff/9a21973fbc98680dd8709d5d8cf1f188 to your computer and use it in GitHub Desktop.
Save LouisJeff/9a21973fbc98680dd8709d5d8cf1f188 to your computer and use it in GitHub Desktop.
User profile
<h1 class="title-pen"> User Profile <span>UI</span></h1>
<div class="user-profile">
<img class="avatar" src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTF_erFD1SeUnxEpvFjzBCCDxLvf-wlh9ZuPMqi02qGnyyBtPWdE-3KoH3s" alt="Ash" />
<div class="username">Will Smith</div>
<div class="bio">
Senior UI Designer
</div>
<div class="description">
I use to design websites and applications
for the web.
</div>
<ul class="data">
<li>
<span class="entypo-heart"> 127</span>
</li>
<li>
<span class="entypo-eye"> 853</span>
</li>
<li>
<span class="entypo-user"> 311</span>
</li>
</ul>
</div>
<footer>
<h1>inspired by
<a href="https://dribbble.com/shots/1033074-User-Profile">
<span class="entypo-dribbble"></span> shot</a>
</h1>
</footer>
// simple and elegant profile: https://d13yacurqjgara.cloudfront.net/users/4714/screenshots/1033074/profile.png
// Important: Will Smith on another planet is designer and developer.
// Dribbble: https://dribbble.com/shots/1033074-User-Profile
/* Happy code :D */
// art of José
/* CSS design by @jofpin */
@import url(https://fonts.googleapis.com/css?family=Raleway|Varela+Round|Coda);
@import url(http://weloveiconfonts.com/api/?family=entypo);
[class*="entypo-"]:before {
font-family: 'entypo', sans-serif;
}
body {
background: #fffcdd;
padding: 2.23em;
}
.title-pen {
color: #333;
font-family: "Coda", sans-serif;
text-align: center;
}
.title-pen span {
color: #55acee;
}
.user-profile {
margin: auto;
width: 25em;
height: 11em;
background: #fff;
border-radius: .3em;
}
.user-profile .username {
margin: auto;
margin-top: -4.40em;
margin-left: 5.80em;
color: #658585;
font-size: 1.53em;
font-family: "Coda", sans-serif;
font-weight: bold;
}
.user-profile .bio {
margin: auto;
display: inline-block;
margin-left: 10.43em;
color: #e76043;
font-size: .87em;
font-family: "varela round", sans-serif;
}
.user-profile > .description {
margin: auto;
margin-top: 1.35em;
margin-right: 4.43em;
width: 14em;
color: #c0c5c5;
font-size: .87em;
font-family: "varela round", sans-serif;
}
.user-profile > img.avatar {
padding: .7em;
margin-left: .3em;
margin-top: .3em;
height: 6.23em;
width: 6.23em;
border-radius: 18em;
}
.user-profile ul.data {
margin: 2em auto;
height: 3.70em;
background: #4eb6b6;
text-align: center;
border-radius: 0 0 .3em .3em;
}
.user-profile li {
margin: 0 auto;
padding: 1.30em;
width: 33.33334%;
display: table-cell;
text-align: center;
}
.user-profile span {
font-family: "varela round", sans-serif;
color: #e3eeee;
white-space: nowrap;
font-size: 1.27em;
font-weight: bold;
}
.user-profile span:hover {
color: #daebea;
}
footer > h1 {
display: block;
text-align: center;
clear: both;
font-family: "Coda", sans-serif;
color: #343f3d;
line-height: 6;
font-size: 1.6em;
}
footer > h1 a {
text-decoration: none;
color: #ea4c89;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment