2022-11-19 00:34:41 +00:00
|
|
|
@import "mandoc.css";
|
|
|
|
|
2022-07-23 19:07:49 +00:00
|
|
|
:root {
|
|
|
|
--border-radius: 10px;
|
2022-07-23 19:16:23 +00:00
|
|
|
|
2022-11-19 00:34:41 +00:00
|
|
|
--color-snippet: #161b22;
|
|
|
|
--color-link: #7b8333;
|
|
|
|
--color-bg: #0d1117;
|
|
|
|
--color-text: #c9d1d9;
|
2022-07-23 19:16:23 +00:00
|
|
|
|
2022-11-19 00:34:41 +00:00
|
|
|
--color-table-border: #30363d;
|
|
|
|
--color-table-accent: #161b22;
|
2022-07-29 00:52:40 +00:00
|
|
|
|
2022-11-19 00:34:41 +00:00
|
|
|
--color-error-bg: #5c6434;
|
2022-09-28 20:25:49 +00:00
|
|
|
--color-error: white;
|
2022-07-23 19:07:49 +00:00
|
|
|
}
|
|
|
|
|
2022-11-19 00:34:41 +00:00
|
|
|
html {
|
|
|
|
max-width: 100%;
|
2022-07-23 19:07:49 +00:00
|
|
|
}
|
|
|
|
|
2022-07-23 00:19:12 +00:00
|
|
|
body {
|
|
|
|
margin: auto;
|
|
|
|
max-width: 8.5in;
|
|
|
|
padding: 0.25in;
|
2022-07-23 19:07:49 +00:00
|
|
|
|
|
|
|
color: var(--color-text);
|
|
|
|
background-color: var(--color-bg);
|
|
|
|
|
|
|
|
font-family: Arial;
|
2022-07-23 00:19:12 +00:00
|
|
|
}
|
2022-07-23 19:07:49 +00:00
|
|
|
|
2022-07-29 00:52:40 +00:00
|
|
|
.msg-error {
|
|
|
|
background-color: var(--color-error-bg);
|
|
|
|
color: var(--color-error);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
2022-09-28 20:25:49 +00:00
|
|
|
.msg-error a {
|
|
|
|
color: var(--color-error);
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: underline
|
|
|
|
}
|
|
|
|
|
2022-07-23 00:19:12 +00:00
|
|
|
.code {
|
2022-07-23 19:07:49 +00:00
|
|
|
background-color: var(--color-snippet);
|
|
|
|
border-radius: var(--border-radius);
|
2022-07-23 00:19:12 +00:00
|
|
|
display: block;
|
|
|
|
padding: 0.5em 1em 1.5em 1em;
|
|
|
|
|
|
|
|
font-family: monospace;
|
|
|
|
white-space: pre;
|
2022-07-23 19:16:23 +00:00
|
|
|
overflow: auto;
|
2022-07-23 00:19:12 +00:00
|
|
|
}
|
2022-07-23 19:07:49 +00:00
|
|
|
|
2022-07-26 17:34:11 +00:00
|
|
|
code {
|
|
|
|
background-color: var(--color-snippet);
|
|
|
|
border-radius: calc(var(--border-radius) / 2);
|
|
|
|
}
|
|
|
|
|
2022-07-23 00:19:12 +00:00
|
|
|
kbd {
|
|
|
|
background-color: #eee;
|
|
|
|
border-radius: 3px;
|
2022-07-23 19:07:49 +00:00
|
|
|
border: 1px solid var(--color-table-border);
|
2022-07-23 00:19:12 +00:00
|
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
|
|
|
|
color: #333;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: .85em;
|
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1;
|
|
|
|
padding: 2px 4px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2022-07-23 19:07:49 +00:00
|
|
|
|
2022-08-07 18:57:38 +00:00
|
|
|
h1 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2022-07-23 00:19:12 +00:00
|
|
|
h1, h4, h5, h6 {
|
2022-07-23 19:07:49 +00:00
|
|
|
border-bottom: 1px dashed var(--color-table-border);
|
2022-07-23 00:19:12 +00:00
|
|
|
}
|
2022-07-23 19:07:49 +00:00
|
|
|
|
2022-07-23 23:18:17 +00:00
|
|
|
hr {
|
|
|
|
border: 0;
|
|
|
|
border-bottom: 1px dashed var(--color-table-border);
|
|
|
|
}
|
|
|
|
|
2022-07-23 00:19:12 +00:00
|
|
|
h4, h5, h6 {
|
|
|
|
width: fit-content;
|
|
|
|
}
|
2022-07-23 19:07:49 +00:00
|
|
|
|
2022-07-23 00:19:12 +00:00
|
|
|
a {
|
2022-07-23 19:07:49 +00:00
|
|
|
color: var(--color-link);
|
2022-07-23 00:19:12 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2022-07-23 19:07:49 +00:00
|
|
|
|
2022-07-23 00:19:12 +00:00
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2022-07-23 19:07:49 +00:00
|
|
|
|
2022-07-23 00:19:12 +00:00
|
|
|
table {
|
|
|
|
width: 100%;
|
2022-07-23 19:07:49 +00:00
|
|
|
border-collapse: separate;
|
|
|
|
border-spacing: 0px;
|
2022-07-23 00:19:12 +00:00
|
|
|
}
|
2022-07-23 19:07:49 +00:00
|
|
|
|
2022-11-19 23:22:21 +00:00
|
|
|
|
2022-07-23 00:19:12 +00:00
|
|
|
td, th {
|
2022-07-23 19:07:49 +00:00
|
|
|
border: 1px solid var(--color-table-border);
|
2022-07-23 00:19:12 +00:00
|
|
|
text-align: left;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
2022-07-23 19:07:49 +00:00
|
|
|
|
2022-07-23 00:19:12 +00:00
|
|
|
tr:nth-child(even) {
|
2022-07-23 19:07:49 +00:00
|
|
|
background-color: var(--color-table-accent);
|
|
|
|
}
|
|
|
|
|
2022-11-19 23:22:21 +00:00
|
|
|
/* The above styles are nice for real tables, but not for
|
|
|
|
* a man page synopsis. */
|
|
|
|
|
|
|
|
.Nm {
|
|
|
|
width: fit-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Nm td, .Nm th {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2022-08-07 18:57:38 +00:00
|
|
|
/* Thanks Jonah! */
|
|
|
|
#logo {
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
width: 50vw;
|
|
|
|
max-width: 400px;
|
|
|
|
}
|
2022-09-23 13:51:13 +00:00
|
|
|
|