feat: better style when printing the article

This commit is contained in:
grassblock 2025-05-23 22:35:14 +08:00
parent 85fceee138
commit ea3d8accc3
2 changed files with 9 additions and 1 deletions

View file

@ -290,4 +290,12 @@ div.content {
.content-box {
padding: 1rem;
}
}
/* Printing */
@media print {
/* Hide elements not needed for print */
nav.nav,.search-container,footer,div.extra-post {
display: none;
}
}