Skip to content

Instantly share code, notes, and snippets.

@Socratic1
Last active August 29, 2015 14:28
Show Gist options
  • Select an option

  • Save Socratic1/47f26fd326c10bf03f97 to your computer and use it in GitHub Desktop.

Select an option

Save Socratic1/47f26fd326c10bf03f97 to your computer and use it in GitHub Desktop.
* { box-sizing: border-box; }
body {
background-color: #fffeea;
color: #34495e;
}
/* navigation */
.nav {
background: -webkit-linear-gradient(left, rgba(0, 0, 0, .90) , rgba(90, 50, 0, .90)); /* For Safari 5.1 to 6.0 */
background: -o-linear-gradient(right, rgba(0, 0, 0, .90) , rgba(90, 50, 0, .90)); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient(right, rgba(0, 0, 0, .90) , rgba(90, 50, 0, .90)); /* For Firefox 3.6 to 15 */
background: linear-gradient(to right, rgba(0, 0, 0, .90) , rgba(90, 50, 0, .90)); /* Standard syntax */
position: fixed;
width: 100%;
top: 0;
padding: .4% 10.7% .25%;
}
.nav ul li {
display: inline-block;
}
.nav ul li a {
color: white;
text-transform: uppercase;
letter-spacing: 0.05em;
padding-right: 1.8em;
transition: color 300ms;
-webkit-transition: color 300ms;
text-decoration: none;
}
.nav a:hover {
color: gray;
text-decoration: none;
}
.header h1 {
text-align: center;
margin-bottom: 50px;
margin-top: 100px;
}
.container {
width: 80%;
margin: 0 auto;
}
.image {
display: inline-block;
float: left;
padding-top: 8px;
}
.image img {
height: auto;
width: auto;
max-width: 400px;
max-height: 400px;
}
.column {
display: inline-block;
width: 30%;
padding: 0 50px;
}
.intro {
float: left;
}
.skills {
float: right;
background-color: #5ad4c2;
color: #fff;
}
#skill-list {
margin-left: 40px;
}
.main-text {
clear: both;
padding-top: 60px;
}
/*Typography*/
h1,
h2,
h3 {
font-family: Oswald, Futura, Helvetica, Arial, sans-serif;
}
li {
font-family: Georgia, Cambria, serif;
}
.nav ul li {
font-family: Arial, sans-serif;
p {
font-family: Georgia, Cambria, serif;
}
.intro p {
font-family: Oswald, Futura, Helvetica, Arial, sans-serif;
font-size: 3em;
font-weight: 100;
-webkit-margin-before: 0em;
}
.skills h3 {
text-align: center;
text-transform: uppercase;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment