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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
{% include navbar.html %}
|
||||||
|
|
||||||
<div class="container" style="padding: 30px;">
|
<div class="container" style="padding: 30px;">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,10 +6,11 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
{% include navbar.html %}
|
||||||
|
|
||||||
<div class="container" style="padding: 30px;">
|
<div class="container" style="padding: 30px;">
|
||||||
<a href="/">« back</a>
|
|
||||||
<div style="text-align: center;">
|
<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>
|
<p style="font-size: 0.9em;">published: <b>{{ page.date | date_to_long_string }}</b></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -39,3 +39,8 @@ code {
|
||||||
}
|
}
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#navbar .link {
|
||||||
|
font-size: 1.6em;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
|
@ -2,8 +2,6 @@
|
||||||
layout: default
|
layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
<h1 style="text-align: center;">michael's blog</h1>
|
|
||||||
|
|
||||||
<table style="width: 100%;">
|
<table style="width: 100%;">
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in a new issue