Print CSS Style

This commit is contained in:
Brandon Rozek 2024-10-29 12:02:03 -04:00
parent 31dfeaaa0b
commit 13ecf4a4a3
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480
6 changed files with 39 additions and 8 deletions

View file

@ -2,8 +2,6 @@
** General
*/
:root {
--bg-color: #f2f0e9;
--bg-color: #f6f4ef;
--bg-color: #faf9f6;
--acent-color: #5c3c2e;
--text-color: #020101;
@ -533,3 +531,36 @@ main .e-content .toot-photos img {
src: url(/webfonts/ibm-plex-mono/700.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@media print {
html, body {
background-color: white;
}
a, a:visited {
color: #000;
text-decoration: none;
}
a::after{
content: " (" attr(href) ") ";
}
blockquote, code {
background: #fff;
margin: 0;
padding: 0 1.5em;
border: none;
}
.dt-published::after {
content: " by Brandon Rozek"
}
header,
nav,
footer,
hr,
.noprint {
display: none !important;
}
}