summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/header.html7
-rw-r--r--static/css/style.css7
-rw-r--r--static/images/logo.pngbin0 -> 95584 bytes
5 files changed, 7 insertions, 11 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 63ecf26..ae0a0e7 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,5 +1,5 @@
{{ partial "header.html" . }}
-<div style="display: block; float: left">
+<div style="display: block;">
<div class="container">
<h2>Recent posts</h2>
<div class="content-wrapper">
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index d5c6372..8bb859c 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,5 +1,5 @@
<footer style="vertical-align: bottom;">
- <div style="display: inline-block; margin-left:15px;">
+ <div style="display: block; margin-left:auto; margin-right:auto;">
<center>
{{ with .Site.Params.footer }}
{{ . | markdownify }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index b4301f3..26bf0cb 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -4,12 +4,9 @@
<header>
<div class="container">
<div class="avatar">
- <img width="120px" height="120px" src="images/logo.jpg" alt="my logo">
+ <img width="65px" height="65px" src="images/logo.jpg" alt="my logo">
+ <h1 style="vertical-align: bottom;">mjkw</h1>
</div>
- <div>
- <h1>mjkw</h1>
{{ partial "navigation.html" .}}
- </div>
</div>
- {{ partial "secret.html" .}}
</header>
diff --git a/static/css/style.css b/static/css/style.css
index 1b6ecfe..a56cbdc 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -4,10 +4,9 @@ html {
}
body, html {
- margin-left:5px;
- margin-top: 5px;
- width:97%;
- height:97%;
+ margin: auto;
+ width:86%;
+ height:86%;
}
h1 {
font-size: 40pt;
diff --git a/static/images/logo.png b/static/images/logo.png
new file mode 100644
index 0000000..feabd33
--- /dev/null
+++ b/static/images/logo.png
Binary files differ