From 1240fc53c945666679720fbe7b24b60201ea6cfb Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sat, 25 Apr 2026 19:34:55 +0800 Subject: Remove search from the top and add footer. --- _includes/nav.html | 4 +--- assets/css/main.css | 19 +++++++++++-------- index.md | 4 ++++ 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index aff45fe..7488559 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,9 +1,7 @@

{{ site.title }}

{% assign parts = page.url | split: '/' %} -{% if page.url == "/" %} -

Search

-{% else %} +{% if page.url != "/" %} /

{{ page.title }}

{% endif %}
diff --git a/assets/css/main.css b/assets/css/main.css index b98df32..16bd9a5 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -18,14 +18,6 @@ header h1 { margin: 0; } -#search { - float: right; -} - -#search-bar { - margin-top: 1.5rem; -} - pre, code { font-size: 95%; background: #005577; @@ -104,3 +96,14 @@ img { a, a:visited { color: initial; } + +footer { + margin-top: 2rem; + font-size: 0.85em; + color: #888; +} + +footer a, +footer a:visited { + color: #888; +} diff --git a/index.md b/index.md index 827d51e..4ae019e 100644 --- a/index.md +++ b/index.md @@ -13,3 +13,7 @@ title: "Home" {% endfor %} + -- cgit v1.2.3