summaryrefslogtreecommitdiff
path: root/style/man.css
diff options
context:
space:
mode:
authordweller <dweller@cabin.digital>2024-02-20 21:01:37 +0200
committerdweller <dweller@cabin.digital>2024-02-20 21:01:37 +0200
commitf28f467032e4f77a1ce8efe8103191c9ad2de02b (patch)
tree0527178b43ba7b9b5d32398a4ce213edb627b6c7 /style/man.css
parent4e1b48364a9ae304500dbcb910b0d9f108f9202e (diff)
add search and page layouts
Diffstat (limited to '')
-rw-r--r--style/man.css51
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; }