The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
.frac { | .frac, | ||
.sfrac { | |||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
Line 6: | Line 7: | ||
.frac .den { | .frac .den { | ||
font-size: 80%; | font-size: 80%; | ||
line-height: 0; | line-height: 0; | ||
vertical-align: | position: relative; | ||
vertical-align: baseline; | |||
} | |||
.frac .num { | |||
top: -0.5em; | |||
} | } | ||
.frac .den { | .frac .den { | ||
vertical-align: | bottom: -0.25em; | ||
} | |||
.sfrac .tion { | |||
display: inline-block; | |||
vertical-align: -0.5em; | |||
font-size: 85%; | |||
text-align: center; | |||
} | |||
.sfrac .num, | |||
.sfrac .den { | |||
display: block; | |||
line-height: 1em; | |||
margin: 0 0.1em; | |||
} | |||
.sfrac .den { | |||
border-top: 1px solid; | |||
} | } | ||
/* [[Template: | /* [[Template:Sronly]] is canonical implementation */ | ||
.sr-only { | .sr-only { | ||
border: 0; | border: 0; | ||
clip: rect(0, 0, 0, 0); | clip: rect(0, 0, 0, 0); | ||
height: 1px; | height: 1px; | ||
margin: -1px; | margin: -1px; | ||
Line 27: | Line 50: | ||
/* white-space: nowrap; /* already have nowrap above */ | /* white-space: nowrap; /* already have nowrap above */ | ||
} | } | ||