Created
September 27, 2016 08:41
-
-
Save tiagodealmeida/66ac453c7d6e4fddbc0e0685da4ce2b0 to your computer and use it in GitHub Desktop.
CSS update for task 1.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
position: relative; | |
top: 100px; | |
width: 80%; | |
margin: 0 100px 0 auto; | |
color: #34495e; | |
font-family: Fester, 'Economica', Futura, Helvetica, Arial, sans-serif; | |
letter-spacing: 1px; | |
line-height: 130%; | |
} | |
.myname { | |
position: relative; | |
padding: auto; | |
} | |
h1 { | |
letter-spacing: 2px; | |
} | |
.email h3 { | |
letter-spacing: 2px; | |
} | |
/* background image */ | |
#background { | |
position: fixed; | |
top: -1%; | |
left: -30%; | |
width: 200%; | |
height: 200%; | |
z-index: -1; | |
} | |
#background img { | |
position: relative; | |
bottom: 610px; | |
left: 400px; | |
margin: auto; | |
min-width: 63%; | |
min-height: 45%; | |
opacity: 0.8; | |
} | |
/*Navigation*/ | |
.nav ul li { | |
display: inline-block; | |
} | |
.nav { | |
background-color: black; | |
position: fixed; | |
width: 100%; | |
top: 0; | |
padding: 0 5px 0px 5px; | |
} | |
.nav ul li a { | |
font-family: Fester, 'Gentium Book Basic', Georgia, "Times New Roman", serif; | |
font-size: 1.2em; | |
font-weight: 100; | |
color: WhiteSmoke; | |
text-transform: uppercase; | |
text-decoration: none; | |
letter-spacing: 0.05em; | |
margin-right: 50px; | |
} | |
ul { | |
float: right; | |
} | |
.nav a { | |
font-family: Fester, 'Gentium Book Basic', Georgia, "Times New Roman", serif; | |
font-size: 1.2em; | |
font-weight: 100; | |
color: WhiteSmoke; | |
text-transform: uppercase; | |
text-decoration: none; | |
letter-spacing: 0.05em; | |
margin-left: 30px; | |
} | |
.nav a:hover { | |
color: #ff0000; | |
text-decoration: underline; | |
} | |
li { | |
transition: color 3s; | |
-webkit-transition: color 600ms; | |
} | |
a { | |
transition: color 3s; | |
-webkit-transition: color 600ms; | |
} | |
a #home { | |
padding-bottom: 30px; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment