Template:Sagittal: Difference between revisions

Dave Keenan (talk | contribs)
Using "margin-right: .025em" instead of using a hair-space whose width was uncontrolled as it was outside of BravuraText which has none. Changed the default line-height to unitless 1.0 instead of 16px so it scales with font size.
Dave Keenan (talk | contribs)
Changed margin-right from .025em to .05em and default line-height from 1.0 to .8333, to better match previous behaviour.
Line 6: Line 6:
     {{pipe}} | ¦ }} |
     {{pipe}} | ¦ }} |
   (¦\ |
   (¦\ |
   <span style="display: inline-block; transform: translateY(9px) scaleY(-1);"><span class="bravura" style="font-size: {{{size|250%}}}; line-height: {{{height|1.0}}}; vertical-align: -0.255em; display: inline-block; transform: translateY(0.22em); margin-right: .025em;">&#xE30F;</span></span> |
   <span style="display: inline-block; transform: translateY(9px) scaleY(-1);"><span class="bravura" style="font-size: {{{size|250%}}}; line-height: {{{height|.8333}}}; vertical-align: -0.255em; display: inline-block; transform: translateY(0.22em); margin-right: .05em;">&#xE30F;</span></span> |
   <span class="bravura" style="font-size: {{{size|250%}}}; line-height: {{{height|16px}}}; vertical-align: -0.3em; margin-right: .025em; {{#switch:
   <span class="bravura" style="font-size: {{{size|250%}}}; line-height: {{{height|16px}}}; vertical-align: -0.3em; margin-right: .05em; {{#switch:
   {{#replace:
   {{#replace:
     {{#replace:
     {{#replace: