From bf0adc61eaf7f2c0072eb7f35671b19f9e008aef Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 27 Apr 2024 18:49:55 +0900 Subject: [PATCH] fix --- layouts/partials/header.html | 69 ++++++++++++++++-------------------- static/css/blog.css | 4 +-- static/css/style.css | 3 +- 3 files changed, 33 insertions(+), 43 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 4dceb7df..2f3fee84 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,48 +1,41 @@ -
- {{ $s := path.Dir (.Permalink | relURL) }} - {{ $t := index (split $s "/") 2 }} - {{ $o := index (split $s "/") 1 }} - - - {{ if eq $o "" }} - -
- - - - - - - -
ctrl + enter
- + {{ $s := path.Dir (.Permalink | relURL) }} + {{ $t := index (split $s "/") 2 }} + {{ $o := index (split $s "/") 1 }} + +
+ {{ if eq $o "" }} +
+ + + + + + +
ctrl + enter
- - - +
+ + + --> - - - - - + + + + +
{{ end }} diff --git a/static/css/blog.css b/static/css/blog.css index 6c578033..6a0caaf9 100644 --- a/static/css/blog.css +++ b/static/css/blog.css @@ -1,5 +1,5 @@ .containerx { - padding: 0 250px; + padding: 100px 250px; width: auto; } @media screen and (max-width:1000px) { @@ -7,5 +7,3 @@ padding: 0; } } - - diff --git a/static/css/style.css b/static/css/style.css index 1d598eee..22978334 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -30,7 +30,6 @@ p { font-size: 5rem; } .logo { - margin: 35px 0; text-align:center; } .containerx { @@ -491,7 +490,7 @@ header#header { } nav.navbar.navbar-expand-lg.navbar-light.bg-light{ - border-bottom: solid 1px #fff; + border-bottom: solid 2px #f1f1f1; background: #313131; }