From 731ff88af76189d3ba93a677523979d35ea2495f Mon Sep 17 00:00:00 2001
From: Olivier Gayot <og@satcom1.com>
Date: Sun, 21 Jul 2019 18:54:59 +0200
Subject: Hack the theme to have a smaller header

Signed-off-by: Olivier Gayot <og@satcom1.com>
---
 friggeri-cv-a4.cls | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'friggeri-cv-a4.cls')

diff --git a/friggeri-cv-a4.cls b/friggeri-cv-a4.cls
index 727dcfc..4139c9e 100644
--- a/friggeri-cv-a4.cls
+++ b/friggeri-cv-a4.cls
@@ -102,9 +102,9 @@ BoldItalicFont=texgyreheros-bolditalic.otf
 
 \newcommand{\header}[3]{%
   \begin{tikzpicture}[remember picture,overlay]
-    \node [rectangle, fill=fillheader, anchor=north, minimum width=\paperwidth, minimum height=4cm] (box) at (current page.north){};
-    \node [anchor=center] (name) at (box) {%
-      \fontsize{40pt}{72pt}\color{header}%
+    \node [rectangle, fill=fillheader, anchor=north, minimum width=\paperwidth, minimum height=3cm] (box) at (current page.north){};
+    \node [anchor=south] (name) at (box) {%
+      \fontsize{20pt}{32pt}\color{header}%
       {\thinfont #1}{\bodyfont  #2}
     };
     \node [anchor=north] at (name.south) {%
@@ -112,7 +112,7 @@ BoldItalicFont=texgyreheros-bolditalic.otf
       \thinfont #3%
     };
   \end{tikzpicture}
-  \vspace{2.5cm}
+  \vspace{1.5cm}
   \vspace{-2\parskip}
 }
 
@@ -195,7 +195,7 @@ BoldItalicFont=texgyreheros-bolditalic.otf
   \renewcommand{\section}[1]{
     \par\vspace{\baselineskip}{\Large\headingfont\color{headercolor} ##1}
   }
-  \begin{textblock}{3.6}(0.5, 4.33)
+  \begin{textblock}{3.6}(0.5, 3.33)
   \begin{flushright}
   \obeycr
 }{%
-- 
cgit v1.2.3

