Improve print format

This commit is contained in:
Jade Ellis 2024-07-16 22:35:27 +01:00
parent 9dbdcf2493
commit 732ccb548d
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
2 changed files with 9 additions and 2 deletions

View file

@ -1,5 +1,6 @@
<script lang="ts">
import url from "./logo.svg?url";
import { SITE_URL } from "$lib/metadata";
// https://www.aleksandrhovhannisyan.com/
// https://github.com/AleksandrHovhannisyan/aleksandrhovhannisyan.com/tree/master
</script>
@ -12,7 +13,7 @@
>
<ul class="navbar-links">
<li>
<a class="navbar-link-home" href="/">
<a class="navbar-link-home" href={SITE_URL}>
<img
src={url}
class="navbar-logo"

View file

@ -46,6 +46,12 @@
}
}
@media print {
:root {
--background-color: white;
}
}
h2,
h3,
h4,
@ -62,7 +68,7 @@ canvas {
}
@media print {
a::after {
a:not(:where(.footnote-ref, .footnote-backref)):after {
content: " (" attr(href) ")";
}
}