hide index link on print

This commit is contained in:
Rupus Reinefjord 2025-01-05 13:07:14 +01:00
parent 3a1d2250fc
commit c31274ccd1
3 changed files with 21 additions and 3 deletions

View file

@ -76,6 +76,12 @@
max-width: 120ch;
}
}
@media print {
#index {
display: none;
}
}
</style>
<title>Enchiladas med bönchili</title>
@ -85,7 +91,7 @@
<main>
<div id="recipe">
<div id="introduction">
<p><a href="/">Index</a></p>
<p id="index"><a href="/">Index</a></p>
<header>
<h1>Enchiladas med bönchili</h1>

View file

@ -76,6 +76,12 @@
max-width: 120ch;
}
}
@media print {
#index {
display: none;
}
}
</style>
<title>Typ kroppkaka, fast gnocchi</title>
@ -85,7 +91,7 @@
<main>
<div id="recipe">
<div id="introduction">
<p><a href="/">Index</a></p>
<p id="index"><a href="/">Index</a></p>
<h1>Typ kroppkaka, fast gnocchi</h1>
</div>

View file

@ -76,6 +76,12 @@
max-width: 120ch;
}
}
@media print {
#index {
display: none;
}
}
</style>
<title>Pasta med smörfriterad salvia</title>
@ -85,7 +91,7 @@
<main>
<div id="recipe">
<div id="introduction">
<p><a href="/">Index</a></p>
<p id="index"><a href="/">Index</a></p>
<h1>Pasta med smörfriterad salvia</h1>
</div>