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-05-21 07:22:03 +0300
committerLeonardo Faria <leonardofaria@gmail.com>2020-05-21 07:22:03 +0300
commitd2f3d73d06ade81ad5d66226464187fe96fd9065 (patch)
treecd6d598bd22f5b42b9e61901820b17dfc63cf3bc /layouts
parent31f36d6f0be064ae4fdeb8c5ecda595d8883ec5e (diff)
Update header with new design
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html4
-rw-r--r--layouts/partials/nav-links.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 5f0ae0c..b4ee924 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -35,8 +35,8 @@
</header>
{{else}}
<header id="header" class="w-full m-0 fixed z-10 transition-all duration-300 ease-in-out border-t-4 border-gray-300 py-4 backdrop-filter-blur">
- <div id="header-container" class="max-w-7xl mx-auto p-6 flex items-center flex-wrap lg:flex-no-wrap relative">
- <a href="{{ .Site.Home.Permalink }}" class="leading-10 text-3xl font-normal text-gray-600 flex flex-shrink-0 flex-grow">
+ <div id="header-container" class="max-w-7xl mx-auto p-6 flex items-center flex-wrap lg:flex-no-wrap relative justify-between">
+ <a href="{{ .Site.Home.Permalink }}" class="leading-10 text-3xl font-normal text-gray-600 flex flex-shrink-0">
{{ .Site.Title }}
</a>
diff --git a/layouts/partials/nav-links.html b/layouts/partials/nav-links.html
index 15f29b4..59571a3 100644
--- a/layouts/partials/nav-links.html
+++ b/layouts/partials/nav-links.html
@@ -1,7 +1,7 @@
<ul class="w-full flex flex-col lg:flex-row justify-end items-end lg:items-center">
{{ range .Site.Menus.main.ByWeight }}
<li class="flex my-2 lg:my-2 mx-1 lg:mx-2">
- <a title="{{ .Name }}" class="lg:border lg:py-2 lg:px-3 rounded text-sm opacity-75 hover:opacity-100 transition duration-300 ease-in-out" href="{{ .URL }}">{{ .Name }}</a>
+ <a title="{{ .Name }}" class="uppercase font-bold lg:py-2 lg:px-3 rounded text-sm opacity-75 hover:opacity-100 transition duration-300 ease-in-out" href="{{ .URL }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>