Improve print format
This commit is contained in:
parent
9dbdcf2493
commit
732ccb548d
2 changed files with 9 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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) ")";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue