// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Zygmunt Krynicki

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: normal;
}

.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;
}

html {
    max-width: 80em;
    margin: 0 auto;
}

body {
    padding: 1em;
    font-family: "Berkeley Mono", monospace;
    max-width: 80em;
    padding: 1em;
    font-size: 12pt !important;
}

h1,
h2,
h3,
pre {
    font-size: inherit;
    margin-block: 1em;
}

h1 {
    text-align: center;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media (prefers-color-scheme: light) {
    :root {
        color: #000;
        background: #fff;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        color: #fff;
        background: #000;
    }
}

// The Berkeley Mono fonts are used under developer license. Those are not
// redistributable. If you fork the project you must either provide your own
// copy or provide a replacement font.

@font-face {
    font-family: "Berkeley Mono";
    src: url("BerkeleyMono-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Berkeley Mono";
    font-weight: bold;
    src: url("BerkeleyMono-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "Berkeley Mono";
    font-weight: bold;
    font-style: italic;
    src: url("BerkeleyMono-BoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Berkeley Mono";
    font-style: italic;
    src: url("BerkeleyMono-Italic.woff2") format("woff2");
}
