Bladeren bron

Updates video banner styles on home view

main
Keith Daulton 2 jaren geleden
bovenliggende
commit
046836c97e
1 gewijzigde bestanden met toevoegingen van 8 en 2 verwijderingen
  1. +8
    -2
      src/webviews/apps/home/home.scss

+ 8
- 2
src/webviews/apps/home/home.scss Bestand weergeven

@ -289,17 +289,23 @@ ul {
justify-content: center;
align-items: flex-end;
margin-bottom: 0.8rem;
background: no-repeat var(--video-banner-play) center center, no-repeat var(--video-banner-bg) left center;
background: no-repeat var(--video-banner-play) 1.2rem center, no-repeat var(--video-banner-bg) left center;
background-color: var(--card-background);
background-size: clamp(2.9rem, 8%, 6rem), cover;
background-blend-mode: normal, overlay;
aspect-ratio: var(--video-banner-ratio, 354 / 54);
padding: 0.4rem 1.2rem;
color: inherit;
line-height: 1.2;
font-size: clamp(var(--vscode-font-size), 4vw, 2.4rem);
transition: aspect-ratio linear 100ms, background-color linear 100ms;
transition: aspect-ratio linear 100ms, background-color linear 100ms, background-position linear 200ms;
border-radius: 0.4rem;
@media (min-width: 277px) {
background-blend-mode: normal, normal;
background-position: center center, left center;
}
@media (min-width: 564px) {
aspect-ratio: var(--video-banner-ratio, 354 / 40);
}

Laden…
Annuleren
Opslaan