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

MediaWiki interface page
Revision as of 22:45, 21 January 2026 by Texyc (talk | contribs)

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.
/* --- Fandom Style Cards --- */
.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Centers them on the page */
}

.fandom-card {
    background: #1a1a1a; /* Dark grey background */
    border: 1px solid #333;
    border-radius: 8px; /* Rounded corners */
    width: 220px; /* Width of each card */
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

/* Hover Effect (Makes it pop up) */
.fandom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: #a855f7; /* Purple glow */
}

/* Image styling */
.fandom-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

/* Text styling */
.fandom-card-text {
    padding: 10px;
    color: white;
}

.fandom-card-title {
    font-weight: bold;
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

/* Style for Infobox Aura */
.pi-theme-aura .pi-header {
    background-color: #6a0dad; /* Purple header */
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.pi-theme-aura {
    border: 1px solid #444;
    background-color: #222; /* Dark background */
    color: white;
}