mirror of https://github.com/eyhc1/rendercv.git
themes: fix horizontal spacing between connections in the header
This commit is contained in:
parent
9e8cc5e4c2
commit
0240efe427
|
@ -10,14 +10,12 @@
|
||||||
|
|
||||||
\normalsize
|
\normalsize
|
||||||
((* for connection in cv.connections *))
|
((* for connection in cv.connections *))
|
||||||
\mbox{
|
\mbox{((*- if connection["url"] -*))
|
||||||
((* if connection["url"] *))
|
\hrefWithoutArrow{<<connection["url"]>>}{<<connection["clean_url"]>>}
|
||||||
\hrefWithoutArrow{<<connection["url"]>>}{{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>}
|
((*- else -*))
|
||||||
((* else *))
|
<<connection["placeholder"]>>
|
||||||
{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>
|
((*- endif -*))}%
|
||||||
((* endif *))
|
\kern <<design.margins.header.horizontal_between_connections>>%
|
||||||
}
|
|
||||||
\kern <<design.margins.header.horizontal_between_connections>>
|
|
||||||
((* endfor *))
|
((* endfor *))
|
||||||
\end{header}
|
\end{header}
|
||||||
|
|
||||||
|
|
|
@ -16,18 +16,16 @@
|
||||||
|
|
||||||
\normalsize
|
\normalsize
|
||||||
((* for connection in cv.connections *))
|
((* for connection in cv.connections *))
|
||||||
\mbox{
|
\mbox{((*- if connection["url"] -*))
|
||||||
((* if connection["url"] *))
|
|
||||||
\hrefWithoutArrow{<<connection["url"]>>}{<<connection["clean_url"]>>}
|
\hrefWithoutArrow{<<connection["url"]>>}{<<connection["clean_url"]>>}
|
||||||
((* else *))
|
((*- else -*))
|
||||||
<<connection["placeholder"]>>
|
<<connection["placeholder"]>>
|
||||||
((* endif *))
|
((*- endif -*))}%
|
||||||
}
|
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>%
|
||||||
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>
|
|
||||||
((* if not loop.last *))
|
((* if not loop.last *))
|
||||||
\AND
|
\AND%
|
||||||
((* endif *))
|
((* endif *))
|
||||||
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>
|
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>%
|
||||||
((* endfor *))
|
((* endfor *))
|
||||||
\end{header}
|
\end{header}
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,12 @@
|
||||||
|
|
||||||
\normalsize
|
\normalsize
|
||||||
((* for connection in cv.connections *))
|
((* for connection in cv.connections *))
|
||||||
\mbox{
|
\mbox{((*- if connection["url"] -*))
|
||||||
((* if connection["url"] *))
|
\hrefWithoutArrow{<<connection["url"]>>}{<<connection["clean_url"]>>}
|
||||||
\hrefWithoutArrow{<<connection["url"]>>}{\color{black}{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>}
|
((*- else -*))
|
||||||
((* else *))
|
<<connection["placeholder"]>>
|
||||||
{\color{black}{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>}
|
((*- endif -*))}%
|
||||||
((* endif *))
|
\kern <<design.margins.header.horizontal_between_connections>>%
|
||||||
}
|
|
||||||
\kern <<design.margins.header.horizontal_between_connections>>
|
|
||||||
((* endfor *))
|
((* endfor *))
|
||||||
\end{header}
|
\end{header}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue