more style updates
This commit is contained in:
parent
872144eb2c
commit
c94d40ac2b
5 changed files with 14 additions and 4 deletions
4
_includes/navbar.html
Normal file
4
_includes/navbar.html
Normal 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>
|
|
@ -7,6 +7,8 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
{% include navbar.html %}
|
||||
|
||||
<div class="container" style="padding: 30px;">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
|
|
@ -6,10 +6,11 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
{% include navbar.html %}
|
||||
|
||||
<div class="container" style="padding: 30px;">
|
||||
<a href="/">« 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>
|
||||
|
||||
|
|
|
@ -38,4 +38,9 @@ code {
|
|||
font-weight: 300;
|
||||
}
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#navbar .link {
|
||||
font-size: 1.6em;
|
||||
margin-right: 20px;
|
||||
}
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue