major refactor

merge-requests/1/head
bmatt 2016-06-13 22:07:57 -04:00
parent dd36e2d0ba
commit 4762da7a6f
3 changed files with 75 additions and 38 deletions

View File

@ -1,46 +1,78 @@
.title, .text { .title, .text {
text-align: center; font-family: 'Raleway', sans-serif;
font-family: -apple-system, 'BlinkyMacSystemFont', 'Helvetica Neue', Helvetica, Arial, sans-serif;
} }
.content { .title {
margin-top: 50px; font-weight: 600;
display: inline-block;
float: left;
margin: 0;
}
.text {
font-weight: 300;
}
#content {
text-align: center;
font-size: 14pt;
}
body {
background-color: #f1f1f1;
} }
nav { nav {
background: #1e1e1e; padding: 50;
border-radius: 5px; padding-bottom: 100;
padding-top: 5px; font-size: 14pt;
padding-bottom: 5px;
margin-left: 200px;
margin-right: 200px;
margin-top: -5px;
} }
nav a { ul {
border: solid 1px; list-style: none;
border-radius: 5px; margin: 0;
padding: 3px; padding: 0;
color: #f7f7f7; display: inline-block;
float: right;
}
li a {
padding-left: 20;
color: black;
text-decoration: none; text-decoration: none;
} }
nav a:hover { li a:hover {
color: #1e1e1e; color: #e08283;
background: #f7f7f7; -o-transition:.2s;
-ms-transition:.2s;
-moz-transition:.2s;
-webkit-transition:.2s;
transition:.2s;
} }
nav a.active { li a.active {
color: #1e1e1e; color: #e08283;
background: #f7f7f7;
} }
hr { @media (min-width: 1000px) {
margin-top: 50px; body {
margin-bottom: 100px; margin-left: 200px;
margin-left: 100px; margin-right: 200px;
margin-right: 100px; }
border: 0;
height: 1px; li {
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); display: inline;
}
}
@media (max-width: 1000px) and (min-width: 340px) {
body {
margin-left: 20px;
margin-right: 20px;
}
li {
margin-top: 2px;
}
} }

View File

@ -1,19 +1,24 @@
<!DOCTYPE html /> <!DOCTYPE html />
<html> <html>
<head> <head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Matthew Ess</title> <title>Matthew Ess</title>
<link rel="stylesheet" type="text/css" href="css/style.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" />
<link href='https://fonts.googleapis.com/css?family=Raleway:600,300' rel='stylesheet' type='text/css'>
</head> </head>
<body> <body>
<nav class="text"> <nav id="navbar">
<a class="active" href="index.htm">Home</a> <p class="title">Matthew Ess</li>
<a href="http://github.com/matthewess">Github</a> <ul class="text">
<a href="resume.pdf">Resume</a> <li><a class="active" href="index.htm">Home</a></li>
<li><a href="http://github.com/matthewess">Github</a></li>
<li><a href="resume.pdf">Resume</a></li>
</ul>
</nav> </nav>
<div class="content"> <div id="content" class="text">
<h1 class="title">Matthew Ess</h1> <p>Dedicated problem solver and developer, looking for interesting challenges to tackle.</p>
<hr />
<p class="text">Dedicated problem solver and developer, looking for interesting challenges to solve.</p>
</div> </div>
</body> </body>
</html> </html>

BIN
resume.pdf Normal file

Binary file not shown.