aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-08-09 18:08:23 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-08-09 18:08:23 +0300
commit82f40b7c92f381df19404c8dae41a37fdaae0baf (patch)
tree7c98f9f636ff7105ae7e91bb2020be6c45e3b70d /www
parent728ee46209b9add314fe1fec9bdf4a43b7d7eeb8 (diff)
Some tweaks to advanced package search page
Also make project links on other pages to refer to advanced package search page
Diffstat (limited to 'www')
-rw-r--r--www/advanced-search-body.css19
-rw-r--r--www/package-details-body.css12
-rw-r--r--www/package-version-details-body.css12
3 files changed, 20 insertions, 23 deletions
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;
-
/* <code> 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;