I am using the tabularx package to customize my tables. I try to define newcolumn type "C" and "Y". As I am using arraybackslash, the bold 'titles' of my table are aligned quite ugly. How can I fix this? See my figure below. The text "Prvek" and "Kov" is not aligned vertically. The text in third column is wrapped to second line. Also see my MNWE.
I also try something like:
\newcolumntype{C}[1]{>{\centering\arraybackslash\vspace{0pt}\setlength{\parskip}{0pt plus 1pt}}m{#1}<{\vspace{0pt}}}
but it doesn't work.
\documentclass[twocolumn,czech]{scrbook}
\usepackage{tabularx}
\usepackage{siunitx}
\usepackage[version=4]{mhchem}
\usepackage[table]{xcolor}
\definecolor{CornflowerBlue}{HTML}{ADD8E6} % CornflowerBlue
\usepackage{lipsum}
\newcolumntype{Y}{>{\centering\arraybackslash}X}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\begin{document}
\section{test}
\lipsum[4]
\begin{table}[h!]
\centering
\rowcolors{2}{lightgray}{white}
\begin{tabularx}{\linewidth}{|C{1.1cm}|C{1.7cm}|Y|}
\hline
\rowcolor{CornflowerBlue}
\textbf{\color{black} Prvek} & \textbf{\color{black} Kov} & \textbf{\color{black} Měrná vodivost
(\unit{\siemens\per\meter})} \\ \hline
\ce{Ag} & Stříbro & \num{63.012e6} \\ \hline
\ce{Cu} & Měď & \num{58.108e6} \\ \hline
\ce{Au} & Zlato & \num{45.167e6} \\ \hline
\ce{Al} & Hliník & \num{34.795e6} \\ \hline
\ce{Be} & Beryllium & \num{27.778e6} \\ \hline
\ce{Fe} & Železo & \num{10.406e6} \\ \hline
\ce{Ni} & Nikl & \num{14.430e6} \\ \hline
\ce{Zn} & Zinek & \num{16.949e6} \\ \hline
\ce{Sn} & Cín & \num{8.696e6} \\ \hline
\end{tabularx}
\end{table}
\end{document}