0% found this document useful (0 votes)
90 views

CV HTML CSS Style

This document contains CSS code that defines styles for elements on a web page. It sets properties like font, color, padding, and positioning for common elements like headings, paragraphs, images, and more. It also includes media queries to adjust the layout for different screen sizes and animations to fade elements in gradually. The CSS is intended to style an online resume or curriculum vitae.

Uploaded by

cry
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
90 views

CV HTML CSS Style

This document contains CSS code that defines styles for elements on a web page. It sets properties like font, color, padding, and positioning for common elements like headings, paragraphs, images, and more. It also includes media queries to adjust the layout for different screen sizes and animations to fade elements in gradually. The CSS is intended to style an online resume or curriculum vitae.

Uploaded by

cry
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

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,fieldset,form,label,legend,caption,tbod
y,tfoot,thead,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,s
ummary,time,mark,audio,video {

border:0;

font:inherit;

font-size:100%;

margin:0;

padding:0;

vertical-align:baseline;

table,td,tr {

/*border : 1px solid black;*/

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {

display:block;

html, body {background: #181818; font-family: "Times New Roman", Times, serif; font-size: 16px;
color: #222;}

.clear {clear: both;}

p{

font-size: 1em;

line-height: 1.4em;
margin-bottom: 2px;

color: #444;

#cv {

width: 90%;

max-width: 800px;

background: #f3f3f3;

margin: 30px auto;

.mainDetails {

padding: 25px 15px;

border-bottom: 2px solid #cf8a05;

background: #ededed;

#name h1 {

font-size: 2.5em;

font-weight: 700;

font-family: 'Rokkitt', Helvetica, Arial, sans-serif;

margin-bottom: -6px;

#name h2 {

font-size: 2em;

margin-left: 2px;
font-family: 'Rokkitt', Helvetica, Arial, sans-serif;

#mainArea {

padding: 0 40px;

#headshot {

width: 12.5%;

float: left;

margin-right: 30px;

#headshot img {

width: 100%;

height: auto;

-webkit-border-radius: 50px;

border-radius: 50px;

#name {

float: left;

#contactDetails {

float: right;

}
#contactDetails ul {

list-style-type: none;

font-size: 0.9em;

margin-top: 2px;

#contactDetails ul li {

margin-bottom: 3px;

color: #444;

#contactDetails ul li a, a[href^=tel] {

color: #444;

text-decoration: none;

-webkit-transition: all .3s ease-in;

-moz-transition: all .3s ease-in;

-o-transition: all .3s ease-in;

-ms-transition: all .3s ease-in;

transition: all .3s ease-in;

#contactDetails ul li a:hover {

color: #cf8a05;

}
section {

border-top: 1px solid #dedede;

padding: 20px 0 0;

section:first-child {

border-top: 0;

section:last-child {

padding: 34px 0 100px;

.sectionTitle {

float: left;

width: 25%;

.sectionContent {

float: right;

width: 72.5%;

.sectionTitle h1 {

font-family: 'Rokkitt', Helvetica, Arial, sans-serif;

font-style: italic;

font-size: 1.5em;
color: #cf8a05;

.sectionContent h2 {

font-family: 'Rokkitt', Helvetica, Arial, sans-serif;

font-size: 1.5em;

margin-bottom: -2px;

.subDetails {

font-size: 0.8em;

font-style: italic;

margin-bottom: 3px;

.keySkills {

list-style-type: none;

-moz-column-count:3;

-webkit-column-count:3;

column-count:3;

margin-bottom: 20px;

font-size: 1em;

color: #444;

.keySkills ul li {

margin-bottom: 3px;
}

@media all and (min-width: 602px) and (max-width: 800px) {

#headshot {

display: none;

.keySkills {

-moz-column-count:2;

-webkit-column-count:2;

column-count:2;

@media all and (max-width: 601px) {

#cv {

width: 95%;

margin: 10px auto;

min-width: 280px;

#headshot {

display: none;

#name, #contactDetails {

float: none;
width: 100%;

text-align: center;

.sectionTitle, .sectionContent {

float: none;

width: 100%;

.sectionTitle {

margin-left: -2px;

font-size: 1.25em;

.keySkills {

-moz-column-count:2;

-webkit-column-count:2;

column-count:2;

@media all and (max-width: 480px) {

.mainDetails {

padding: 15px 15px;

section {
padding: 15px 0 0;

#mainArea {

padding: 0 25px;

.keySkills {

-moz-column-count:1;

-webkit-column-count:1;

column-count:1;

#name h1 {

line-height: .8em;

margin-bottom: 4px;

@media print {

#cv {

width: 100%;

@-webkit-keyframes reset {
0% {

opacity: 0;

100% {

opacity: 0;

@-webkit-keyframes fade-in {

0% {

opacity: 0;

40% {

opacity: 0;

100% {

opacity: 1;

@-moz-keyframes reset {

0% {

opacity: 0;

100% {

opacity: 0;

}
}

@-moz-keyframes fade-in {

0% {

opacity: 0;

40% {

opacity: 0;

100% {

opacity: 1;

@keyframes reset {

0% {

opacity: 0;

100% {

opacity: 0;

@keyframes fade-in {

0% {

opacity: 0;

}
40% {

opacity: 0;

100% {

opacity: 1;

.instaFade {

-webkit-animation-name: reset, fade-in;

-webkit-animation-duration: 1.5s;

-webkit-animation-timing-function: ease-in;

-moz-animation-name: reset, fade-in;

-moz-animation-duration: 1.5s;

-moz-animation-timing-function: ease-in;

animation-name: reset, fade-in;

animation-duration: 1.5s;

animation-timing-function: ease-in;

.quickFade {

-webkit-animation-name: reset, fade-in;

-webkit-animation-duration: 2.5s;

-webkit-animation-timing-function: ease-in;
-moz-animation-name: reset, fade-in;

-moz-animation-duration: 2.5s;

-moz-animation-timing-function: ease-in;

animation-name: reset, fade-in;

animation-duration: 2.5s;

animation-timing-function: ease-in;

.delayOne {

-webkit-animation-delay: 0, .5s;

-moz-animation-delay: 0, .5s;

animation-delay: 0, .5s;

.delayTwo {

-webkit-animation-delay: 0, 1s;

-moz-animation-delay: 0, 1s;

animation-delay: 0, 1s;

.delayThree {

-webkit-animation-delay: 0, 1.5s;

-moz-animation-delay: 0, 1.5s;

animation-delay: 0, 1.5s;

}
.delayFour {

-webkit-animation-delay: 0, 2s;

-moz-animation-delay: 0, 2s;

animation-delay: 0, 2s;

.delayFive {

-webkit-animation-delay: 0, 2.5s;

-moz-animation-delay: 0, 2.5s;

animation-delay: 0, 2.5s;

ol,li {

padding : 0px 0px 0px 0px;

margin-left: 0px;

You might also like