In the KOMA class scrbook with the help of scrlayer-scrpage, I want to realize the following header:
i.e. a thick light-blue horizontal band along most of the page, the current chapter title in capitals on top of it, and in front of the chapter title a dark-blue vertical line. This vertical line should always be right in front of the of the chapter title, i.e. flexible for longer or shorter titles.
My problem is: How can I add a vertical line to \rohead* that is printed on top of the horizontal band? Right now, the lower parts are hidden because the horizontal band is printed on top. See my MWE:
\documentclass{scrbook}
\usepackage{xcolor}
\usepackage{lipsum}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\KOMAoptions{headsepline=12pt, headwidth=textwithmarginpar}
\rohead*{\raisebox{-12pt}[0pt][0pt]{\color{blue}\rule{1pt}{24pt}}\hspace{0.8em}\rightmark}
\setkomafont{pagehead}{\scshape}
\setkomafont{headsepline}{\color{blue!20!white}}
\begin{document}
\markright{Some Headline}
\lipsum[1]
\end{document}



