Skip to content

Commit

Permalink
print styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua T Kalis committed Aug 27, 2024
1 parent c36cf3a commit 3755166
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"name": "kalisjoshua.me",
"description": "Personal website and resume for Joshua Kalis.",
"version": "11.2.1",
"version": "11.2.3",
"homepage": "https://kalisjoshua.me",
"repository": {
"type": "git",
Expand Down
56 changes: 56 additions & 0 deletions styles/print.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
@media print {
@page {
margin: 0 .5in !important;
}

* {
color: black !important;
}

p, li {
font-size: 11pt;
}

a[href]:after {
content: "";
}

h1 {
font-size: 16pt !important;
font-weight: 900 !important;
text-align: center;

small {
display: block;
font-size: 11pt !important;
font-weight: 200;

:before {
content: "517.803.9806 - kalisjoshua@gmail.com - ";
}
}
}

h2 {
border: 0 !important;
font-size: 14pt !important;
}

h3 {
font-size: 12pt !important;
line-height: 0 !important;
}

aside,
header p,
.cicada,
.sr-only {
display: none;
}

.layout {
box-shadow: unset;
display: block !important;
max-width: unset;
}
}

0 comments on commit 3755166

Please sign in to comment.