mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-26 02:22:09 +00:00
8158cb3cd9
Add a search bar to the site footer to search seirdy.one.
31 lines
747 B
CSS
31 lines
747 B
CSS
/* Print stylesheet: hide stuff that we don't need. */
|
|
@media print {
|
|
/* The triangle bullet on summary elements gives no actionable
|
|
* information on print. */
|
|
summary {
|
|
list-style: none;
|
|
}
|
|
|
|
/* Hide screen-only content */
|
|
|
|
aside:not([role="note"]),
|
|
/* An un-opened summary inside an article has no use in print.
|
|
* Outside an article it's used in my webring list where it has some
|
|
* use, see below. */
|
|
article summary,
|
|
/* Currently only used for in-page heading anchors,
|
|
* useless in printouts. */
|
|
h2 + a,
|
|
/* You can't navigate in a printout. */
|
|
footer,
|
|
nav a:not([rel="home"]) span {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* Print: don't break up self-contained items. */
|
|
figure,
|
|
section[itemprop="mentions"],
|
|
li {
|
|
break-inside: avoid;
|
|
}
|