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

This commit removes some styles from `_contributor.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:49:01 +02:00 committed by Alex Rickabaugh
parent 852010e31a
commit cb4b8d9ab4
1 changed files with 3 additions and 20 deletions

View File

@ -1,11 +1,5 @@
aio-contributor-list { aio-contributor-list {
@media handheld and (max-width: 480px), screen and (max-width: 480px), screen and (max-width: 900px) { @media handheld and (max-width: 480px), screen and (max-width: 900px) {
.grid-fluid {
width: auto;
}
}
@media handheld and (max-width: 480px), screen and (max-width: 480px), screen and (max-width: 900px) {
.grid-fluid { .grid-fluid {
margin-left: 20px; margin-left: 20px;
margin-right: 20px; margin-right: 20px;
@ -89,7 +83,7 @@ aio-contributor {
} }
} }
div.contributor-card { .contributor-card {
width: 250px; width: 250px;
height: 270px; height: 270px;
display: flex; display: flex;
@ -137,11 +131,11 @@ aio-contributor {
@include line-height(14); @include line-height(14);
text-align: left; text-align: left;
} }
} }
&.flipped { &.flipped {
transform:rotateY(180deg); transform:rotateY(180deg);
.card-front { .card-front {
display: none; display: none;
} }
@ -162,17 +156,6 @@ aio-contributor {
transition: all .2s ease-in-out; transition: all .2s ease-in-out;
} }
section {
@include font-size(14);
font-weight: 500;
padding: 8px;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-transform: uppercase;
}
p { p {
cursor: pointer; cursor: pointer;
@include font-size(14); @include font-size(14);