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 \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}

View File

@ -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}

View File

@ -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}