mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
refactor: consolidate background properties in CSS
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user