aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/resume.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/resume.css')
-rw-r--r--src/styles/resume.css31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/styles/resume.css b/src/styles/resume.css
new file mode 100644
index 0000000..c54af72
--- /dev/null
+++ b/src/styles/resume.css
@@ -0,0 +1,31 @@
+/* mainly for pdf */
+
+@media print {
+ html {
+ max-width: 85%;
+ }
+
+ h1,
+ h2,
+ h3,
+ h4 {
+ page-break-after:avoid;
+ break-after: avoid;
+ }
+
+}
+
+@page {
+ size: A3 portrait;
+
+}
+
+body > ul > li,
+ul > ul,
+ul > ul > li {
+ break-inside: avoid;
+}
+
+ul:nth-child(1) {
+ margin-bottom: 1em;
+}
remember that computers suck.