CSS Source Code

/* Bootstrap to make coding easier */
@import url("bootstrap.min.css");
/* Fonts for pretty typography */
@import url(http://fonts.googleapis.com/css?family=Archivo+Narrow:400,700&subset=latin,latin-ext);
@import url("nav.css");
body {
font-family: 'Archivo Narrow', sans-serif;
background: url(../img/bodybrg.jpg) top left repeat #ebebe7 fixed;
color: #434240;
}
*::selection {
color: #FFF;
background: #434240;
text-shadow: none;
}
pre {
margin: 1em auto 1em auto;
}
.hideit {
display: none;
}
#header {
margin: 2em 0 0 0;
padding: 1em 0 1em 0;
border-top: 0.85em solid #434240;
border-bottom: 0.3em solid #434240
}
#name-title {
text-transform: uppercase;
}
h1::selection {
-webkit-text-stroke: 2px #b19418;
background: transparent;
color: transparent
}
#name-title h1, #cv h2 {
font-size: 8em;
line-height: 100%;
}
#name-title h3 {
font-size: 2.88em;
position: relative;
white-space: nowrap;
}
#name-title h3 .grad {
color: #FFF;
background: -webkit-linear-gradient(left, #b19418, #7eb019);
background: -moz-linear-gradient(left, #b19418, #7eb019);
-webkit-background-clip: text;
-moz-background-clip: text;
-webkit-text-fill-color: transparent;
-moz-text-fill-color: transparent;
/* IE */
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#b19418, endColorstr=#7eb019);
}
#name-title h3 .code {
font-family: "Courier New", Courier, monospace;
font-size: 1.1em;
font-weight: normal;
}
.lover {
color: #b13118;
}
#name-title h3::selection, #name-title h3 .grad::selection, #name-title h3 .code::selection {
-webkit-text-stroke: 1px #71b019;
background: transparent;
color: #b19418;
}
#contacts {
font-size: 1.55em;
line-height: 130%;
margin-top: 1.15em;
}
#contacts span {
display: block;
}
#contacts .social, #contacts .social li {
margin: 0;
padding: 0;
list-style: none;
}
#contacts .social a {
width: 32px;
height: 32px;
display: block;
float: left;
margin: 1% 4% 0 0;
text-indent: -9999px;
}
.address {
list-style: none;
margin: 0;
padding: 0;
}
.address li {
line-height: 130%;
}
.linkedin {
background: url(../img/sprites.png) 0px -51px no-repeat;
}
.twitter {
background: url(../img/sprites.png) -37px -51px no-repeat;
}
.facebook {
background: url(../img/sprites.png) -74px -51px no-repeat;
}
.gplus {
background: url(../img/sprites.png) -112px -51px no-repeat;
}
.social a:hover {
-webkit-transition: background-position 0.2s ease;
-moz-transition: background-position 0.2s ease;
}
.social li .linkedin:hover {
background-position: 0px -97px;
}
.social li .twitter:hover {
background-position: -37px -97px;
}
.social li .facebook:hover {
background-position: -74px -97px;
}
.social li .gplus:hover {
background-position: -112px -97px;
}
#cv {
float: right;
}
#cv h2 {
text-align: right;
font-weight: normal;
margin: 0.1em 0;
padding: 0;
border: none !important;
}
.about {
padding: 1em 0 1em 0;
line-height: 150%;
font-size: 1.2em;
text-align: justify;
text-shadow: 1px 1px 1px #ffffff;
}
/* Timeline styles */
#timeline {
width: 100%;
height: 280px;
overflow: hidden;
position: relative;
background: url('../img/dot.gif') 12px 0 repeat-y;
}
#dates {
width: 100px;
height: 600px;
overflow: hidden;
float: left;
padding-top: 22px;
}
#dates li {
list-style: none;
width: 100px;
height: 80px;
font-size: 24px;
padding: 0 0 0 30px;
background: url('../img/sprites.png') 12px 40px no-repeat;
margin: 0;
}
#dates li:nth-child(1) {
background-position: -1671px -12px;
}
#dates li:nth-child(2) {
background-position: -1671px -115px;
}
#dates li:nth-child(3) {
background-position: -1671px -236px;
}
#dates li:nth-child(4) {
background-position: -1671px -355px;
}
#dates li:nth-child(5) {
background-position: -1671px -476px;
}
#dates li:nth-child(6) {
background-position: -1671px -595px;
}
#dates li:nth-child(7) {
background-position: -1768px -10px;
}
#dates li:nth-child(8) {
background-position: -1861px -10px;
}
#dates a {
line-height: 38px;
}
#dates .selected {
font-size: 38px;
}
#issues {
width: 660px;
height: 300px;
overflow: hidden;
margin-left: 100px;
}
#issues li {
width: 660px;
height: 300px;
list-style: none;
float: left;
margin: 0;
padding: 0;
}
#issues li h3 {
color: #b0b019;
font-size: 2em;
margin: 0;
text-shadow: 1px 1px 1px #ffffff;
}
#issues li p {
font-size: 1.2em;
font-weight: normal;
line-height: 120%;
}
.bubble {
border-radius: 5px;
border: 1px solid #c3d082;
box-shadow: 0 0 6px #B2B2B2;
display: inline-block;
padding: 10px 18px;
position: relative;
width: 84%;
height: auto;
background: #e7e6e2;
margin: 85px 60px 0 60px;
}
.bubble:before {
content: ' ';
position: absolute;
width: 0;
height: 0;
left: -50px;
top: 30px;
border: 25px solid;
border-color: transparent #c3d082 transparent transparent;
}
.bubble:after {
content: ' ';
position: absolute;
width: 0;
height: 0;
left: -48px;
top: 31px;
border: 24px solid;
border-color: transparent #e7e6e2 transparent transparent;
}
#grad_top, #grad_bottom {
width: 100%;
height: 30px;
position: absolute;
}
#grad_top {
top: 0;
background: url('../img/bodybrg.jpg') fixed;
background-position: 0px 0px;
}
#grad_bottom {
bottom: 0;
background: url('../img/bodybrg.jpg') fixed;
background-position: 0px 0px;
}
#next, #prev {
position: absolute;
left: 55%;
font-size: 70px;
width: 30px;
height: 30px;
background-position: 0 -6px;
background-repeat: no-repeat;
text-indent: -9999px;
overflow: hidden;
}
#next:hover, #prev:hover {
background-position: 0 -82px;
transition: background-position 0.2s ease;
-webkit-transition: background-position 0.2s ease;
-moz-transition: background-position 0.2s ease;
}
#prev:hover {
background-position: 0 -6px;
}
#next {
bottom: 10px;
background-image: url('../img/next.png');
}
#prev {
background-position: 0 -82px;
top: 10px;
background-image: url('../img/prev.png');
}
#next.disabled, #prev.disabled {
opacity: 0.2;
}
.row-fluid h2 {
text-transform: uppercase;
border-top: 0.3em solid #434240;
border-bottom: 0.1em solid #434240;
padding: 0.2em 0 0.2em 0em;
margin: 0;
font-size: 1.8em;
font-weight: normal;
}
.span4 li, .span8 li {
padding: 1em 0 0em 2em;
text-shadow: 1px 1px 1px #ffffff;
list-style: none;
}
.tooltip {
font-weight: normal;
text-shadow: none;
font-size: 90%;
font-family: Arial, Helvetica, sans-serif;
text-transform: lowercase;
}
.span4 li strong {
text-transform: uppercase;
}
.row-fluid h2 span {
display: block;
float: left;
width: 16px;
height: 16px;
margin: 0.5em 0.5em 0 0;
}
.row-fluid ul {
margin: 0;
padding: 0 0 1em 0;
}
.span4.edu h2 {
background: url(../img/sprites.png) right -50px no-repeat;
}
.span4.edu h2 span {
background: url(../img/sprites.png) -2484px -66px no-repeat;
}
.span4.edu li {
background: url(../img/sprites.png) -2484px -49px no-repeat;
}
.span4.course h2 {
background: url(../img/sprites.png) right -50px no-repeat;
}
.span4.course h2 span {
background: url(../img/sprites.png) -2484px -66px no-repeat;
}
.span4.course li {
background: url(../img/sprites.png) -2484px -49px no-repeat;
}
.span4.hobbies h2 {
background: url(../img/sprites.png) right -50px no-repeat;
}
.span4.hobbies h2 span {
background: url(../img/sprites.png) -2484px -66px no-repeat;
}
.span4.hobbies li {
background: url(../img/sprites.png) -2484px -49px no-repeat;
}
.span8.skils h2 {
background: url(../img/sprites.png) right -201px no-repeat;
}
.span8.skils h2 span {
background: url(../img/sprites.png) -2484px -218px no-repeat;
}
.span4.otherskils h2 {
background: url(../img/sprites.png) right -201px no-repeat;
}
.span4.otherskils h2 span {
background: url(../img/sprites.png) -2484px -218px no-repeat;
}
.span4.otherskils li {
background: url(../img/sprites.png) -2484px -202px no-repeat;
}
.span8.equip h2 {
background: url(../img/sprites.png) right -725px no-repeat;
}
.span8.equip h2 span {
background: url(../img/sprites.png) -2484px -742px no-repeat;
}
.span4.lang h2 {
background: url(../img/sprites.png) right -725px no-repeat;
}
.span4.lang h2 span {
background: url(../img/sprites.png) -2484px -742px no-repeat;
}
.showcase {
background: url(../img/sprites.png) right -847px no-repeat;
}
.showcase span {
background: url(../img/sprites.png) -2484px -865px no-repeat;
}
#graph {
margin: 3% 0 3% 0;
overflow: hidden;
height: auto;
background: url(../img/sprites.png) 0px -417px no-repeat;
padding: 20px 0 5px 20px;
}
#langraph {
margin: 3% 0 3% 0;
overflow: hidden;
height: auto;
background: url(../img/sprites.png) 0px -137px no-repeat;
padding: 20px 0 5px 80px;
}
#graph .graphbar {
width: 13%;
height: 165px;
position: relative;
float: left;
list-style: none;
margin: 0;
padding: 0;
}
#langraph .graphbar {
height: 125px;
width: 30%;
position: relative;
float: left;
list-style: none;
margin: 0;
padding: 0;
}
.graphbar > span {
display: block;
width: 45px;
height: 100%;
vertical-align: bottom;
position: absolute;
bottom: 0px;
overflow: hidden;
text-indent: -9999px;
}
.graphbar > span.ps {
background: url(../img/sprites.png) -792px 0px;
}
.graphbar > span.ai {
background: url(../img/sprites.png) -882px 0px;
}
.graphbar > span.dw {
background: url(../img/sprites.png) -975px 0px;
}
.graphbar > span.id {
background: url(../img/sprites.png) -1058px 0px;
}
.graphbar > span.fl {
background: url(../img/sprites.png) -1142px 0px;
}
.graphbar > span.html5 {
background: url(../img/sprites.png) -1225px 0px;
}
.graphbar > span.css3 {
background: url(../img/sprites.png) -1309px 0px;
}
.graphbar > span.eng {
background: url(../img/sprites.png) -792px -191px;
}
.graphbar > span.rus {
background: url(../img/sprites.png) -882px -191px;
}
.graphbar > span.spa {
background: url(../img/sprites.png) -975px -191px;
}
.equipement {
display: block;
background: url(../img/equiped.png) top left no-repeat;
background-size: contain;
width: auto;
height: 200px;
text-indent: -9999px;
}
/* Showcase */
#showcaseblock {
list-style: none;
margin: 1% 0;
}
#showcaseblock li {
display: inline;
float: left;
width: 22%;
margin: 1.2em;
}
#showcaseblock li:last-child {
margin-right: 0;
}
#showcaseblock li img {
border: 10px solid #fcfafa;
box-shadow: 0 3px 10px #888;
-webkit-box-shadow: 0 3px 10px #888;
opacity: 0.7;
}
#showcaseblock li:hover img {
opacity: 1;
transition: opacity .25s ease-in-out;
-moz-transition: opacity .25s ease-in-out;
-webkit-transition: opacity .25s ease-in-out;
}
@media (max-width: 1200px) {
#timeline {
height: 350px;
}
#issues {
height: 350px;
width: 500px;
}
#issues li {
height: 350px;
width: 500px;
}
.bubble {
width: 80%;
margin-top: 120px;
}
#showcaseblock li {
width: 21%
}
}
@media (max-width: 1030px) {
.equipement {
height: 150px;
}
#issues {
height: 350px;
width: 370px;
}
#issues li {
height: 350px;
width: 370px;
}
.bubble {
width: 72%;
}
}
@media (max-width: 970px) {
#issues li h3 {
font-size: 130%;
}
#issues li p {
font-size: 105%;
}
.equipement {
height: 140px;
}
.about {
font-size: 110%
}
#showcaseblock li {
width: 46%
}
#showcaseblock li:nth-child(n+2) {
margin-right: 0;
}
}
@media (max-width: 800px) {
}
@media (max-width: 767px) {
#header {
margin: 3em 0 0 0;
}
#name-title h1, #cv h2 {
font-size: 6em;
}
#cv {
float: right;
width: auto;
font-size: 1.2em;
}
#contacts .social {
margin: -70px 0 0 250px;
}
#contacts .social a {
margin: 4% 15px auto auto;
}
#issues {
height: 250px;
width: 550px;
}
#issues li {
height: 250px;
width: 550px;
}
.bubble {
width: 78%;
margin-top: 120px;
}
#showcaseblock li {
width: 45%;
margin: 0;
}
#showcaseblock li:nth-child(n+2) {
margin-right: 0;
}
}
@media (max-width: 700px) {
#issues {
height: 250px;
width: 450px;
}
#issues li {
height: 250px;
width: 450px;
}
.bubble {
width: 72%;
}
#name-title h3 {
white-space: normal;
}
#contacts .social {
margin: -30px 0;
}
}
@media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) {
#header {
margin: 2em 0 0 0;
}
#name-title h1 {
font-size: 6.7em;
}
#cv {
float: right;
width: auto;
font-size: 0.8em;
}
#timeline {
width: 100%;
height: auto;
overflow: visible;
position: static;
background: none;
}
#timeline .hideit {
display: block;
}
#issues {
width: auto !important;
height: auto !important;
overflow: visible !important;
margin-left: 0 !important;
position: static !important;
}
#issues li {
width: auto;
height: auto;
list-style: none;
float: none;
margin: 0;
padding: 0;
position: static;
opacity: 1 !important;
filter: alpha(opacity=100);
}
#dates, #grad_top, #grad_bottom, #next, #prev {
display: none !important;
background: none !important;
}
.bubble {
width: auto;
padding: 1em 0 0 0;
margin: 0;
border: none;
background: none;
box-shadow: none;
}
#timeline .bubble .hideit {
display: inline;
}
.bubble:before, .bubble:after {
border: none;
background: none;
top: 0;
left: 0;
}
.graphbar {
margin-right: 1px;
width: 12%;
}
#showcaseblock li {
width: 93%;
margin: 1em auto 1em 0;
border-bottom: 1px solid #434240;
padding-bottom: 1em;
}
#showcaseblock li:nth-child(n+2) {
margin-right: 0;
}
#contacts .social {
margin: 0
}
#contacts .social a {
margin-top: 4%
}
.equipement {
height: 90px;
}
}
@media only screen and (-webkit-min-device-pixel-ratio : 1.5) and (orientation : landscape), only screen and (min-device-pixel-ratio : 1.5) and (orientation : landscape) {
#cv {
font-size: 1.2em;
}
#showcaseblock li {
width: 40%;
margin-right: 3em;
border-bottom: none;
}
#showcaseblock li:nth-child(2n+2) {
margin-right: 0;
}
#showcaseblock li:nth-child(3) {
margin-right: 3em
}
.equipement {
height: 110px;
}
}