Skip to content

Instantly share code, notes, and snippets.

@tiagodealmeida
Created September 27, 2016 08:40
Show Gist options
  • Save tiagodealmeida/5f7f9916acb7e3e1944fd4ade4ba308a to your computer and use it in GitHub Desktop.
Save tiagodealmeida/5f7f9916acb7e3e1944fd4ade4ba308a to your computer and use it in GitHub Desktop.
CSS update for task 1.6
* { box-sizing: border-box; }
.jumbotron {
background-image: url("../img/about_me3.jpg");
background-position: 80% 55%;
position: fixed;
width: 100%;
height: 100%;
margin: 0 100px 0 auto;
opacity: 0.8;
}
.container {
position: relative;
width: 100%;
margin: 0 100px 0 auto;
}
.header h1 {
text-align: center;
margin-bottom: 20px;
}
.services {
display: inline-block;
float: left;
width: 25%;
padding: 0 20px;
}
.main-text {
clear: both;
padding-top: 60px;
}
.image-size {
width: 75%;
}
.services h3 {
margin-right: 95px;
text-align: right;
text-transform: uppercase;
}
#services-list {
margin-left: 50px;
}
.services {
position: relative;
left: 35%;
}
.main-text {
display: block;
position: relative;
bottom: 330px;
left: 60%;
width: 30%;
padding: 0 20px;
}
/*Typography*/
h1,
h3,
p {
font-family: Fester, Futura, Helvetica, Arial, sans-serif;
letter-spacing: 1px;
line-height: 130%;
}
#services {
font-family: Fester, Futura, Helvetica, Arial, sans-serif;
letter-spacing: 1px;
line-height: 130%;
}
body p {
font-family: Fester, 'Gentium Book Basic', Georgia, "Times New Roman", serif;
}
#services {
font-family: Fester, 'Gentium Book Basic', Georgia, "Times New Roman", serif;
}
p {
font-family: Fester, 'Economica', Futura, Helvetica, Arial, sans-serif;
font-size: 1.9em;
font-weight: 100;
letter-spacing: 2px;
-webkit-margin-before: 0;
text-align: justify;
}
body {
background-color: WhiteSmoke;
color: #34495e;
}
.services {
color: #34495e;
padding: 10px 50px 10px 1px;
}
/*Navigation*/
.nav ul li {
display: inline-block;
}
.nav {
background-color: black;
width: 100%;
top: 0;
padding-top: 5px;
}
.nav ul li a {
font-family: Fester, 'Gentium Book Basic', Georgia, "Times New Roman", serif;
color: WhiteSmoke;
text-transform: uppercase;
letter-spacing: 0.05em;
}
li {
padding: 2.5px 5px 0px 5px;
margin-right: 30px;
}
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;
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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment