Compare commits
3 commits
360b2e4475
...
e9b4fc55d6
Author | SHA1 | Date | |
---|---|---|---|
e9b4fc55d6 | |||
bb2efa4b27 | |||
e9e3b597c5 |
4 changed files with 32 additions and 0 deletions
BIN
John-Shaver-Resume-2018.pdf
Normal file
BIN
John-Shaver-Resume-2018.pdf
Normal file
Binary file not shown.
|
@ -190,6 +190,10 @@
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
<aside id="sidebar">
|
<aside id="sidebar">
|
||||||
|
<div class="control-buttons no-print">
|
||||||
|
<a class="print-button" target="_blank" href="John-Shaver-Resume-2018.pdf"><i class="fas fa-print"></i></a>
|
||||||
|
<a class="download-button no-print" href="John-Shaver-Resume-2018.pdf" download><i class="fas fa-file-download"></i></a>
|
||||||
|
</div>
|
||||||
<div class="side-block" id="contact">
|
<div class="side-block" id="contact">
|
||||||
<h1>
|
<h1>
|
||||||
Contact Info
|
Contact Info
|
||||||
|
|
8
render-pdf.sh
Executable file
8
render-pdf.sh
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
npx http-server &
|
||||||
|
sleep 6;
|
||||||
|
chromium --headless --disable-gpu --run-all-compositor-stages-before-draw --print-to-pdf="./John-Shaver-Resume-2018.pdf" http://localhost:8080/ --virtual-time-budget=10000;
|
||||||
|
kill %1;
|
||||||
|
exit;
|
||||||
|
|
20
style.css
20
style.css
|
@ -443,6 +443,7 @@ svg.ts-logo {
|
||||||
.no-print {
|
.no-print {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -460,3 +461,22 @@ svg.ts-logo {
|
||||||
.source-link a {
|
.source-link a {
|
||||||
color: #DDD;
|
color: #DDD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.control-buttons {
|
||||||
|
position: absolute;
|
||||||
|
padding: 0.15em 0.2em;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
margin: 0.8em;
|
||||||
|
font-size: 2.1rem;
|
||||||
|
border: dashed #28582fed 0.1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-buttons a {
|
||||||
|
margin: 0.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-buttons a {
|
||||||
|
color: #28582fed;
|
||||||
|
margin: 0.2em;
|
||||||
|
}
|
Loading…
Reference in a new issue