Added new background

This commit is contained in:
thepaperpilot 2015-11-04 23:47:50 -06:00
parent 01ea6e7a93
commit 6c73bddaae
5 changed files with 91 additions and 1 deletions

37
_layouts/home.html Normal file
View file

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<title>{{ page.title }}</title>
<link rel="stylesheet" type="text/css" href="/css/home.css">
</head>
<body>
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/kiosk">Computer Science Kiosk</a></li>
<li><a href="/space">Space Game</a></li>
<li><a href="/ican">iCan</a></li>
<li><a href="/strange">12 is Strange</a></li>
<li><a href="/drawing">Digital Drawing</a></li>
</ul>
</nav>
<div class="container">
{{ content }}
</div>
<footer>
<ul>
<li><a href="mailto:thepaperpilot@gmail.com">email</a></li>
<li><a href="https://github.com/thepaperpilot">github.com/thepaperpilot</a></li>
<li><a href="https://www.linkedin.com/pub/anthony-lawn/a9/a98/2">linkedin.com/anthony-lawn</a></li>
</ul>
</footer>
</body>
</html>

BIN
bg.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

53
css/home.css Normal file
View file

@ -0,0 +1,53 @@
body {
margin: 20px auto;
width: 60%;
background-image: url("/bg.jpg");
margin-bottom: 10px;
}
nav ul, footer ul {
font-family:'Helvetica', 'Sans-Serif';
padding: 0;
list-style: none;
font-weight: bold;
}
nav ul li, footer ul li {
display: inline;
margin-right: 20px;
}
a {
text-decoration: none;
color: #4E5666;
}
a:hover {
text-decoration: underline;
}
h1 {
font-size: 3em;
font-family:'Helvetica', 'Sans-Serif';
color: #ABB2BF;
}
p {
font-size: 1.5em;
line-height: 1.4em;
color: #ABB2BF;
}
footer {
border-top: 1px solid #2F343F;
font-size: .8em;
}
ul.posts {
margin: 20px auto 40px;
font-size: 1.5em;
}
ul.posts li {
list-style: none;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View file

@ -1,5 +1,5 @@
---
layout: default
layout: home
title: The Paper Pilot
---