From 146557905701efd1c1584bb37655733a427357ff Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 19 Jan 2011 22:14:04 +0000 Subject: [PATCH] added avatar to front-page --- source/site/index.html | 1 + source/site/stylesheets/master.css | 57 +++++++++++++++++++----------- 2 files changed, 38 insertions(+), 20 deletions(-) diff --git a/source/site/index.html b/source/site/index.html index f61dfa7..533460d 100644 --- a/source/site/index.html +++ b/source/site/index.html @@ -4,6 +4,7 @@ title: jimeh / about ---
+

Hi, my name is Jim Myhrberg.

diff --git a/source/site/stylesheets/master.css b/source/site/stylesheets/master.css index 4e4f6a6..61c7fe5 100644 --- a/source/site/stylesheets/master.css +++ b/source/site/stylesheets/master.css @@ -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 */