diff options
author | dweller <dweller@cabin.digital> | 2024-03-08 19:53:47 +0200 |
---|---|---|
committer | dweller <dweller@cabin.digital> | 2024-03-08 19:53:47 +0200 |
commit | d66f88febd3f19afd6b0ed0bee347e8f7db3e086 (patch) | |
tree | 0a931a777591fa6d4edaaeccefa27e4d2d75d090 /style/man.css | |
parent | 12da9560c792ae5f3beb31dfdf5f41d70d03e4ab (diff) |
fix formatting and parsing when using self-compiled mandoc that produced different HTML output
Diffstat (limited to 'style/man.css')
-rw-r--r-- | style/man.css | 15 |
1 files changed, 11 insertions, 4 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 { |