From f15c6ba2f54931364e46d2b631974d44b02e76d6 Mon Sep 17 00:00:00 2001 From: Ray Miller Date: Sat, 20 Apr 2024 16:04:32 +0100 Subject: [PATCH] Remove Cambridge dictionary link, make link text smaller. --- cloudfn.go | 7 +++---- standalone/assets/custom.css | 4 ++++ standalone/server/templates.go | 14 +++++++++----- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/cloudfn.go b/cloudfn.go index 613a952..31d1dbb 100644 --- a/cloudfn.go +++ b/cloudfn.go @@ -125,10 +125,9 @@ var resultsTmpl = template.Must(template.New("results").Parse(` diff --git a/standalone/assets/custom.css b/standalone/assets/custom.css index eaf55be..7019f17 100644 --- a/standalone/assets/custom.css +++ b/standalone/assets/custom.css @@ -11,3 +11,7 @@ div#results > ul { overflow-y: auto; height: 100%; } + +span.small { + font-size: x-small; +} diff --git a/standalone/server/templates.go b/standalone/server/templates.go index 386279b..360e42c 100644 --- a/standalone/server/templates.go +++ b/standalone/server/templates.go @@ -21,10 +21,10 @@ var home = template.Must(template.New("home").Parse(`
- + - +
@@ -32,6 +32,11 @@ var home = template.Must(template.New("home").Parse(`
+ `)) @@ -47,9 +52,8 @@ var results = template.Must(template.New("results").Parse(`