Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.bbog-grid { outline: 5px solid red !important; }


/* Featured Wiki Grid */
/* Featured Wiki Grid */

Revision as of 12:18, 16 February 2026

/* CSS placed here will be applied to all skins */

.bbog-grid { outline: 5px solid red !important; }

/* 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;
}