From fb0073d34d34e2e91a70307a9ff99b1bffed96b5 Mon Sep 17 00:00:00 2001 From: Ville Lindholm Date: Fri, 4 Oct 2024 09:04:20 +0300 Subject: [PATCH] tweak CV looks --- content/cv/index.html | 19 +++++++++---------- layouts/_default/baseof.html | 12 ++++++++++++ static/style.css | 19 +++++++++++++++++++ 3 files changed, 40 insertions(+), 10 deletions(-) diff --git a/content/cv/index.html b/content/cv/index.html index 5aaffa5..67819d3 100644 --- a/content/cv/index.html +++ b/content/cv/index.html @@ -6,16 +6,15 @@ data-placement="left"> PDF version -
-
-
⟨first_name⟩@⟨last_name⟩.dev
-
https://lindholm.dev
-
@vlindhol
-
villelindholm
+
+
+
@vlindhol
+
villelindholm
+ -
+

@@ -119,12 +118,12 @@

-
+

Skills

-
+

Proficient

Languages/Frameworks: TypeScript, Python, React, HTML and CSS. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a2ffe5f..a6a8260 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -27,6 +27,18 @@ {{ .Site.Title }} + + + diff --git a/static/style.css b/static/style.css index 6e096f4..a7ba780 100644 --- a/static/style.css +++ b/static/style.css @@ -25,6 +25,25 @@ h5 { } } +/* avoid page breaks for this element when printing */ +@media print { + .no-page-break { + break-inside: avoid; + } +} + +/* smaller font when printing, Pico is pretty big */ +@media print { + html { + font-size: 16px; + } + + .container { + max-width: 100%; + } +} + + /* for displaying notes */ .note-box { border: 1px solid #cce5ff;