mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 01:51:54 +02:00
final polish
This commit is contained in:
parent
88b23d57de
commit
053fa1383a
5 changed files with 14 additions and 54 deletions
|
@ -1699,6 +1699,12 @@ select {
|
||||||
margin-left: calc(1.25rem * calc(1 - var(--tw-space-x-reverse)));
|
margin-left: calc(1.25rem * calc(1 - var(--tw-space-x-reverse)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
|
||||||
|
--tw-space-y-reverse: 0;
|
||||||
|
margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
|
||||||
|
margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
|
||||||
|
}
|
||||||
|
|
||||||
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
|
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
|
||||||
--tw-space-y-reverse: 0;
|
--tw-space-y-reverse: 0;
|
||||||
margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
|
margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
|
||||||
|
|
|
@ -15,52 +15,6 @@
|
||||||
pageRef = "docs"
|
pageRef = "docs"
|
||||||
weight = 10
|
weight = 10
|
||||||
|
|
||||||
[[main]]
|
|
||||||
name = "Nested Menu"
|
|
||||||
pageRef = "samples"
|
|
||||||
weight = 20
|
|
||||||
|
|
||||||
[[main]]
|
|
||||||
name = "sub-menu 1"
|
|
||||||
parent = "Nested Menu"
|
|
||||||
pageRef = "samples"
|
|
||||||
weight = 20
|
|
||||||
|
|
||||||
[[main]]
|
|
||||||
name = "sub-menu 2"
|
|
||||||
parent = "Nested Menu"
|
|
||||||
pageRef = "samples"
|
|
||||||
weight = 20
|
|
||||||
|
|
||||||
[[main]]
|
|
||||||
name = "sub-menu 3"
|
|
||||||
parent = "Nested Menu"
|
|
||||||
pre = "github"
|
|
||||||
pageRef = "samples"
|
|
||||||
weight = 20
|
|
||||||
|
|
||||||
[[subnavigation]]
|
|
||||||
name = "An interesting topic"
|
|
||||||
pageRef = "tags/interesting-topic"
|
|
||||||
weight = 10
|
|
||||||
|
|
||||||
[[subnavigation]]
|
|
||||||
name = "My Awesome Category"
|
|
||||||
pre = "github"
|
|
||||||
pageRef = "categories/awesome"
|
|
||||||
weight = 20
|
|
||||||
|
|
||||||
[[subnavigation]]
|
|
||||||
name = "YOLO"
|
|
||||||
pageRef = "categories/awesome"
|
|
||||||
weight = 20
|
|
||||||
|
|
||||||
[[subnavigation]]
|
|
||||||
name = "My Awesome Category asd"
|
|
||||||
pre = "twitter"
|
|
||||||
pageRef = "categories/awesome"
|
|
||||||
weight = 20
|
|
||||||
|
|
||||||
[[main]]
|
[[main]]
|
||||||
name = "Samples"
|
name = "Samples"
|
||||||
pageRef = "samples"
|
pageRef = "samples"
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
<div id="menu-wrapper" style="padding-top:5px;"
|
<div id="menu-wrapper" style="padding-top:5px;"
|
||||||
class="fixed inset-0 z-30 invisible w-screen h-screen m-auto overflow-auto transition-opacity opacity-0 cursor-default bg-neutral-100/50 backdrop-blur-sm dark:bg-neutral-900/50">
|
class="fixed inset-0 z-30 invisible w-screen h-screen m-auto overflow-auto transition-opacity opacity-0 cursor-default bg-neutral-100/50 backdrop-blur-sm dark:bg-neutral-900/50">
|
||||||
<ul
|
<ul
|
||||||
class="flex mt-4 flex-col items-end w-full px-6 py-6 mx-auto overflow-visible list-none ltr:text-right rtl:text-left max-w-7xl">
|
class="flex space-y-2 mt-3 flex-col items-end w-full px-6 py-6 mx-auto overflow-visible list-none ltr:text-right rtl:text-left max-w-7xl">
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<span
|
<span
|
||||||
|
@ -114,7 +114,6 @@
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
{{ if .Site.Menus.subnavigation }}
|
{{ if .Site.Menus.subnavigation }}
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<ul
|
<ul
|
||||||
class="flex mt-4 flex-col items-end w-full px-6 py-6 mx-auto overflow-visible list-none ltr:text-right rtl:text-left max-w-7xl">
|
class="flex mt-4 flex-col items-end w-full px-6 py-6 mx-auto overflow-visible list-none ltr:text-right rtl:text-left max-w-7xl">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<li class="mt-3">
|
<li class="mt-1">
|
||||||
<a class="flex items-center">
|
<a class="flex items-center">
|
||||||
{{ if .Pre }}
|
{{ if .Pre }}
|
||||||
<span {{ if and .Pre .Name}} class="mr-1" {{ end }}>
|
<span {{ if and .Pre .Name}} class="mr-1" {{ end }}>
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ range .Children }}
|
{{ range .Children }}
|
||||||
<li class="mt-2">
|
<li class="mt-1">
|
||||||
<a href="{{ .URL }}" {{ if or (strings.HasPrefix .URL "http:" ) (strings.HasPrefix .URL "https:"
|
<a href="{{ .URL }}" {{ if or (strings.HasPrefix .URL "http:" ) (strings.HasPrefix .URL "https:"
|
||||||
) }} target="_blank" {{ end }} class="flex items-center">
|
) }} target="_blank" {{ end }} class="flex items-center">
|
||||||
{{ if .Pre }}
|
{{ if .Pre }}
|
||||||
|
@ -27,4 +27,5 @@
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
<li class="mb-2"></li>
|
|
@ -1,10 +1,10 @@
|
||||||
<li class="mt-3">
|
<li class="mt-1">
|
||||||
<a href="{{ .URL }}" {{ if or (strings.HasPrefix .URL "http:" ) (strings.HasPrefix .URL "https:"
|
<a href="{{ .URL }}" {{ if or (strings.HasPrefix .URL "http:" ) (strings.HasPrefix .URL "https:"
|
||||||
) }} target="_blank" {{ end }} class="flex items-center">
|
) }} target="_blank" {{ end }} class="flex items-center">
|
||||||
{{ if .Pre }}
|
{{ if .Pre }}
|
||||||
<span {{ if and .Pre .Name}} class="mr-2" {{ end }}>
|
<div {{ if and .Pre .Name}} class="mr-2" {{ end }}>
|
||||||
{{ partial "icon.html" .Pre }}
|
{{ partial "icon.html" .Pre }}
|
||||||
</span>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<p class="text-bg font-bg text-gray-500 hover:text-gray-900" title="{{ .Title }}">
|
<p class="text-bg font-bg text-gray-500 hover:text-gray-900" title="{{ .Title }}">
|
||||||
{{ .Name | markdownify | emojify }}
|
{{ .Name | markdownify | emojify }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue