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

github.com/darshanbaral/mero.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@gmail.com>2019-06-20 06:49:10 +0300
committerDarshan Baral <darshanbaral@gmail.com>2019-06-20 06:49:10 +0300
commit07ba22ed42d37807b8657fed4b8a9bc7a4617d35 (patch)
tree4c34d29593557a86738a5c4e108fd8149919adb6
parent2f3483d3c6ff0c4accdc12cb14ff40e0da8538cc (diff)
Fixed navbar for chrome
-rw-r--r--layouts/partials/navbar.html29
1 files changed, 14 insertions, 15 deletions
diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html
index 46c9530..b224a56 100644
--- a/layouts/partials/navbar.html
+++ b/layouts/partials/navbar.html
@@ -1,18 +1,19 @@
<nav class="mb-3 mt-3 ml-1">
<div class="d-flex flex-row">
- <div class="menu-item">
- <a
- href="{{ `/` | relURL }}"
- class="border border-warning bg-dark p-2"
- style="border-top-left-radius: 10px; border-bottom-left-radius: 10px;"
- ><span>Home</span>
- </a>
+ <div
+ class="menu-item border border-warning bg-dark p-2"
+ style="border-top-left-radius: 10px; border-bottom-left-radius: 10px;"
+ >
+ <a href="{{ `/` | relURL }}"><span>Home</span> </a>
</div>
- <div class="menu-item dropdown">
- <span class="dropbtn border border-warning bg-dark p-2 text-warning"
+ <div class="menu-item dropdown border border-warning bg-dark p-2">
+ <span class="dropbtn text-warning"
>Sections <i class="fas fa-angle-down"></i
></span>
- <div class="dropdown-content p-2 bg-dark2 mt-2 rounded w-auto mt-1" style="min-width: 200px;">
+ <div
+ class="dropdown-content p-2 bg-dark2 mt-2 rounded w-auto mt-1"
+ style="min-width: 200px;"
+ >
<ul class="list-unstyled">
{{ range .Site.Sections.ByWeight }}
{{ $thisSection := replace (replace .File.Dir "\\" "") "/" "" }}
@@ -25,18 +26,16 @@
</ul>
</div>
</div>
- <div class="menu-item">
+ <div class="menu-item border border-warning bg-dark p-2">
<a
href="{{ `/alltaxa/` | relURL }}"
- class="border border-warning bg-dark p-2"
><span>Taxa</span>
</a>
</div>
- <div class="menu-item">
+ <div class="menu-item border border-warning bg-dark p-2"
+ style="border-top-right-radius: 10px; border-bottom-right-radius: 10px;">
<a
href="{{ `/archive/` | relURL }}"
- class="border border-warning bg-dark p-2"
- style="border-top-right-radius: 10px; border-bottom-right-radius: 10px;"
><span>Archive</span>
</a>
</div>