playing with printer layout to get it to print the cv correctly
[curriculum.git] / css / source / style.scss
index f809aa9..dff50a5 100644 (file)
@@ -54,6 +54,12 @@ body {
                                text-align: center;
                                padding-left: 1em;
                                padding-right: 1em;
+                               #print-page {
+                                       i {
+                                               font-size: 6em;
+                                               color: $primary-color-light;
+                                       }
+                               }
                        }
                }
                #header {
@@ -204,7 +210,7 @@ body {
 
 @page {
   size: A4;
-  margin: 11mm 15mm 15mm 17mm;
+  margin: 17mm 15mm 17mm 15mm;
 }
 
 @media print {
@@ -217,9 +223,9 @@ body {
                        }
                        #header {
                                figure {
-                                       width: 7em;
+                                       width: 8em;
                                        img {
-                                               width: 7em;
+                                               width: 8em;
                                                box-shadow: none;
                                        }
                                }
@@ -233,7 +239,12 @@ body {
                                                        }
                                                }
                                                div.knowledge {
-                                                   page-break-after: always !important;
+                                                       p:last-child {
+                                                           page-break-after: always !important;
+                                                       }
+                                               }
+                                               h2.personal-details {
+                                                       page-break-before: always;
                                                }
                                        }
                                }