Template:Home/FeaturedRegionCard/styles.css: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* | /* --- kill any MW wrapper styling around each card --- */ | ||
.fr-grid > * { | |||
background: transparent !important; | |||
border: 0 !important; | |||
border-radius: 0 !important; | |||
box-shadow: none !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
.fr- | |||
background: | |||
border: | |||
border-radius: | |||
box-shadow: | |||
} | } | ||
/* | /* --- lock the status chip to its intended size --- */ | ||
.fr-status { | .fr-status { | ||
display: inline-flex; | display: inline-flex !important; | ||
align-items: center; | align-items: center !important; | ||
padding: 6px 12px; | padding: 6px 12px !important; | ||
margin: 4px 0 12px 0 !important; | |||
background: #f8fafc; | background: #f8fafc !important; | ||
border: 1px solid #e5e7eb; | border: 1px solid #e5e7eb !important; | ||
border-radius: 999px !important; | |||
width: auto !important; | |||
height: auto !important; | |||
box-shadow: none !important; | |||
} | } | ||
.fr-status | .fr-status::before, | ||
.fr-status | .fr-status::after { content: none !important; } /* in case a skin adds pseudo-elements */ | ||
Revision as of 08:13, 25 August 2025
/* --- kill any MW wrapper styling around each card --- */ .fr-grid > * { background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; } /* --- lock the status chip to its intended size --- */ .fr-status { display: inline-flex !important; align-items: center !important; padding: 6px 12px !important; margin: 4px 0 12px 0 !important; background: #f8fafc !important; border: 1px solid #e5e7eb !important; border-radius: 999px !important; width: auto !important; height: auto !important; box-shadow: none !important; } .fr-status::before, .fr-status::after { content: none !important; } /* in case a skin adds pseudo-elements */