refactor: consolidate background properties in CSS

This commit is contained in:
ZhenShuo Leo
2025-07-13 22:07:36 +08:00
parent cb2609a65d
commit 1461ee534d

View File

@@ -162,39 +162,32 @@ pre {
text-align: left; text-align: left;
} }
.thumbnail { .thumbnail,
min-width: 300px; .thumbnail_card,
height: 180px; .thumbnail_card_related,
.thumbnail_card_term,
.single_hero_basic,
.single_hero_background {
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
} }
.thumbnail {
min-width: 300px;
height: 180px;
}
.thumbnail_card { .thumbnail_card {
height: 200px; height: 200px;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
} }
.thumbnail_card_related { .thumbnail_card_related {
height: 150px; height: 150px;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
} }
.thumbnail_card_term { .thumbnail_card_term {
height: 150px; height: 150px;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.single_hero_basic {
background-repeat: no-repeat;
background-size: cover;
background-position: center;
} }
.single_hero_round { .single_hero_round {
@@ -203,9 +196,6 @@ pre {
} }
.single_hero_background { .single_hero_background {
background-repeat: no-repeat;
background-size: cover;
background-position: center;
z-index: -10; z-index: -10;
} }