From: danix Date: Wed, 29 Aug 2018 09:26:43 +0000 (+0200) Subject: playing with printer layout to get it to print the cv correctly X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=e6e48bf722ead22fdf821ba479206d00e595b48a;p=curriculum.git playing with printer layout to get it to print the cv correctly --- diff --git a/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/_colors.scssc b/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/_colors.scssc new file mode 100644 index 0000000..52da310 Binary files /dev/null and b/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/_colors.scssc differ diff --git a/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/_formatting.scssc b/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/_formatting.scssc new file mode 100644 index 0000000..151dd07 Binary files /dev/null and b/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/_formatting.scssc differ diff --git a/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/_reset.scssc b/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/_reset.scssc new file mode 100644 index 0000000..1f01643 Binary files /dev/null and b/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/_reset.scssc differ diff --git a/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/_tools.scssc b/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/_tools.scssc new file mode 100644 index 0000000..5f58420 Binary files /dev/null and b/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/_tools.scssc differ diff --git a/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/style.scssc b/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/style.scssc new file mode 100644 index 0000000..bf9d3e8 Binary files /dev/null and b/css/.sass-cache/426435704f4e748cacac4b86e69c177a0460f71a/style.scssc differ diff --git a/css/source/style.scss b/css/source/style.scss index f809aa9..dff50a5 100644 --- a/css/source/style.scss +++ b/css/source/style.scss @@ -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; } } } diff --git a/css/style.css b/css/style.css index a64da6d..978001d 100644 --- a/css/style.css +++ b/css/style.css @@ -131,6 +131,9 @@ body { text-align: center; padding-left: 1em; padding-right: 1em; } + body #wrapper #menu #menu-content #print-page i { + font-size: 6em; + color: #F5F5F5; } body #wrapper #header { grid-area: header; display: grid; @@ -234,7 +237,7 @@ body { @page { size: A4; - margin: 11mm 15mm 15mm 17mm; } + margin: 17mm 15mm 17mm 15mm; } @media print { body { background: none; } @@ -242,14 +245,16 @@ body { body #wrapper #menu { display: none; } body #wrapper #header figure { - width: 7em; } + width: 8em; } body #wrapper #header figure img { - width: 7em; + width: 8em; box-shadow: none; } body #wrapper #main #container #content div.working-experience div { page-break-inside: avoid; } - body #wrapper #main #container #content div.knowledge { + body #wrapper #main #container #content div.knowledge p:last-child { page-break-after: always !important; } + body #wrapper #main #container #content h2.personal-details { + page-break-before: always; } body #wrapper #footer { position: fixed; bottom: 0; diff --git a/css/style.css.map b/css/style.css.map index 40ab572..e9980cf 100644 --- a/css/style.css.map +++ b/css/style.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AAAA;;;;EAIE;AAEF;;;;;;;;;;;;wBAYyB;EACxB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,CAAC;EACT,SAAS,EAAE,IAAI;EACf,IAAI,EAAE,OAAO;EACb,cAAc,EAAE,QAAQ;;AAEzB,iDAAiD;AACj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EAClB,iBAAiB;QAClB,8BAAO;UACN,SAAS,EAAE,MAAM;QAElB,iCAAU;UACT,SAAS,EAAE,IAAI;UACf,UAAU,EAAE,IAAI;QAEjB,iCAAU;UACT,SAAS,EAAE,IAAI;UACf,UAAU,EAAE,MAAM;QAEnB,kCAAW;UACV,SAAS,EAAE,KAAK;UAChB,UAAU,EAAE,KAAK;;AAOtB,KAGC;EAFC,IAAI,EAAE,EAAE;EACR,MAAM,EAAE,mBAAmB;AAG7B,YAAa;EACZ,IAAK;IACJ,UAAU,EAAE,IAAI;IAEf;uBACM;MACL,OAAO,EAAE,IAAI;IAGb,4BAAO;MACN,KAAK,EAAE,GAAG;MACV,gCAAI;QACH,KAAK,EAAE,GAAG;QACV,UAAU,EAAE,IAAI;IAQf,kEAAI;MACA,iBAAiB,EAAE,KAAK;IAI5B,kEAAa;MACT,gBAAgB,EAAE,iBAAiB;IAGxC,2DAAoB;MACnB,iBAAiB,EAAE,MAAM;IAK7B,qBAAQ;MACP,QAAQ,EAAE,KAAK;MACf,MAAM,EAAE,CAAC;MACT,KAAK,EAAE,IAAI;;EAcd,UAAW;IACP,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,KAAK", "sources": ["source/_reset.scss","source/_tools.scss","source/_formatting.scss","source/style.scss","source/_colors.scss"], "names": [], "file": "style.css"