aboutsummaryrefslogtreecommitdiff
path: root/model_8/resources/10-title_style.tex
blob: 55c1bf36c8de60e1606ba0721fab7ecc3c002f69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\usepackage{titlesec}

\titleformat{\section}[display]% shape
  {\huge}% format
  {
    \makebox[0pt][l]{%
      \raisebox{-70pt}[0pt][10pt]{%
        \textcolor{black!30}{\fontsize{136pt}{0pt}\selectfont\thesection}%
      }
    }
  }
  {0pt}
  {\CaviarDreamsFont\Huge}
\titlespacing*{\section}{0pt}{*0}{1cm}

% Titre de niveau 2
\titleformat{\subsection}[block]
  {\bfseries\Large}
  {\llap{\hspace*{-1.3cm}\huge\textcolor{red!75!black}\thesubsection\hfill}}
  {0em}
  {}