Template:Sagittal: Difference between revisions
Dave Keenan (talk | contribs) Also needed to constrain the hair-space to the same line-height as the Bravura character, to stop table row heights blowing up. |
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. |
||
| 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| | <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;"></span></span> | | ||
<span class="bravura" style="font-size: {{{size|250%}}}; line-height: {{{height|16px}}}; vertical-align: -0.3em; {{#switch: | <span class="bravura" style="font-size: {{{size|250%}}}; line-height: {{{height|16px}}}; vertical-align: -0.3em; margin-right: .025em; {{#switch: | ||
{{#replace: | {{#replace: | ||
{{#replace: | {{#replace: | ||
| Line 316: | Line 316: | ||
¦⌫ | }} | | ¦⌫ | }} | | ||
¦ | {{pipe}} }} | ¦ | {{pipe}} }} | ||
}}</span>}} | }}</span>}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
[[Category:Font templates]] | [[Category:Font templates]] | ||
</noinclude> | </noinclude> | ||