From cb4b8d9ab4c6688d29ad12e6baea4c6a57a8a158 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Fri, 5 Feb 2021 12:49:01 +0200 Subject: [PATCH] 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 --- aio/src/styles/2-modules/_contributor.scss | 23 +++------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/aio/src/styles/2-modules/_contributor.scss b/aio/src/styles/2-modules/_contributor.scss index 5513512809..eafa9f7079 100644 --- a/aio/src/styles/2-modules/_contributor.scss +++ b/aio/src/styles/2-modules/_contributor.scss @@ -1,11 +1,5 @@ aio-contributor-list { - @media handheld and (max-width: 480px), screen 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) { + @media handheld and (max-width: 480px), screen and (max-width: 900px) { .grid-fluid { margin-left: 20px; margin-right: 20px; @@ -89,7 +83,7 @@ aio-contributor { } } - div.contributor-card { + .contributor-card { width: 250px; height: 270px; display: flex; @@ -137,11 +131,11 @@ aio-contributor { @include line-height(14); text-align: left; } - } &.flipped { transform:rotateY(180deg); + .card-front { display: none; } @@ -162,17 +156,6 @@ aio-contributor { 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 { cursor: pointer; @include font-size(14);