| 1 |
@use "../utilities/convert"; |
| 2 |
|
| 3 |
.md-typeset { |
| 4 |
|
| 5 |
// Keyboard key |
| 6 |
.keys { |
| 7 |
|
| 8 |
// Define keyboard keys with left icon |
| 9 |
@each $name, $code in ( |
| 10 |
// Extra Keys |
| 11 |
"power": "\23FB", |
| 12 |
"fingerprint": "\261D", |
| 13 |
) { |
| 14 |
.key-#{$name}::before { |
| 15 |
padding-right: convert.px2em(6.4px); |
| 16 |
content: $code; |
| 17 |
} |
| 18 |
} |
| 19 |
|
| 20 |
// Define keyboard keys with right icon |
| 21 |
@each $name, $code in ( |
| 22 |
// Extra Keys |
| 23 |
) { |
| 24 |
.key-#{$name}::after { |
| 25 |
padding-left: convert.px2em(6.4px); |
| 26 |
content: $code; |
| 27 |
} |
| 28 |
} |
| 29 |
} |
| 30 |
} |