Make the page better compatible with printing
This commit is contained in:
parent
b599ddeadd
commit
9de85093d3
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue