mirror of
https://github.com/picocss/pico.git
synced 2025-11-14 00:06:54 -05:00
20 lines
421 B
SCSS
20 lines
421 B
SCSS
/** SASS for the <sup> HTML element
|
|
*
|
|
* Add your styles here
|
|
*/
|
|
@use "sass:map";
|
|
@use "../settings" as *;
|
|
|
|
@if map.get($modules, "content/typography") {
|
|
// Prevent `sub` and `sup` elements from affecting the line height in all browsers
|
|
#{$parent-selector} sup {
|
|
position: relative;
|
|
font-size: 0.75em;
|
|
line-height: 0;
|
|
vertical-align: baseline;
|
|
}
|
|
#{$parent-selector} sup {
|
|
top: -0.5em;
|
|
}
|
|
}
|