diff options
Diffstat (limited to 'style')
-rw-r--r-- | style/man.css | 15 | ||||
-rw-r--r-- | style/search.css | 6 |
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; |