Update layout

This commit is contained in:
Gregory Trullemans 2024-08-14 13:59:34 +02:00
parent f85a19055d
commit 6e8c7b70b1
1 changed files with 32 additions and 6 deletions

View File

@ -1,7 +1,7 @@
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
% Copyleft Trullemans Gregory %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
% @version 2.1 %
% @version 2.2 %
% @date 2021-04-03 %
% %
% Seconde version du template de la Fédération francophone de Gymnastique et de fitness. %
@ -344,11 +344,37 @@
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
% Define colorbox
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
\newtcolorbox{knowledgebox}{colback=ffg_red!5!white, colframe=ffg_red!100!black, fonttitle=\bfseries, title={Savoir}, breakable} %breakable
\newtcolorbox{skillsbox}{colback=flyingblue!5!white, colframe=flyingblue!100!black, fonttitle=\bfseries, title={Savoir faire}, breakable} %breakable
\newtcolorbox{morebox}{colback=greymoreknowledge!5!white, colframe=greymoreknowledge!100!black, fonttitle=\bfseries, title={Allez plus loin\ldots}, breakable}
\newtcolorbox{dangerbox}[1]{colback=red!5!white, colframe=red!100!black, fonttitle=\bfseries, title={Important}, breakable} %breakable
\tcbuselibrary{breakable}
\newtcolorbox{knowledgebox}{
colback=ffg_red!5!white, colframe=ffg_red!100!black,
fonttitle=\bfseries,
title={Savoir},
breakable
}
\newtcolorbox{skillsbox}{
colback=flyingblue!5!white, colframe=flyingblue!100!black,
fonttitle=\bfseries,
title={Savoir faire},
breakable
}
\newtcolorbox{morebox}{
colback=greymoreknowledge!5!white, colframe=greymoreknowledge!100!black,
fonttitle=\bfseries,
title={Allez plus loin\ldots},
breakable
}
\newtcolorbox{dangerbox}[1]{
colback=red!5!white, colframe=red!100!black,
fonttitle=\bfseries,
title={
\if\relax\detokenize{#1}\relax
Important
\else
Important : #1
\fi
},
breakable
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% References