Update sass reset and componets to use modern css and internal mixins to replace typey.
This commit is contained in:
parent
4b4234df6f
commit
3fdb351a8a
1 changed files with 285 additions and 361 deletions
|
|
@ -7,14 +7,13 @@
|
|||
code,
|
||||
kbd,
|
||||
samp {
|
||||
@extend %monospace;
|
||||
font-family: var(--ff-monospace);
|
||||
}
|
||||
|
||||
// Small text
|
||||
// Mark text
|
||||
|
||||
small {
|
||||
// Add the correct font size in all browsers.
|
||||
@include font-size(s);
|
||||
mark {
|
||||
@extend %highlight-mark;
|
||||
}
|
||||
|
||||
// Superscript / Subscript
|
||||
|
|
@ -23,7 +22,7 @@ sub,
|
|||
sup {
|
||||
// Prevent `sub` and `sup` elements from affecting the line height in
|
||||
// all browsers.
|
||||
@include font-size(xs);
|
||||
font-size: var(--fs-xs);
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
|
|
|
|||
Loading…
Reference in a new issue