Files
Ultrachromic/smallercast.css

135 lines
4.0 KiB
CSS
Raw Permalink Normal View History

2025-10-25 17:40:16 -04:00
/*Shrink and square (or round) cast thumbnails*/
2021-05-26 23:04:58 +03:00
@media all and (min-width: 131.25em){
2025-10-25 17:40:16 -04:00
#castContent .card.overflowPortraitCard,
#guestCastContent .card.overflowPortraitCard {
2021-05-26 23:04:58 +03:00
width: 6.3vw !important;
font-size: 90% !important;
}
}
@media all and (min-width: 120em) and (max-width: 131.25em){
2025-10-25 17:40:16 -04:00
#castContent .card.overflowPortraitCard,
#guestCastContent .card.overflowPortraitCard {
2021-05-26 23:04:58 +03:00
width: 6.4vw !important;
font-size: 90% !important;
}
}
@media all and (min-width: 100em) and (max-width: 120em){
2025-10-25 17:40:16 -04:00
#castContent .card.overflowPortraitCard,
#guestCastContent .card.overflowPortraitCard {
2021-05-26 23:04:58 +03:00
width: 7.6vw !important;
font-size: 90% !important;
}
}
@media all and (min-width: 87.5em) and (max-width: 100em){
2025-10-25 17:40:16 -04:00
#castContent .card.overflowPortraitCard,
#guestCastContent .card.overflowPortraitCard {
2021-05-26 23:04:58 +03:00
width: 9.3vw !important;
font-size: 90% !important;
}
}
@media all and (min-width: 75em) and (max-width: 87.5em){
2025-10-25 17:40:16 -04:00
#castContent .card.overflowPortraitCard,
#guestCastContent .card.overflowPortraitCard {
2021-05-26 23:04:58 +03:00
width: 10.5vw !important;
font-size: 90% !important;
}
}
@media all and (min-width: 50em) and (max-width: 75em){
2025-10-25 17:40:16 -04:00
#castContent .card.overflowPortraitCard,
#guestCastContent .card.overflowPortraitCard {
2021-05-26 23:04:58 +03:00
width: 15vw !important;
font-size: 90% !important;
}
}
@media all and (min-width: 43.75em) and (max-width: 50em){
2025-10-25 17:40:16 -04:00
#castContent .card.overflowPortraitCard,
#guestCastContent .card.overflowPortraitCard {
2021-05-26 23:04:58 +03:00
width: 20.1vw !important;
font-size: 90% !important;
}
}
@media all and (min-width: 25em) and (max-width: 43.75em){
2025-10-25 17:40:16 -04:00
#castContent .card.overflowPortraitCard,
#guestCastContent .card.overflowPortraitCard {
2021-05-26 23:04:58 +03:00
width: 31.2vw !important;
font-size: 90% !important;
}
}
@media all and (max-width: 25em){
2025-10-25 17:40:16 -04:00
#castContent .card.overflowPortraitCard,
#guestCastContent .card.overflowPortraitCard {
2021-05-26 23:04:58 +03:00
width: 40vw !important;
font-size: 90% !important;
}
}
.cardPadder {
background-color: #0000 !important; box-shadow: none !important;
}
/*Correct image aspect ratio behaviour, set border-radius to zero for square tiles*/
@media all and (min-width: 131.25em){
2025-10-25 17:40:16 -04:00
#castContent .cardScalable,
#guestCastContent .cardScalable {
2021-05-26 23:04:58 +03:00
width: calc(6.3vw - 0.6em) !important;
height: calc(6.3vw - 0.6em) !important;
}
}
@media all and (min-width: 120em) and (max-width: 131.25em){
2025-10-25 17:40:16 -04:00
#castContent .cardScalable,
#guestCastContent .cardScalable {
2021-05-26 23:04:58 +03:00
width: calc(6.4vw - 0.6em) !important;
height: calc(6.4vw - 0.6em) !important;
}
}
@media all and (min-width: 100em) and (max-width: 120em){
2025-10-25 17:40:16 -04:00
#castContent .cardScalable,
#guestCastContent .cardScalable {
2021-05-26 23:04:58 +03:00
width: calc(7.6vw - 0.6em) !important;
height: calc(7.6vw - 0.6em) !important;
}
}
@media all and (min-width: 87.5em) and (max-width: 100em){
2025-10-25 17:40:16 -04:00
#castContent .cardScalable,
#guestCastContent .cardScalable {
2021-05-26 23:04:58 +03:00
width: calc(9.3vw - 0.6em) !important;
height: calc(9.3vw - 0.6em) !important;
}
}
@media all and (min-width: 75em) and (max-width: 87.5em){
2025-10-25 17:40:16 -04:00
#castContent .cardScalable,
#guestCastContent .cardScalable {
2021-05-26 23:04:58 +03:00
width: calc(10.5vw - 0.6em) !important;
height: calc(10.5vw - 0.6em) !important;
}
}
@media all and (min-width: 50em) and (max-width: 75em){
2025-10-25 17:40:16 -04:00
#castContent .cardScalable,
#guestCastContent .cardScalable {
2021-05-26 23:04:58 +03:00
width: calc(15vw - 0.6em) !important;
height: calc(15vw - 0.6em) !important;
}
}
@media all and (min-width: 43.75em) and (max-width: 50em){
2025-10-25 17:40:16 -04:00
#castContent .cardScalable,
#guestCastContent .cardScalable {
2021-05-26 23:04:58 +03:00
width: calc(20.1vw - 0.6em) !important;
height: calc(20.1vw - 0.6em) !important;
}
}
@media all and (min-width: 25em) and (max-width: 43.75em){
2025-10-25 17:40:16 -04:00
#castContent .cardScalable,
#guestCastContent .cardScalable {
2021-05-26 23:04:58 +03:00
width: calc(31.2vw - 0.6em) !important;
height: calc(31.2vw - 0.6em) !important;
}
}
@media all and (max-width: 25em){
2025-10-25 17:40:16 -04:00
#castContent .cardScalable,
#guestCastContent .cardScalable {
2021-05-26 23:04:58 +03:00
width: calc(40vw - 0.6em) !important;
height: calc(40vw - 0.6em) !important;
}
2025-10-25 17:40:16 -04:00
}