the repository which powers this website
Diffstat (limited to 'themed/index.html')
-rw-r--r--themed/index.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/themed/index.html b/themed/index.html
index 88fb6abc..997d367b 100644
--- a/themed/index.html
+++ b/themed/index.html
@@ -5,12 +5,14 @@
{! page_start(); !}
<header class="bg-[#262F3F] border-b border-[#333A45]">
{# Repo header #}
- <div class="max-w-7xl mx-auto py-4 flex gap-x-1 items-center">
- <img width="40px" height="40px" src="/favicon.ico"></img>
- <a href="{{ cgit_rooturl()|attr }}" class="text-4xl text-[#CCCAC2] hover:text-[#73D0FF] hover:underline">{{ ctx.cfg.root_title }}</a>
+ <div class="pl-2 max-w-7xl mx-auto py-4 flex gap-x-1 items-center">
+ <a href="{{ cgit_rooturl()|attr }}"><img width="40px" height="40px" src="/favicon.ico"></img></a>
+ <a href="{{ cgit_rooturl()|attr }}" class="text-4xl text-[#CCCAC2] hover:text-[#73D0FF] hover:underline">
+ {{ ctx.cfg.root_title }}
+ </a>
</div>
</header>
- <main class="max-w-7xl mx-auto py-4">
+ <main class="max-w-7xl mx-auto py-4 pl-2 pr-2">
{# Main content #}
<form method="GET" action="{{ cgit_rooturl()|attr }}" class="flex text-sm mb-4 outline-1 outline-[#333A45] rounded-lg has-[input:focus-within]:outline-2 has-[input:focus-within]:outline-[#73D0FF]">
{# Search box #}
@@ -28,13 +30,13 @@
{! if (!cgit_repolist_is_visible(ctx.repo)) { continue; } !}
<div{% if i > 0 %} class="border-t border-[#333A45] pt-2 mt-2"{% endif %}>
{# Heroicons outline cube #}
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6 text-[#a3a29c]"><path stroke-linecap="round" stroke-linejoin="round" d="m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9" /></svg>
+ <!-- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6 text-[#a3a29c]"><path stroke-linecap="round" stroke-linejoin="round" d="m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9" /></svg> -->
</div>
- <div class="{% if i > 0 %}border-t border-[#333A45] pt-2 mt-2 {% endif %}pl-2">
+ <div class="{% if i > 0 %}border-t border-[#333A45] pt-2 mt-2 {% endif %}">
{! char *repourl = cgit_repourl(ctx.repo->url); !}
- <div><a href="{{ repourl|attr }}" class="font-semibold text-[#73D0FF] hover:text-[#4CB3FF] hover:underline">{{ ctx.repo->name }}</a></div>
+ <div><a href="{{ repourl|attr }}" class="text-lg font-bold text-[#73D0FF] hover:text-[#4CB3FF] hover:underline">{{ ctx.repo->name }}</a></div>
{! free(repourl); !}
- <div class="text-sm text-[#a3a29c]">{{ ctx.repo->desc }}</div>
+ <div class="text-sm text-[#CCCAC2]">{{ ctx.repo->desc }}</div>
<div class="text-sm text-[#a3a29c]">Updated {! cgit_repolist_print_modtime_themed(ctx.repo); !}</div>
</div>
{% endfor %}