I'm trying to make a custom command with two parameters that let me input the blue text and the black text, then output something like this with a vertical line in the middle separating the text
I have tried this:
\begin{minipage}[r]{0.3\linewidth} some text \end{minipage} \hfill\vline\hfill \begin{minipage}[r]{0.6\linewidth} some text \end{minipage}
but the spacing between minipage is too wide and the text is not right alined.
How can I achieve this, any help is much appreciated.