1
0
mirror of https://github.com/kognise/water.css.git synced 2025-02-22 21:03:12 +01:00

Add basic print stylesheet

This commit is contained in:
Felix 2020-05-29 11:47:26 -05:00
parent 9fb32259b9
commit dbd4d1b579
2 changed files with 54 additions and 0 deletions

View File

@ -5,3 +5,4 @@
@import '_links.css';
@import '_code.css';
@import '_misc.css';
@import '_print.css';

53
src/parts/_print.css Normal file
View File

@ -0,0 +1,53 @@
@media print {
body,
pre,
code,
summary,
details,
button,
input,
textarea {
background-color: #fff;
}
button,
input,
textarea {
border: 1px solid #000;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
button,
input,
textarea,
footer,
summary,
strong {
color: #000;
}
summary::marker {
color: #000;
}
summary::-webkit-details-marker {
color: #000;
}
tbody tr:nth-child(even) {
background-color: #f2f2f2;
}
a {
color: #00f;
text-decoration: underline;
}
}