/* HTML5 ✰ Boilerplate Reset */ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display:block; } nav ul { list-style:none; } blockquote, q { quotes:none; } blockquote:before, blockquote:after, q:before, q:after { content:''; content:none; } a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; } ins { background-color:#ff9; color:#000; text-decoration:none; } mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; } del { text-decoration: line-through; } abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; } table { border-collapse:collapse; border-spacing:0; } hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; } input, select { vertical-align:middle; } body { font:13px/1.231 sans-serif; } select, input, textarea, button { font:99% sans-serif; } pre, code, kbd, samp { font-family: monospace, sans-serif; } body, select, input, textarea { color: #444; } h1,h2,h3,h4,h5,h6 { font-weight: bold; } html { overflow-y: scroll; } a, a:active, a:visited { color: #607890; } a:hover { color: #036; } ul, ol { margin-left: 1.8em; } ol { list-style-type: decimal; } nav ul, nav li { margin: 0; } small { font-size: 85%; } strong, th { font-weight: bold; } td, td img { vertical-align: top; } sub { vertical-align: sub; font-size: smaller; } sup { vertical-align: super; font-size: smaller; } pre { padding: 15px; white-space: pre; white-space: pre-wrap; white-space: pre-line; word-wrap: break-word; } textarea { overflow: auto; } input[type="radio"] { vertical-align: text-bottom; } input[type="checkbox"] { vertical-align: bottom; } label, input[type=button], input[type=submit], button { cursor: pointer; } button, input, select, textarea { margin: 0; } ::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; } ::selection { background:#FF5E99; color:#fff; text-shadow: none; } a:link { -webkit-tap-highlight-color: #FF5E99; } button { width: auto; overflow: visible; } .ie7 img { -ms-interpolation-mode: bicubic; } .ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; } .hidden { display: none; visibility: hidden; } .visuallyhidden { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px); } .invisible { visibility: hidden; } .clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; } .clearfix:after { clear: both; } .clearfix { zoom: 1; } /* Font embeds */ @font-face { font-family: 'DesyrelRegular'; src: url('desyrel-webfont.eot'); src: local('☺'), url('../fonts/desyrel-webfont.woff') format('woff'), url('../fonts/desyrel-webfont.ttf') format('truetype'), url('../fonts/desyrel-webfont.svg#webfontDHYUuUJT') format('svg'); font-weight: normal; font-style: normal; } /* Variables */ @page-width: 960px; @red: #c50b1e; @curses: DesyrelRegular, 'Marker Felt', 'Comic Sans', 'Comic Sans MS', 'Purisa', cursive; /* Sane defaults */ html, body { margin: 0; padding: 0; } body { background: #E7E7E7; font: 12px "Helvetica Neue", sans-serif; padding-top: 185px; } a { color: @red; } .title { font: 24px Cambria, Georgia, Times, "Times New Roman", serif; color: #010101; } /* Header */ header { background: #e7e7e7 url(../images/bg-top.png) repeat-x; position: fixed; height: 185px; width: 100%; top: 0; z-index: 80; -moz-box-shadow: 0px 0px 8px rgba(51,51,51,0.7); -webkit-box-shadow: 0px 0px 8px rgba(51,51,51,0.7); box-shadow: 0px 0px 8px rgba(51,51,51,0.7); zoom: 1; filter: progid:DXImageTransform.Microsoft.Shadow(color=#969696, Direction=135, Strength=3); .wrap { width: @page-width; margin: 15px auto 0 auto; position: relative; } h1 a { background: transparent url(../images/logo.png) no-repeat; display: block; width: 115px; height: 157px; text-indent: -999999px; overflow: hidden; } nav { position: absolute; left: 290px; top: 80px; li { display: inline-block; margin-left: 10px; float:left; a { background: url(../images/NavSprite.png) no-repeat; display: block; text-indent: -99999px; outline: 0; } #nav-latest { height: 52px; width: 125px; } #nav-latest:hover { background-position: 0 -58px; } #nav-clients { height: 52px; width: 190px; background-position: -156px 0; } #nav-clients:hover { background-position: -156px -58px; } #nav-skills { height: 52px; width: 120px; background-position: -379px 0; } #nav-skills:hover { background-position: -379px -58px; } #nav-contact { height: 52px; width: 125px; background-position: -532px 0; } #nav-contact:hover { background-position: -532px -58px; } } li.active #nav-latest { background-position: 0 -116px; } li.active #nav-clients { background-position: -156px -116px; } li.active #nav-skills { background-position: -379px -116px; } li.active #nav-contact { background-position: -532px -116px; } } .general-contacts { position: absolute; top: -10px; right: -30px; list-style:none; margin:0px; padding:10px 0px 0px 0px; li { display: inline-block; margin-left: 20px; float:left; } a { font-size: 13px; text-transform: uppercase; text-decoration: none; } } } #feature { background: #dbdada; height: 380px; overflow: hidden; } #latest-project { width: @page-width; margin: 0 auto; position: relative; padding: 0; h1 { font: 42px Cambria, Georgia, Times, "Times New Roman", serif; } figure { position: absolute; left: -10px; top: 0; img { width:985px; height:380px; } } figcaption { background: #000; /* The Fallback */ background: rgba(0,0,0,0.8); color: #fff; position: absolute; top: 0; right: 0; width: 320px; height: 300px; padding: 40px 30px; font-size: 13px; line-height: 16px; } } #page-long { background: transparent url(../images/bg-long.png) repeat-x; padding: 50px 0; } #twitter { background: transparent url(../images/FeedBackground.png) no-repeat; height: 185px; margin: 0 auto; width: @page-width - 140; position: relative; padding: 5px 30px 5px 110px; #follow { background: transparent url(../images/Twitter.png) no-repeat; height: 185px; width: 141px; display: block; text-indent: -99999px; overflow: hidden; position: absolute; top: -30px; left: 25px; } .tweet_avatar { display: none; } #tweet { margin:0px 0px 0px 40px; padding:0px; .tweet_list { list-style: none; padding:0px; margin:0px; } } .tweet_time a, .tweet_join { color: #949494; font-size: 11px; font-weight: bold; text-decoration: none; } .tweet_text { display: block; color: #949494; font: 26px Cambria, Georgia, Times, "Times New Roman", serif; a { color: @red; } } } #heart { margin: 0 auto; margin-bottom: 40px; width: @page-width; height: 460px; overflow: hidden; figure { width: 308px; height: 180px; position: relative; display: inline-block; margin-right: 9px; margin-bottom: 10px; img { position: absolute; top: 0; left: 0; z-index: 9; width:300px; height:177px; background:#C50B1E; } img.trans { -webkit-transform: rotateX(0deg); -webkit-transform-style: preserve-3d; -webkit-backface-visibility: hidden; transition: all .4s ease-in-out; -moz-transition: all .4s ease-in-out; -webkit-transition: all .4s ease-in-out; } figcaption.trans { -webkit-transform: rotateX(-180deg); -webkit-transform-style: preserve-3d; -webkit-backface-visibility: hidden; transition: all .4s ease-in-out; -moz-transition: all .4s ease-in-out; -webkit-transition: all .4s ease-in-out; } figcaption { position: absolute; top: 0; left: 0; width: 250px; height: 127px; background: @red url(../images/projectRollOver.png) no-repeat; color: #FFF; padding: 25px; z-index: 8; h1 { font: 16px "Trebuchet MS", "Lucida Sans Unicode", "Lucida Sans", Tahoma, Arial, sans-serif; text-transform: uppercase; margin: 0px 0px 2px 0px; font-smooth: always; } h2 { font: 12px Cambria, Georgia, Times, "Times New Roman", serif; font-style: italic; margin:0px 0px 8px 0px; font-smooth: always; } a { color:#000; font-weight:bold; text-transform:uppercase; text-decoration:none; display:inline-block; line-height:15px; position:absolute; vertical-align:middle; } a:hover { color:#FFF; } .view { background: transparent url(../images/ViewIconSprite.png) no-repeat; padding:0px 0px 0px 20px; background-position:0px -22px; top:140px; left:25px; } .view:hover { background-position:0px -2px; } .visit { background: transparent url(../images/VisitIconSprite.png) no-repeat; padding:0px 0px 0px 26px; background-position:0px -23px; top:140px; left:95px; } .visit:hover { background-position:0px -2px; } } } figure:hover { img { z-index: 9; -webkit-transform: rotateX(180deg); box-shadow: 0 15px 50px rgba(0,0,0,0.2); -moz-box-shadow: 0 15px 50px rgba(0,0,0,0.2); -webkit-box-shadow: 0 15px 50px rgba(0,0,0,0.2); } figcaption { z-index: 10; -webkit-transform: rotateX(0deg); box-shadow: 0 15px 50px rgba(0,0,0,0.2); -moz-box-shadow: 0 15px 50px rgba(0,0,0,0.2); -webkit-box-shadow: 0 15px 50px rgba(0,0,0,0.2); } } figure:last-of-type { margin-right: 0; } } #skill-list { margin: 0 auto; margin-bottom: 40px; padding-top: 40px; width: @page-width; min-height: 340px; overflow: hidden; ul, div { float: left; width: 260px; margin: 0; margin-right: 20px; } li { margin: 0 0 15px 0; padding: 0; list-style-position: outside; list-style-image: url(../images/bullet.png); } li.title { list-style: none; list-style-image: none; } div { margin: 0; margin-left: 20px; width: 300px; h3 { margin: 0 0 30px 0; } } } #contact-wrapper { margin: 0 auto; width: @page-width; height: 575px; overflow: hidden; } #notification { position: fixed; font-size: 14px; top: 20px; right: 20px; background: #333; background: rgba(51,51,51,0.7); color: #FFF; padding: 3px 6px; border-radius: 6px; z-index: 9999; display: none; } #postal { width: 325px; float: left; address { font-style: normal; margin-bottom: 0px; p { margin: 0 0 4px 0; } .org { font-weight: bold; } } .adr { p { margin:0px; } } ul { list-style: none; margin: 30px 0 0 0; padding: 0; li { margin: 0; b { color: @red; } a { color: #000; text-decoration: none; } } } .business-card { margin: 12px 0px 25px 0px; } .card { background: url(../images/vcard.png) no-repeat 0 50%; padding: 12px 30px; } #map { width: 300px; height: 275px; } } #contact-form-wrapper { float: left; background: url(../images/ContactBackground.png) no-repeat; width: 621px; height: 579px; font: 25px @curses; position: relative; input, textarea { background: transparent; border: none; } input:focus, textarea:focus { outline: none; } #contact-hey { position: absolute; top: 95px; left: 40px; } #contact-wanted { position: absolute; top: 130px; left: 60px; } #message { font: 25px @curses; position: absolute; top: 200px; left: 60px; width: 480px; height: 70px; overflow: hidden; } #contact-emailback { position: absolute; top: 265px; left: 60px; } #email { font: 25px @curses; position: absolute; top: 340px; left: 60px; width: 480px; } #contact-thanks { position: absolute; top: 367px; left: 60px; } #name { font: 25px @curses; position: absolute; top: 430px; left: 60px; width: 330px; } #send { font: 25px @curses; position: absolute; top: 430px; left: 460px; } #send:hover { color: @red; } } footer { background: #000; padding: 50px; height: 100px; .wrap { margin: 0 auto; width: @page-width; p { color: #6c6c6c; } p#copyright { background: transparent url(../images/footerLogo.png) no-repeat 50% 0; padding:85px 0px 0px 0px; width:130px; display:block; float:left; } p#reg-office { display:block; float:right; width:610px; padding:10px 0px 10px 0px; } ul#tech { float: right; padding:0px; margin:10px 0px 10px 0px; li { list-style: none; float: left; margin-right: 30px; } li a { background: transparent url(../images/FooterLogosSprite.png) no-repeat 0 0; display: block; height: 35px; text-indent: -99999px; } #python { width:125px; } #python:hover { background-position: 0 94%; } #django { background-position: -150px 0%; width:100px; } #django:hover { background-position: -150px 94%; } #jquery { background-position: -270px 0%; width:140px; } #jquery:hover { background-position: -270px 100%; } #centos { background-position: -435px 0%; width:125px; } #centos:hover { background-position: -435px 94%; } } } }