From 7777828e13cb6de0465bde355f7019e8b35af7c7 Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Tue, 23 Jan 2024 18:04:15 +0100 Subject: [PATCH] Update font size and menu --- assets/css/baseof.css | 4 ++++ hugo.toml | 6 ++++- layouts/partials/footer.html | 25 ++++++++------------- layouts/partials/header.html | 30 +++++++++---------------- layouts/partials/mobile-navigation.html | 28 +++++++++-------------- 5 files changed, 39 insertions(+), 54 deletions(-) diff --git a/assets/css/baseof.css b/assets/css/baseof.css index aff5c84..eb23c26 100644 --- a/assets/css/baseof.css +++ b/assets/css/baseof.css @@ -169,6 +169,10 @@ button { } @media only screen and (min-width: 1440px) { + body { + font-size: 18px; + } + main { width: 1368px; } diff --git a/hugo.toml b/hugo.toml index 8c0ab26..99224c4 100644 --- a/hugo.toml +++ b/hugo.toml @@ -41,10 +41,14 @@ enableRobotsTXT = true name = 'Blog' url = '/blog' weight = 4 + [[menu.main]] + name = 'Resume' + url = '/cv.pdf' + weight = 5 [[menu.main]] name = 'Contact' url = '/contact' - weight = 5 + weight = 6 [[deployment.matchers]] # Cache static assets for 1 year. pattern = "^.+\\.(js|css|svg|ttf)$" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 6f117f5..5d2796c 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,4 @@ {{ $faceImage := resources.Get "images/small-face.webp" }} -{{ $cv :=resources.Get "cv.pdf" }}