]> git.proxmox.com Git - pve-docs.git/blobdiff - asciidoc-dblatex-custom.sty
improve cover page
[pve-docs.git] / asciidoc-dblatex-custom.sty
index caa7bb7bb5d282f7a8885a02d3c26f513306fa13..469d4e7fef918dfa34f427ffb9db515ff29cc1ba 100644 (file)
 \usepackage{alltt}
 
 \definecolor{proxmoxred}{RGB}{229, 112, 0}
+\definecolor{proxmoxgrey1}{RGB}{229, 229, 229}
 
-\newlength\mylength
-\def\redribbon{
-   \setlength\mylength{0.3\paperheight}
+\def\greyribbon{
   \AddToShipoutPicture*{
-     \put(0,\LenToUnit{\mylength}){%
-       {\color{proxmoxred}\rule{\paperwidth}{2cm}}}
-   }
+    \put(0,\LenToUnit{2.5cm}){%
+      {\color{proxmoxgrey1}\rule{\paperwidth}{22cm}}}
+  }
 }
 
 % custom cover page
 \def\DBKcover{
   \thispagestyle{empty}
   \begin{flushright}
-  \includegraphics[width=0.5\textwidth]{logo} \\
-  \vspace*{1in}
-  \bfseries
+    \includegraphics[width=0.5\textwidth]{logo} \\
+  \end{flushright}
+  \vspace*{2.5cm}
   \sffamily
-  {\Huge \DBKtitle \\[1ex]\large ~~~ \\}
-  {\Huge \DBKsubtitle \\[1ex]\large ~~~ \\}    
-  \vspace*{4.1in}
-  {\Large \DBKdate \\}
+  \begin{center}
+    {\Huge \bfseries \scshape \color{proxmoxred}  \DBKtitle \\[1ex]\large ~~~ \\}
+    {\Large \bfseries \scshape \DBKsubtitle \\[1ex]\large ~~~ \\}
+    {\includegraphics[width=132mm]{proxmox-ci-header} \\}
+  \end{center}
   \vfill
-  {\Large \bfseries \sffamily Proxmox Server Solutions Gmbh}
+  \begin{flushright}
+    {\Large \DBKdate \\}
+    {\Large \bfseries \sffamily Proxmox Server Solutions Gmbh \\ \color{proxmoxred} www.proxmox.com}
   \end{flushright}
-  \redribbon
+  \vspace*{1cm}
+  \greyribbon
   \pagebreak[4]
 }