summaryrefslogtreecommitdiff
path: root/style
diff options
context:
space:
mode:
authordweller <dweller@cabin.digital>2024-03-08 19:53:47 +0200
committerdweller <dweller@cabin.digital>2024-03-08 19:53:47 +0200
commitd66f88febd3f19afd6b0ed0bee347e8f7db3e086 (patch)
tree0a931a777591fa6d4edaaeccefa27e4d2d75d090 /style
parent12da9560c792ae5f3beb31dfdf5f41d70d03e4ab (diff)
fix formatting and parsing when using self-compiled mandoc that produced different HTML output
Diffstat (limited to 'style')
-rw-r--r--style/man.css15
-rw-r--r--style/search.css6
2 files changed, 14 insertions, 7 deletions
diff --git a/style/man.css b/style/man.css
index e61ad91..7915ccc 100644
--- a/style/man.css
+++ b/style/man.css
@@ -138,9 +138,6 @@ tr:first-of-type td:last-of-type { border-top-right-radius: 0.5em; }
tr:last-of-type td:first-of-type { border-bottom-left-radius: 0.5em; }
tr:last-of-type td:last-of-type { border-bottom-right-radius: 0.5em; }
-table.head, table.foot,
-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;
@@ -148,7 +145,17 @@ table.Nm, table.Nm tbody, table.Nm tbody tr, table.Nm tbody tr td
border: none !important;
}
-table.head, table.foot { display: table; }
+.head, .foot
+{
+ width: 100%;
+ display: grid;
+ grid-template-columns: 1fr 2fr 1fr;
+ grid-template-rows: 1fr;
+}
+
+.head-ltitle, .foot-left { text-align: left; }
+.head-vol, .foot-date { text-align: center; }
+.head-rtitle, .foot-os { text-align: right; }
pre
{
diff --git a/style/search.css b/style/search.css
index 9f8a88f..835c612 100644
--- a/style/search.css
+++ b/style/search.css
@@ -49,7 +49,7 @@
#logo { margin-right: 1.5rem; }
-#man, #mank
+#btn_man, #btn_mank
{
flex-shrink: 0;
height: 4em;
@@ -59,14 +59,14 @@
border-radius: 0;
}
-#mank
+#btn_mank
{
background-color: var(--qbgh);
color: var(--fg-light);
border-color: transparent;
}
-#man:hover, #mank:hover
+#btn_man:hover, #btn_mank:hover
{
text-decoration: underline;
box-shadow: none;