From 6cdffc79fb65b770dce586b44d0232b2a042ea1e Mon Sep 17 00:00:00 2001 From: cblgh Date: Thu, 4 Feb 2021 09:41:42 +0100 Subject: [PATCH] add logo by devine, input validation --- html/about-template.html | 2 ++ html/assets/base.css | 7 ++++++- html/assets/logo.svg | 1 + html/index-template.html | 6 ++++-- html/list-template.html | 2 ++ html/search-template.html | 4 +++- 6 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 html/assets/logo.svg diff --git a/html/about-template.html b/html/about-template.html index 9101f59..804138c 100644 --- a/html/about-template.html +++ b/html/about-template.html @@ -2,6 +2,8 @@ Lieu—webring search engine + + About diff --git a/html/assets/base.css b/html/assets/base.css index 0ebca74..0792dab 100644 --- a/html/assets/base.css +++ b/html/assets/base.css @@ -110,13 +110,18 @@ p { } .search-button { + background-image: url("logo.svg"); font-size: 2rem; color: var(--primary); - background: var(--secondary); border: 0; cursor: pointer; border-radius: 2px; transition: opacity 150ms; + + height: 2rem; + width: auto; + background-size: cover; + background-position: center; } .search-button:hover { diff --git a/html/assets/logo.svg b/html/assets/logo.svg new file mode 100644 index 0000000..7dadfe9 --- /dev/null +++ b/html/assets/logo.svg @@ -0,0 +1 @@ + diff --git a/html/index-template.html b/html/index-template.html index 3729548..ec3fca1 100644 --- a/html/index-template.html +++ b/html/index-template.html @@ -2,6 +2,8 @@ Lieu—webring search engine + + About @@ -10,8 +12,8 @@

Lieu

the search for the new—endless

- - + +
diff --git a/html/list-template.html b/html/list-template.html index c206d25..f27ebbe 100644 --- a/html/list-template.html +++ b/html/list-template.html @@ -2,6 +2,8 @@ {{ .Title }}—Lieu + + About diff --git a/html/search-template.html b/html/search-template.html index 0c3a173..d9e083e 100644 --- a/html/search-template.html +++ b/html/search-template.html @@ -2,13 +2,15 @@ {{ .Query }}—Lieu + + About

Lieu

- +
{{ range .Pages }}