From 81b2e1bdd170436f1e8a48510262c5ca1c679d20 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 25 Nov 2023 05:15:00 +0200 Subject: [PATCH] update styles --- src/webui/index.php | 4 ++-- src/webui/search.php | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/webui/index.php b/src/webui/index.php index f3ee989..aff63dd 100644 --- a/src/webui/index.php +++ b/src/webui/index.php @@ -58,7 +58,7 @@ $index = $client->index( h1 { color: #fff; font-weight: normal; - font-size: 32px; + font-size: 36px; margin: 16px 0 } @@ -95,7 +95,7 @@ $index = $client->index( button { margin: 22px 0; - padding: 10px 16px; + padding: 6px 16px; border-radius: 4px; cursor: pointer; background-color: #3394fb; diff --git a/src/webui/search.php b/src/webui/search.php index 3394d1d..bb98cbb 100644 --- a/src/webui/search.php +++ b/src/webui/search.php @@ -77,7 +77,7 @@ $results = $index->search($q) h1 { position: fixed; - top: 8px; + top: 2px; left: 24px; } @@ -87,8 +87,8 @@ $results = $index->search($q) h1 > a:hover { color: #fff; font-weight: normal; - font-size: 24px; - margin: 10px 0; + font-size: 22px; + margin: 0; text-decoration: none; } @@ -110,7 +110,7 @@ $results = $index->search($q) input { width: 100%; margin: 12px 0; - padding: 10px 0; + padding: 6px 0; border-radius: 32px; background-color: #000; color: #fff; @@ -145,14 +145,14 @@ $results = $index->search($q) } button { - padding: 8px 16px; + padding: 6px 16px; border-radius: 4px; cursor: pointer; background-color: #3394fb; color: #fff; font-size: 14px; position: fixed; - top: 15px; + top: 12px; right: 24px; }