style: fix font-variant-numeric
and superscript text
This commit is contained in:
parent
e6889cabba
commit
7dbc83d190
1 changed files with 9 additions and 2 deletions
|
@ -44,7 +44,7 @@ html {
|
|||
color: $dark;
|
||||
background-color: $light;
|
||||
font-family: $default-font;
|
||||
font-variant-numeric: 'oldstyle-nums slashed-zero';
|
||||
font-variant-numeric: oldstyle-nums slashed-zero;
|
||||
writing-mode: horizontal-tb;
|
||||
}
|
||||
|
||||
|
@ -305,7 +305,9 @@ kbd {
|
|||
font-family: Arial, Helvetica, sans-serif;
|
||||
background-color: #f7f7f7;
|
||||
color: #333;
|
||||
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px white inset;
|
||||
box-shadow:
|
||||
0 1px 0 rgba(0, 0, 0, 0.2),
|
||||
0 0 0 2px white inset;
|
||||
border-radius: 3px;
|
||||
display: inline-block;
|
||||
margin-block: 0;
|
||||
|
@ -350,3 +352,8 @@ kbd {
|
|||
dfn {
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
line-height: 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue