refactor(docs-infra): remove unused styles from `_layout-global.scss` (#40704)

This commit removes some styles from `_layout-global.scss` that are no
longer used (i.e. either their CSS selectors do not match any element in
the app or they are overridden by other rules).

PR Close #40704
This commit is contained in:
George Kalpakas 2021-02-05 12:48:54 +02:00 committed by Alex Rickabaugh
parent 7777bc5018
commit d30b235522
1 changed files with 9 additions and 29 deletions

View File

@ -1,34 +1,18 @@
html, body { html, body {
height: 100%; height: 100%;
} }
body, body,
.content { .content {
background-color: $white; background-color: $white;
} }
.github-links + .content h1 { .github-links + .content h1 {
max-width: 90%; max-width: 90%;
} }
.clearfix {
content: "";
display: table;
clear: both;
}
.clear { .clear {
clear: both; clear: both;
}
.l-clearfix:after, .clearfix:after {
content: "";
display: table;
clear: both;
}
.is-visible {
display: block!important;
} }
.l-flex-wrap { .l-flex-wrap {
@ -37,20 +21,16 @@ body,
} }
.flex-center { .flex-center {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
.center { .center {
text-align: center; text-align: center;
} }
.visually-hidden { .visually-hidden {
position: absolute !important; position: absolute !important;
top: -9999px !important; top: -9999px !important;
left: -9999px !important; left: -9999px !important;
}
.text-uppercase {
text-transform: uppercase;
} }