From 351dd8657812ebcd5793c097c3d60e7a73d79d86 Mon Sep 17 00:00:00 2001
From: Simon Huang
Date: Tue, 16 May 2023 11:37:57 +0800
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fixed=20header?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
CHANGELOG.md | 3 +
assets/css/main.css | 7 ++
default.hbs | 2 +-
package.json | 2 +-
partials/footer.hbs | 2 +-
partials/header.hbs | 173 ++++++++++----------------------------------
6 files changed, 51 insertions(+), 138 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1f77d2e..9825254 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
# CHANGELOG
+## v.1.3.4
+- 🐛 fixed header
+
## v1.3.3
- 🐛 fixed header not centered, as mentioned in ([#70](https://github.com/huangyuzhang/Fizzy-Theme/issues/70))
diff --git a/assets/css/main.css b/assets/css/main.css
index 42907fb..178c308 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -245,6 +245,13 @@ html,body{
}
/* ====================== header ====================== 2019.04.12 */
+@media screen and (min-width:1024px){
+ .nav-container {
+ margin: 0 auto;
+ display: flex !important;
+ }
+}
+
.navbar-brand .text-logo {
font-weight:700;
font-size:1.5rem;
diff --git a/default.hbs b/default.hbs
index 78de4cf..3b67633 100644
--- a/default.hbs
+++ b/default.hbs
@@ -24,7 +24,7 @@
{{!-- --}}
{{!-- Bulma v0.7.5 --}}
-
+
{{!-- --}}
{{!-- KaTeX: css --}}
diff --git a/package.json b/package.json
index 38c03b0..282afb0 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "fizzy",
"description": "A tasty blogging theme for Ghost.",
- "version": "1.3.3",
+ "version": "1.3.4",
"author": {
"name": "Yuzhang Huang",
"email": "huangyuzhang@live.cn"
diff --git a/partials/footer.hbs b/partials/footer.hbs
index 77821fe..52e5c38 100644
--- a/partials/footer.hbs
+++ b/partials/footer.hbs
@@ -10,7 +10,7 @@
- Using The Fizzy Theme v1.3.3 | Published with Ghost
+ Using The Fizzy Theme v1.3.4 | Published with Ghost
\ No newline at end of file
diff --git a/partials/header.hbs b/partials/header.hbs
index 3bcdec8..2aff630 100644
--- a/partials/header.hbs
+++ b/partials/header.hbs
@@ -1,167 +1,70 @@
-
-
- {{#if @site.logo}}
-
- {{else}}
-