refactor(docs-infra): remove unnecessary font-family
styles (#40881)
This commit removes some unnecessary styles setting `font-family` to `$main-font`. These styles are redundant, because the targeted elements already inherit this style from `<body>`. PR Close #40881
This commit is contained in:
parent
90a61618c7
commit
7bcef26852
@ -63,6 +63,7 @@ aio-nav-menu {
|
|||||||
color: $darkgray;
|
color: $darkgray;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
font-family: $main-font;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
@ -131,7 +132,6 @@ aio-nav-menu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.level-1 {
|
.level-1 {
|
||||||
font-family: $main-font;
|
|
||||||
@include font-size(16);
|
@include font-size(16);
|
||||||
@include line-height(28);
|
@include line-height(28);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -141,7 +141,6 @@ aio-nav-menu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.level-2 {
|
.level-2 {
|
||||||
font-family: $main-font;
|
|
||||||
@include font-size(14);
|
@include font-size(14);
|
||||||
@include line-height(24);
|
@include line-height(24);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -150,7 +149,6 @@ aio-nav-menu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.level-3 {
|
.level-3 {
|
||||||
font-family: $main-font;
|
|
||||||
@include font-size(14);
|
@include font-size(14);
|
||||||
@include line-height(24);
|
@include line-height(24);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -158,7 +156,6 @@ aio-nav-menu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.level-4 {
|
.level-4 {
|
||||||
font-family: $main-font;
|
|
||||||
@include font-size(14);
|
@include font-size(14);
|
||||||
@include line-height(24);
|
@include line-height(24);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -108,7 +108,6 @@ aio-code {
|
|||||||
|
|
||||||
ol.linenums {
|
ol.linenums {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: $main-font;
|
|
||||||
color: lighten($mediumgray, 25%);
|
color: lighten($mediumgray, 25%);
|
||||||
|
|
||||||
li {
|
li {
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
|
|
||||||
.file {
|
.file {
|
||||||
display: block;
|
display: block;
|
||||||
font-family: $main-font;
|
|
||||||
@include letter-spacing(0.3);
|
@include letter-spacing(0.3);
|
||||||
@include line-height(32);
|
@include line-height(32);
|
||||||
color: $darkgray;
|
color: $darkgray;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user