From 82f40b7c92f381df19404c8dae41a37fdaae0baf Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 9 Aug 2024 18:08:23 +0300 Subject: Some tweaks to advanced package search page Also make project links on other pages to refer to advanced package search page --- www/advanced-search-body.css | 19 ++++++++++++------- www/package-details-body.css | 12 ++++-------- www/package-version-details-body.css | 12 ++++-------- 3 files changed, 20 insertions(+), 23 deletions(-) (limited to 'www') diff --git a/www/advanced-search-body.css b/www/advanced-search-body.css index b2a23f6..a54100f 100644 --- a/www/advanced-search-body.css +++ b/www/advanced-search-body.css @@ -36,22 +36,29 @@ table.project, .package, table.version, #filter .package, #project-break { - padding-left: 2.25em; + margin-left: -.4rem; + padding-left: 2.25rem; } table.version, #package-break { - padding-left: 4.5em; + margin-left: 4rem; + padding-left: .4rem; +} + +table.version +{ + width: calc(100% + .8rem - 4.4rem); } -table.version:nth-child(even) {background-color: rgba(0, 0, 0, 0.07);} +table.version:nth-child(odd) {background-color: rgba(0, 0, 0, 0.07);} -table.project th, .package th, #filter th +table.project th, .package th { width: 5.5em; } -table.version th +table.version th, #filter th { width: 7.3em; } @@ -76,8 +83,6 @@ table.version tr.reviews td .pass {color: #00bb00;} #package-break, #project-break { - margin-left: -.4rem; - /* style. */ font-family: monospace; font-weight: 500; diff --git a/www/package-details-body.css b/www/package-details-body.css index bdef845..23bd8f1 100644 --- a/www/package-details-body.css +++ b/www/package-details-body.css @@ -118,8 +118,7 @@ h1, h2 } #package th {width: 7.6em;} -#package tr.topics td a, -#package tr.project td a +#package tr.topics td a { display: inline-block; @@ -129,21 +128,18 @@ h1, h2 margin: 0 0.35em 0.1em 0; } -#package tr.topics td a:visited, -#package tr.project td a:visited +#package tr.topics td a:visited { color: #3870c0; } -#package tr.topics td a:hover, -#package tr.project td a:hover +#package tr.topics td a:hover { text-decoration: none; background-color: #def; } -#package tr.topics td, -#package tr.project td +#package tr.topics td { padding: 0; margin: 0 0 0 -0.5em; diff --git a/www/package-version-details-body.css b/www/package-version-details-body.css index 45f5592..bd4d753 100644 --- a/www/package-version-details-body.css +++ b/www/package-version-details-body.css @@ -171,8 +171,7 @@ h1, h2, h3 } #package th {width: 9.5em;} -#package tr.topics td a, -#package tr.project td a +#package tr.topics td a { display: inline-block; @@ -182,21 +181,18 @@ h1, h2, h3 margin: 0 0.35em 0.1em 0; } -#package tr.topics td a:visited, -#package tr.project td a:visited +#package tr.topics td a:visited { color: #3870c0; } -#package tr.topics td a:hover, -#package tr.project td a:hover +#package tr.topics td a:hover { text-decoration: none; background-color: #def; } -#package tr.topics td, -#package tr.project td +#package tr.topics td { padding: 0; margin: 0 0 0 -0.5em; -- cgit v1.1