From 5a78bda04789925054fd9054d89b26b6ecbeaa54 Mon Sep 17 00:00:00 2001 From: Henrik Jess Nielsen Date: Sun, 19 Apr 2026 17:35:07 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20tilf=C3=B8j=20PDF=20download=20knap=20t?= =?UTF-8?q?il=20CV?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/index.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/templates/index.html b/templates/index.html index 8645da1..0f6fbfd 100644 --- a/templates/index.html +++ b/templates/index.html @@ -359,11 +359,32 @@ transition: width 1s ease; } + /* PDF-knap */ + .pdf-btn { + position: fixed; + bottom: 32px; + right: 32px; + background: var(--accent); + color: white; + border: none; + border-radius: 50px; + padding: 14px 28px; + font-size: 1rem; + font-family: 'Inter', sans-serif; + font-weight: 600; + cursor: pointer; + box-shadow: 0 4px 20px rgba(74, 143, 232, 0.5); + transition: background 0.2s, transform 0.1s; + z-index: 999; + } + .pdf-btn:hover { background: #2f72d0; transform: scale(1.04); } + /* Print */ @media print { body { background: white; padding: 0; } .cv-wrapper { box-shadow: none; border-radius: 0; max-width: 100%; } .sidebar { -webkit-print-color-adjust: exact; print-color-adjust: exact; } + .pdf-btn { display: none; } } /* Mobile */ @@ -568,5 +589,8 @@ + + +