diff options
Diffstat (limited to 'frontend/static')
-rw-r--r-- | frontend/static/search.js | 4 | ||||
-rw-r--r-- | frontend/static/style.css | 17 |
2 files changed, 19 insertions, 2 deletions
diff --git a/frontend/static/search.js b/frontend/static/search.js index 358de13..030a318 100644 --- a/frontend/static/search.js +++ b/frontend/static/search.js @@ -49,7 +49,9 @@ function paginationLinkClicked(ev) { } function addPaginationEventListeners(pagination) { - pagination.addEventListener("click", paginationLinkClicked); + Array.from(pagination.children).forEach((child) => + child.addEventListener("click", paginationLinkClicked), + ); } function renderFragmentHTML(html) { diff --git a/frontend/static/style.css b/frontend/static/style.css index 9dbe198..4596fb3 100644 --- a/frontend/static/style.css +++ b/frontend/static/style.css @@ -31,11 +31,12 @@ body > header { a { margin-bottom: unset; + font-size: 1.15rem; } & h1 { margin: unset; - font-size: unset; + font-size: 1.15rem; line-height: 2; & > a { margin-left: unset; @@ -114,3 +115,17 @@ section { .error { background: var(--accent-error); } + +h2 { + font-size: 1.5rem; +} + +h2:only-child { + margin-top: 0; +} + +h3 { + margin: unset; + font-size: 1.25rem; + display: inline-block; +} |