mirror of
https://github.com/jimeh/jimeh.me-v3.0.git
synced 2026-02-19 05:46:40 +00:00
added avatar to front-page
This commit is contained in:
@@ -4,6 +4,7 @@ title: jimeh / about
|
||||
---
|
||||
|
||||
<div id="about">
|
||||
<span class="avatar"><a href="http://gravatar.com/avatar/c48498c82bfaf0c6c8843ba85e3cd598.jpg?s=354" class="fancybox"><img src="http://gravatar.com/avatar/c48498c82bfaf0c6c8843ba85e3cd598.jpg?s=70" alt="" /></a></span>
|
||||
<h4 class="thin">
|
||||
Hi, my name is <strong>Jim Myhrberg</strong>.
|
||||
</h4>
|
||||
|
||||
@@ -628,27 +628,44 @@ blockquote {
|
||||
/* @group #about */
|
||||
|
||||
#about {
|
||||
width: 454px;
|
||||
height: 170px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top: -150px;
|
||||
margin-left: -228px;
|
||||
width: 454px;
|
||||
height: 170px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top: -150px;
|
||||
margin-left: -228px;
|
||||
}
|
||||
#about .info {
|
||||
color: #bbb;
|
||||
margin: 0px auto;
|
||||
/*width: 100%;*/
|
||||
}
|
||||
#about .info .label {
|
||||
text-align: right;
|
||||
padding-right: 5px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
#about .info .label a {
|
||||
color: #bbb;
|
||||
}
|
||||
#about .avatar {
|
||||
position: absolute;
|
||||
top: -23px;
|
||||
left: -95px;
|
||||
margin: 0px 10px 10px 0px;
|
||||
cursor: default;
|
||||
-webkit-transform: rotate(-2deg);
|
||||
-moz-transform: rotate(-2deg);
|
||||
}
|
||||
#about .avatar img {
|
||||
opacity: 0.8;
|
||||
-webkit-transition: opacity 0.5s linear;
|
||||
-moz-transition: opacity 0.5s linear;
|
||||
}
|
||||
#about .avatar:hover img {
|
||||
opacity: 1;
|
||||
}
|
||||
#about .info {
|
||||
color: #bbb;
|
||||
margin: 0px auto;
|
||||
/*width: 100%;*/
|
||||
}
|
||||
#about .info .label {
|
||||
text-align: right;
|
||||
padding-right: 5px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
#about .info .label a {
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user