Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Featured Wiki Grid */
.bbog-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 40px; /* more breathing room */
margin-top: 20px;
}
@media (max-width: 700px) {
.bbog-grid {
grid-template-columns: 1fr;
}
}
.bbog-card {
text-align: center;
padding: 0; /* remove padding */
background: none; /* remove background */
border: none; /* remove borders */
box-shadow: none; /* remove any theme shadow */
}
.bbog-featured-title {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 14px;
}
.bbog-featured-img img {
width: 100%;
height: auto;
max-width: 560px;
border-radius: 14px;
display: block;
margin: 0 auto;
transition: transform 0.15s ease;
}
.bbog-featured-img img:hover {
transform: scale(1.02);
}
.bbog-featured-link {
margin-top: 14px;
}
/* Remove MediaWiki image thumb styling inside featured grid */
.bbog-featured-img .mw-file-element,
.bbog-featured-img .thumbinner,
.bbog-featured-img .thumb {
background: none !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
}
/* Ensure image itself is clean */
.bbog-featured-img img {
display: block;
width: 100%;
height: auto;
max-width: 560px;
border-radius: 14px;
margin: 0 auto;
}
/* BBOG Featured grid: remove Citizen/MediaWiki file container "card" styling */
.bbog-grid figure,
.bbog-grid figure[typeof*="mw:File"],
.bbog-grid .mw-parser-output figure[typeof*="mw:File"],
.bbog-grid .thumb,
.bbog-grid .thumbinner,
.bbog-grid .mw-file-element,
.bbog-grid .mw-file-description,
.bbog-grid .mw-file-caption,
.bbog-grid a.image {
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
padding: 0 !important;
margin: 0 auto !important;
border-radius: 0 !important;
}
/* Some skins apply the "card" to the link wrapper */
.bbog-grid a.image {
display: block !important;
}
/* Ensure the image itself is the only visible element */
.bbog-grid img {
display: block !important;
width: 100% !important;
height: auto !important;
max-width: 560px !important;
margin: 0 auto !important;
border-radius: 14px !important;
}
/* Remove any pseudo-element overlays */
.bbog-grid figure::before,
.bbog-grid figure::after,
.bbog-grid .thumb::before,
.bbog-grid .thumb::after,
.bbog-grid a.image::before,
.bbog-grid a.image::after {
content: none !important;
display: none !important;
}