aboutsummaryrefslogtreecommitdiff
path: root/src/bin/paku.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/paku.in')
-rwxr-xr-xsrc/bin/paku.in34
1 files changed, 33 insertions, 1 deletions
diff --git a/src/bin/paku.in b/src/bin/paku.in
index 9305ec9..7c240f7 100755
--- a/src/bin/paku.in
+++ b/src/bin/paku.in
@@ -518,6 +518,37 @@ sub emit_html() {
li {
margin-top: 2em;
}
+
+ pre {
+ overflow: auto;
+ white-space: pre;
+ margin: 5px;
+ padding: 5px;
+ border-radius: 5px;
+ }
+
+ pre, code {
+ background-color: #ddd;
+ }
+
+ \@media(prefers-color-scheme: dark) {
+ :root {
+ color: white;
+ background-color: black;
+ }
+
+ a {
+ color: hsl(211, 100%, 60%);
+ }
+
+ a:visited {
+ color: hsl(242, 100%, 80%);
+ }
+
+ pre, code {
+ background-color: #222;
+ }
+ }
</style>
</head>
<body>
@@ -635,7 +666,8 @@ sub emit_html() {
Include my public key for validating the repository
signatures:
</p>
- <pre><code>\$ wget -qO- $json->{'base-url'}/debian/public-key.asc | sudo tee /etc/apt/trusted.gpg.d/$json->{namespace}.asc</code></pre>
+ <pre><code>\$ wget -qO- $json->{'base-url'}/debian/public-key.asc |
+ sudo tee /etc/apt/trusted.gpg.d/$json->{namespace}.asc</code></pre>
<p>
Afterwards, include this repository to the list of
repositories that <code>apt</code> uses for sources