mirror of
https://github.com/kognise/water.css.git
synced 2025-08-13 08:34:45 +02:00
Add basic print stylesheet
This commit is contained in:
@@ -5,3 +5,4 @@
|
|||||||
@import '_links.css';
|
@import '_links.css';
|
||||||
@import '_code.css';
|
@import '_code.css';
|
||||||
@import '_misc.css';
|
@import '_misc.css';
|
||||||
|
@import '_print.css';
|
||||||
|
53
src/parts/_print.css
Normal file
53
src/parts/_print.css
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user