I originally puzzled over how to accomplish this effect from the game in a web environment, but I think I have a better idea now.
We're talking about the yellow underline that appears under the "page" or view header. Right now, it's just a straight line, but in the game, there is a short, rotated segment at either end. I think maybe this could be accomplished in three parts:
A border-bottom set on the heading element itself,
A ::before pseudo-element that comprises the left "accent" segment, and
A :after: pseudo-element that comprises the right "accent" segment.
Theoretically, this should work for page/view headings of any length, as the border-bottom element will match the width of the heading.
I originally puzzled over how to accomplish this effect from the game in a web environment, but I think I have a better idea now.
We're talking about the yellow underline that appears under the "page" or view header. Right now, it's just a straight line, but in the game, there is a short, rotated segment at either end. I think maybe this could be accomplished in three parts:
border-bottom
set on the heading element itself,::before
pseudo-element that comprises the left "accent" segment, and:after:
pseudo-element that comprises the right "accent" segment.Theoretically, this should work for page/view headings of any length, as the
border-bottom
element will match the width of the heading.