diff options
author | j-james | 2021-10-21 04:53:23 +0000 |
---|---|---|
committer | j-james | 2021-10-21 04:53:23 +0000 |
commit | 97390a47c033a97d749934e1a4f984f590da477a (patch) | |
tree | cf88bf96873cb16886a5612ee29ecff304f602e9 | |
parent | 6fba454527f80cdde1eb48cc3572ad300cd37fa2 (diff) |
Add special CSS for printing in Firefox
-rw-r--r-- | css/resume.css | 10 |
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; + } + } } |