more style updates

This commit is contained in:
Michael Zhang 2018-05-28 12:43:03 -05:00
parent 872144eb2c
commit c94d40ac2b
No known key found for this signature in database
GPG Key ID: A1B65B603268116B
5 changed files with 14 additions and 4 deletions

4
_includes/navbar.html Normal file
View File

@ -0,0 +1,4 @@
<div class="container" id="navbar" style="padding-top: 10px;">
<h3 style="display: inline-block;"><a href="/" class="link">michael's blog</a></h3>
<a href="/about" class="link">about</a>
</div>

View File

@ -7,6 +7,8 @@
</head>
<body>
{% include navbar.html %}
<div class="container" style="padding: 30px;">
{{ content }}
</div>

View File

@ -6,10 +6,11 @@
</head>
<body>
{% include navbar.html %}
<div class="container" style="padding: 30px;">
<a href="/">&laquo; back</a>
<div style="text-align: center;">
<h2 style="display: inline-block; margin-bottom: 0;">{{ page.title }}</h2>
<h2 style="display: inline-block; margin: 0;">{{ page.title }}</h2>
<p style="font-size: 0.9em;">published: <b>{{ page.date | date_to_long_string }}</b></p>
</div>

View File

@ -38,4 +38,9 @@ code {
font-weight: 300;
}
padding: 10px;
}
#navbar .link {
font-size: 1.6em;
margin-right: 20px;
}

View File

@ -2,8 +2,6 @@
layout: default
---
<h1 style="text-align: center;">michael's blog</h1>
<table style="width: 100%;">
{% for post in site.posts %}
<tr>