summaryrefslogtreecommitdiff
path: root/style/man.css
blob: 12a00b22591b647c1dfc48c2005b504d80dd397b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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; }