X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=asciidoc-dblatex-custom.sty;h=3afbff3415558099868024f2a99e99ec3247682d;hp=caa7bb7bb5d282f7a8885a02d3c26f513306fa13;hb=67ea62c95a6b831084aa2850df803c5abc281cc7;hpb=72470ed634b2d3358cfad29b1faada5affa6bb28 diff --git a/asciidoc-dblatex-custom.sty b/asciidoc-dblatex-custom.sty index caa7bb7..3afbff3 100644 --- a/asciidoc-dblatex-custom.sty +++ b/asciidoc-dblatex-custom.sty @@ -28,31 +28,35 @@ \usepackage{alltt} \definecolor{proxmoxred}{RGB}{229, 112, 0} +\definecolor{proxmoxgrey1}{RGB}{229, 229, 229} -\newlength\mylength -\def\redribbon{ - \setlength\mylength{0.3\paperheight} +\def\drawtitlepage{ \AddToShipoutPicture*{ - \put(0,\LenToUnit{\mylength}){% - {\color{proxmoxred}\rule{\paperwidth}{2cm}}} - } + \put(0,\LenToUnit{2.5cm}){ + {\color{proxmoxgrey1}\rule{\paperwidth}{22cm}}} + \put(\LenToUnit{\dimexpr(\paperwidth-11cm)}, + \LenToUnit{\dimexpr(\paperheight-3.5cm)}){ + \includegraphics[width=10cm]{proxmox-logo}} + } } % custom cover page \def\DBKcover{ \thispagestyle{empty} - \begin{flushright} - \includegraphics[width=0.5\textwidth]{logo} \\ - \vspace*{1in} - \bfseries + \vspace*{4cm} \sffamily - {\Huge \DBKtitle \\[1ex]\large ~~~ \\} - {\Huge \DBKsubtitle \\[1ex]\large ~~~ \\} - \vspace*{4.1in} - {\Large \DBKdate \\} + \begin{center} + {\Huge \bfseries \scshape \color{proxmoxred} \DBKtitle \\[0.5cm]} + {\Large \bfseries \scshape \DBKsubtitle \\[1cm]} + {\includegraphics[width=132mm]{proxmox-ci-header} \\} + \end{center} \vfill - {\Large \bfseries \sffamily Proxmox Server Solutions Gmbh} + \begin{flushright} + {\Large \DBKdate \\ \medskip} + {\Large \bfseries \sffamily Proxmox Server Solutions Gmbh \\ \medskip } + {\Large \bfseries \sffamily \color{proxmoxred} www.proxmox.com} \end{flushright} - \redribbon + \vspace*{1cm} + \drawtitlepage \pagebreak[4] }