Make the page better compatible with printing

This commit is contained in:
BBaoVanC 2021-10-20 14:00:40 -05:00
parent b599ddeadd
commit 9de85093d3
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
1 changed files with 22 additions and 0 deletions

View File

@ -214,3 +214,25 @@ h1 svg.icon {
color: white;
text-decoration: none;
}
/* Print compatibility */
@media print {
.top, footer, .section-header-link {
display: none;
}
.icon {
color: black;
}
:not(pre) > code {
background-color: lightgray;
}
body {
background-color: white;
color: black;
}
}