Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/leonardofaria/bento.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Faria <leonardofaria@gmail.com>2020-06-02 07:21:32 +0300
committerLeonardo Faria <leonardofaria@gmail.com>2020-06-02 07:21:32 +0300
commit413be0d007ac84f1c6e827ec3e773f839cc467b1 (patch)
tree2a8840faf406aea464711824ef16ad385852b8a7 /layouts
parent61157192e921d4c68e7a80d2d23ce8a2d63cdab0 (diff)
Update header spacing in homepage
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index b4ee924..fa6cdf7 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -9,13 +9,13 @@
{{ partial "nav-menu-buttons.html" . }}
</div>
- <div id="nav-menu" class="absolute right-8 top-16 lg:relative lg:right-0 lg:top-0 hidden lg:block self-end text-white rounded-md bg-black shadow lg:bg-transparent lg:shadow-none">
+ <div id="nav-menu" class="absolute right-8 top-16 lg:py-6 lg:my-4 lg:right-0 lg:top-0 hidden lg:block self-end text-white rounded-md bg-black shadow lg:bg-transparent lg:shadow-none">
<nav class="p-2 lg:p-0">
{{ partial "nav-links.html" . }}
</nav>
</div>
- <div class="flex-grow mt-5 w-full flex flex-col justify-center items-center">
+ <div class="flex-grow w-full flex flex-col justify-center items-center">
{{if .Site.Params.avatar}}
{{if or (eq (substr .Site.Params.avatar 0 7) "http://") (eq (substr .Site.Params.avatar 0 8) "https://")}}
<img alt="{{ .Site.Title }}" class="w-24 h-24 lg:w-32 lg:h-32 rounded-full mb-3" src="{{.Site.Params.avatar}}">