diff options
Diffstat (limited to 'style/man.css')
-rw-r--r-- | style/man.css | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/style/man.css b/style/man.css new file mode 100644 index 0000000..12a00b2 --- /dev/null +++ b/style/man.css @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 dwlr <dweller@cabin.digital> + * + * BSD 3-Clause License (BSD-3-Clause) + * See LICENSE for details + */ + +.manpage +{ + font-size: small; + + width: min(100% - 3rem, 9in); + padding: 0.25in; + margin: 1em 0 1em 0; + + border: 1px solid var(--border); + border-radius: 1em; +} + +.head +{ + width: 100%; + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-between; +} + + +@media (width <= 800px) +{ + .manpage + { + width: unset; + border: none; + margin: 0; + padding: 0; + } +} + + +/* TODO: give copyright */ + +table.head, table.foot { width: 100%; } +td.head-rtitle, td.foot-os { text-align: right; } +td.head-vol { text-align: center; } +.Nd, .Bf, .Op { display: inline; } +.Pa, .Ad { font-style: italic; } +.Ms { font-weight: bold; } +.Bl-diag > dt { font-weight: bold; } +code.Nm, .Fl, .Cm, .Ic, code.In, .Fd, .Fn, .Cd { font-weight: bold; font-family: inherit; } |