summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorj-james2021-10-21 04:53:23 +0000
committerj-james2021-10-21 04:53:23 +0000
commit97390a47c033a97d749934e1a4f984f590da477a (patch)
treecf88bf96873cb16886a5612ee29ecff304f602e9 /css
parent6fba454527f80cdde1eb48cc3572ad300cd37fa2 (diff)
Add special CSS for printing in Firefox
Diffstat (limited to 'css')
-rw-r--r--css/resume.css10
1 files changed, 9 insertions, 1 deletions
diff --git a/css/resume.css b/css/resume.css
index cc1fe53..dc60b6c 100644
--- a/css/resume.css
+++ b/css/resume.css
@@ -69,7 +69,6 @@ ul {
}
@page {
- /* todo: fit the resume all on one page in firefox */
size: auto;
margin: 2mm;
}
@@ -90,4 +89,13 @@ ul {
#pdf {
display: none;
}
+ /* fit resume on one page when printing in firefox */
+ @-moz-document url-prefix() {
+ h1 {
+ margin-bottom: 0.1em;
+ }
+ h2 {
+ margin-top: 0.5em;
+ }
+ }
}