Skip to content

Commit b3b7855

Browse files
committed
fix: navbar spacing final
Signed-off-by: Harshil <[email protected]>
1 parent e51f5b7 commit b3b7855

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

assets/css/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,11 +341,11 @@ ul,
341341
li {
342342
list-style-type: disc;
343343
margin-left: 1em;
344-
font-size: 20px;
345344
}
346345

347346
ul {
348347
padding-bottom: 24px;
348+
font-size: 20px;
349349
}
350350

351351
header ul,

layouts/partials/nav.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--Navbar starts here-->
22
<nav>
33
<header>
4-
<div class="md:flex md:flex-row md:px-12 xl:px-16 md:justify-between py-5 items-center">
4+
<div class="md:flex md:flex-row md:px-6 lg:px-12 xl:px-16 md:justify-between py-5 items-center">
55
<div class="flex justify-between px-4 md:hidden">
66
<div>
77
{{ $image := resources.Get "logo/large_logo.svg" }}
@@ -16,11 +16,11 @@
1616
</div>
1717
<div class="hidden md:block">
1818
{{ $image := resources.Get "logo/large_logo.svg" }}
19-
<a href="/"><img src="/logo/large_logo.svg" class="md:h-10 xl:h-14" alt="Cloud Native Postgres Logo"></a>
19+
<a href="/"><img src="/logo/large_logo.svg" class="md:h-8 lg:h-12 xl:h-14" alt="Cloud Native Postgres Logo"></a>
2020
</div>
2121

2222
<div class="hidden md:block">
23-
<ul class="md:flex md:gap-4 xl:gap-8 text-2xl medium-gray my-5 pb-0">
23+
<ul class="md:flex md:gap-2 lg:gap-4 xl:gap-8 text-base lg:text-lg xl:text-xl medium-gray pb-0">
2424
<li><a href="/blog">Blog</a></li>
2525
<li><a href="/tags/tutorial">Tutorials</a></li>
2626
<li><a href="/releases">Releases</a></li>
@@ -56,7 +56,7 @@
5656
</div>
5757
<!--For hamburger click -->
5858

59-
<div class="hidden md:block">
59+
<div class="hidden md:block pt-1.5 md:scale-75 lg:scale-100 origin-right">
6060
<a class="github-button" href="https://github.com/cloudnative-pg/cloudnative-pg"
6161
data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" data-show-count="true"
6262
aria-label="Star cloudnative-pg/cloudnative-pg on GitHub">Star</a>

0 commit comments

Comments
 (0)