refactor(docs-infra): merge style rules in _footer.scss (#40704)

This commit cleans up the styles in `_footer.scss` by merging together
blocks that target the same elements.

PR Close #40704
This commit is contained in:
George Kalpakas 2021-02-05 12:48:53 +02:00 committed by Alex Rickabaugh
parent f059824b17
commit 568ecf352b

View File

@ -49,6 +49,10 @@ footer {
font-weight: 400; font-weight: 400;
margin: 8px 0 12px; margin: 8px 0 12px;
color: $white; color: $white;
@media (max-width: 600px) {
@include font-size(14);
}
} }
p { p {
@ -89,25 +93,19 @@ footer {
} }
} }
@media (max-width: 600px) { &::after {
h3 { content: "";
@include font-size(14); position: absolute;
} z-index: -1;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: url("/assets/images/logos/angular/angular_whiteTransparent_withMargin.png")
top 0 left 0 repeat,
url("/assets/images/logos/angular/angular_whiteTransparent_withMargin.png")
top 80px left 160px repeat;
opacity: 0.05;
background-size: 320px auto;
} }
} }
footer::after {
content: "";
position: absolute;
z-index: -1;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: url("/assets/images/logos/angular/angular_whiteTransparent_withMargin.png")
top 0 left 0 repeat,
url("/assets/images/logos/angular/angular_whiteTransparent_withMargin.png")
top 80px left 160px repeat;
opacity: 0.05;
background-size: 320px auto;
}