2020-02-21 01:49:22 +08:00
|
|
|
// Author: Sivan [sun.sivan@gmail.com]
|
|
|
|
// Description: define add-ons.
|
|
|
|
@import "../variables";
|
|
|
|
|
|
|
|
@mixin hetiAddOns {
|
|
|
|
// 用于中西文混排增加边距
|
|
|
|
heti-spacing {
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
& + sup,
|
|
|
|
& + sub {
|
|
|
|
margin-inline-start: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.heti-spacing-start {
|
|
|
|
margin-inline-end: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heti-spacing-end {
|
|
|
|
margin-inline-start: 0.25em;
|
|
|
|
}
|
2020-03-15 23:19:37 +08:00
|
|
|
|
|
|
|
heti-adjacent {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heti-adjacent-half {
|
|
|
|
margin-inline-end: -0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heti-adjacent-quarter {
|
|
|
|
margin-inline-end: -0.25em;
|
|
|
|
}
|
2020-02-21 01:49:22 +08:00
|
|
|
}
|