<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html><html class=''>
<head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/pirrera/pen/pHmAi?depth=everything&limit=all&order=popularity&page=24&q=avatar&show_forks=false" />
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css'>
<style class="cp-pen-styles">@import url(https://fonts.googleapis.com/css?family=Open+Sans:300);
@import url(http://weloveiconfonts.com/api/?family=entypo);
/* entypo */
[class*="entypo-"]:before {
font-family: 'entypo', sans-serif;
}
body {
height:100%;
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
font-size: 1em;
font-weight: 300;
line-height: 1.5;
letter-spacing: 0.05em;
background-image: -webkit-linear-gradient(315deg, rgba(52, 152, 219,0.9) 0%,rgba(243, 65, 65, 0.8) 100%), url('https://i.imgur.com/ZWeegbh.jpg');
background-image: linear-gradient(135deg, rgba(52, 152, 219,0.9) 0%,rgba(243, 65, 65, 0.8) 100%), url('https://i.imgur.com/ZWeegbh.jpg');
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
}
* {
box-sizing: border-box;
}
.avatar {
background-image: url("https://i.imgur.com/d598nSK.png");
background-size: cover;
border-radius: 100%;
margin: 4rem auto 2rem auto;
width: 10rem;
height: 10rem;
box-shadow: 0 0 0 8px rgba(255,255,255,0.2);
-webkit-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.avatar:hover {
box-shadow: 0 0 0 12px rgba(255,255,255,0.6);
}
h1 {
text-align:center;
font-size:24px;
font-weight:300;
color:#ffffff;
text-shadow: 1px 1px 2px #444444;
margin: 0;
}
h3 {
text-align:center;
font-size:16px;
font-weight:300;
color:#ffffff;
text-shadow: 1px 1px 2px #444444;
margin: 0.5em 0 1em 0;
}
p {
text-align:center;
font-size:12px;
font-weight:300;
color:#ffffff;
text-shadow: 1px 1px 2px #444444;
}
.container {
left: 50%;
margin:6em 0 0 -108px;
position: absolute;
}
.social {
position: relative;
height: 3em;
width: 13.5em;
}
.social li {
border-radius:10px;
display: block;
height: 4em;
line-height: 4em;
margin: -2.2em;
position: absolute;
-webkit-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
text-align: center;
width: 4em;
box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
}
.social a {
color: #ffffff;
text-decoration:none;
display: block;
height: 4em;
line-height: 4em;
text-align: center;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
width: 4em;
}
@media only screen
and (max-width : 320px) {
.container {
left: 50%;
margin: 5em 0 0 -64px;
position: absolute;
}
.social {
position: relative;
height: 3em;
width: 10em;
}
.social li {
height: 3em;
line-height: 3em;
width: 3em;
}
.social a {
height: 3em;
line-height: 3em;
width: 3em;
}
}
.facebook {
background:rgba(255,255,255,0.1);
left: 0;
top: 0%;
}
.facebook:hover{
background:#155b9d;
box-shadow: 0 0 0 2px #155b9d;
}
.twitter {
background:rgba(255,255,255,0.1);
bottom: 0;
left: 25%;
}
.twitter:hover{
background:#4099FF;
box-shadow: 0 0 0 2px #4099FF;
}
.sociali {
background:rgba(255,255,255,0.1);
left: 50%;
top: 0;
}
.sociali:hover{
background:#f34141;
box-shadow: 0 0 0 2px #f34141;
}
.codepen {
background:rgba(255,255,255,0.1);
left: 75%;
bottom: 0;
}
.codepen:hover{
background:#333333;
box-shadow: 0 0 0 2px #333333;
}
.mail {
background:rgba(255,255,255,0.1);
left: 100%;
top: 0;
}
.mail:hover{
background:#1abc9c;
box-shadow: 0 0 0 2px #1abc9c;
}
</style></head><body>
<div class="avatar"></div>
<h1>Gianluca Pirrera</h1>
<div class="container">
<ul class="social">
<li class="facebook"><a href="#" class="entypo-facebook"></a></li>
<li class="twitter"><a href="#" class="entypo-twitter"></a></li>
<li class="sociali"><a href="#" class="entypo-mouse"></a></li>
<li class="codepen"><a href="#" class="entypo-code"></a></li>
<li class="mail"><a href="#" class="entypo-mail"></a></li>
</ul>
</div>
<script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script>
<script >// Simple Profile Page
// no js
// live @ www.pirrera.ch
// social container inspired from Marco https://codepen.io/m412c0/pen/yInjA
//# sourceURL=pen.js
</script>
</body></html>