themes: fix horizontal spacing between connections in the header

This commit is contained in:
Sina Atalay 2024-04-29 00:17:37 +03:00
parent 9e8cc5e4c2
commit 0240efe427
3 changed files with 18 additions and 24 deletions

View File

@ -10,14 +10,12 @@
\normalsize
((* for connection in cv.connections *))
\mbox{
((* if connection["url"] *))
\hrefWithoutArrow{<<connection["url"]>>}{{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>}
((* else *))
{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>
((* endif *))
}
\kern <<design.margins.header.horizontal_between_connections>>
\mbox{((*- if connection["url"] -*))
\hrefWithoutArrow{<<connection["url"]>>}{<<connection["clean_url"]>>}
((*- else -*))
<<connection["placeholder"]>>
((*- endif -*))}%
\kern <<design.margins.header.horizontal_between_connections>>%
((* endfor *))
\end{header}

View File

@ -16,18 +16,16 @@
\normalsize
((* for connection in cv.connections *))
\mbox{
((* if connection["url"] *))
\mbox{((*- if connection["url"] -*))
\hrefWithoutArrow{<<connection["url"]>>}{<<connection["clean_url"]>>}
((* else *))
((*- else -*))
<<connection["placeholder"]>>
((* endif *))
}
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>
((*- endif -*))}%
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>%
((* if not loop.last *))
\AND
\AND%
((* endif *))
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>%
((* endfor *))
\end{header}

View File

@ -9,14 +9,12 @@
\normalsize
((* for connection in cv.connections *))
\mbox{
((* if connection["url"] *))
\hrefWithoutArrow{<<connection["url"]>>}{\color{black}{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>}
((* else *))
{\color{black}{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>}
((* endif *))
}
\kern <<design.margins.header.horizontal_between_connections>>
\mbox{((*- if connection["url"] -*))
\hrefWithoutArrow{<<connection["url"]>>}{<<connection["clean_url"]>>}
((*- else -*))
<<connection["placeholder"]>>
((*- endif -*))}%
\kern <<design.margins.header.horizontal_between_connections>>%
((* endfor *))
\end{header}