summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
+ }
+ }
}