From d324093e0254def3d77dd7d9b6ae672c3bab6068 Mon Sep 17 00:00:00 2001 From: vanten-s Date: Mon, 5 Aug 2024 01:24:51 +0200 Subject: [PATCH] Navbar & Buttons --- content/_index.md | 2 + content/buttons/_index.html | 58 +++++++++++++++++++++++ themes/vanten/assets/css/main.css | 2 +- themes/vanten/layouts/_default/home.html | 59 ------------------------ themes/vanten/layouts/partials/menu.html | 22 ++++----- 5 files changed, 70 insertions(+), 73 deletions(-) create mode 100644 content/buttons/_index.html diff --git a/content/_index.md b/content/_index.md index 86bbe46..568efef 100644 --- a/content/_index.md +++ b/content/_index.md @@ -16,3 +16,5 @@ gcs/gg d--(---) s+ a---- C++ UL+++ P L+++>++++ E- W++ N+ o? K? w-- O? M- V? PS++ PE-- Y+ PGP++ t- 5? X? R tv b+ DI? D+ G e-- h! r- ------END GEEK CODE BLOCK------ ``` + +Funny [buttons](/buttons) diff --git a/content/buttons/_index.html b/content/buttons/_index.html new file mode 100644 index 0000000..725771d --- /dev/null +++ b/content/buttons/_index.html @@ -0,0 +1,58 @@ +

People

+ + + + +
+ +

Opinions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +

Programs

+ + + + + + + + + + + + + + + + +

My button

+

If you think I'm cool please add my button :3. If you tell me about it I might add yours to

+ + diff --git a/themes/vanten/assets/css/main.css b/themes/vanten/assets/css/main.css index 5cdbc6d..6459615 100644 --- a/themes/vanten/assets/css/main.css +++ b/themes/vanten/assets/css/main.css @@ -50,7 +50,7 @@ a { top: 0; background-color: var(--navbar); bottom: 0; - width: 5.5em; + padding-right: 0.5em; } .navbar > ul { diff --git a/themes/vanten/layouts/_default/home.html b/themes/vanten/layouts/_default/home.html index 26f83f1..ffddb6b 100644 --- a/themes/vanten/layouts/_default/home.html +++ b/themes/vanten/layouts/_default/home.html @@ -2,67 +2,8 @@ {{ .Content }}

Posts

-
{{ range site.RegularPages }}

{{ .LinkTitle }}

{{ .Summary }}

{{ end }} - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ end }} diff --git a/themes/vanten/layouts/partials/menu.html b/themes/vanten/layouts/partials/menu.html index d729800..9f792f8 100644 --- a/themes/vanten/layouts/partials/menu.html +++ b/themes/vanten/layouts/partials/menu.html @@ -13,19 +13,15 @@ Renders a menu for the given menu ID. {{- with index site.Menus $menuID }} {{- end }}