Skip to content

Commit

Permalink
💄 fixed print styling
Browse files Browse the repository at this point in the history
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
  • Loading branch information
SindreKjelsrud committed Jul 16, 2024
1 parent 0bafcaf commit 44457ed
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,35 @@ blockquote {
padding: 0 0 0 10px;
border-left: 5px solid var(--light-1);
}

/* PRINT */
@media print {
body {
background: #fff;
color: #000;
font-family: Georgia, serif;
}
h1, h2, h3 {
line-height: 1.3;
font-family: Helvetica, sans-serif;
}
a, main a, .post main a:visited {
color: #000;
text-decoration: none;
}
blockquote, code {
background: #fff;
margin: 0;
padding: 0 1.5em;
border-left: 5px solid #000;
}
nav, footer, header {
display: none !important;
}
.blogtime {
color: #000;
}
#jr {
display: none;
}
}

0 comments on commit 44457ed

Please sign in to comment.