From c56a1fe7639c56e51a5213329ac0dc787ff96291 Mon Sep 17 00:00:00 2001 From: dweller Date: Mon, 26 Feb 2024 17:39:44 +0200 Subject: guess what? yep, more CSS fixes --- style/main.css | 4 ++-- style/man.css | 7 +++---- style/search.css | 2 ++ 3 files changed, 7 insertions(+), 6 deletions(-) (limited to 'style') diff --git a/style/main.css b/style/main.css index e650d1b..627da0a 100644 --- a/style/main.css +++ b/style/main.css @@ -280,8 +280,8 @@ button, input { all: unset; } { background: no-repeat url("/imgs/search.svg"); background-size: contain; - margin-top: 0.15rem; - width: 1.25rem; + background-position: center; + width: 16pt; margin-right: 1rem; } diff --git a/style/man.css b/style/man.css index 63129c5..3e963ff 100644 --- a/style/man.css +++ b/style/man.css @@ -48,8 +48,8 @@ #lmmtfy > div > div> label { position: absolute; - width: 65pt; - padding: 0 8pt; + width: 62pt; + padding: 0 8pt 0 12pt; background-color: var(--bg); } @@ -151,6 +151,7 @@ td.head-ltitle, td.head-vol, td.head-rtitle, td.foot-date, td.foot-os, table.Nm, table.Nm tbody, table.Nm tbody tr, table.Nm tbody tr td { + word-break: break-word; text-align: left; border: none !important; } @@ -202,8 +203,6 @@ pre { width: 90%; - padding: 0; - border: none; } } diff --git a/style/search.css b/style/search.css index eeb1e84..291b482 100644 --- a/style/search.css +++ b/style/search.css @@ -90,6 +90,7 @@ background: no-repeat url("/imgs/search-wt.svg"); background-size: contain; + background-position: center; height: 12pt; width: 12pt; @@ -119,6 +120,7 @@ margin-bottom: 1.5rem; } +#results > dl { overflow-wrap: break-word; } #results > dl > dt { font-size: large; } #results > dl > dd { -- cgit v1.2.3