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 16:06, 12 June 2025 by Admin (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.
/* Hero section */
.main-hero {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(145deg, #0f0f0f, #1c1c1c);
  border-bottom: 2px solid #3ec1d3;
}

.main-hero h1 {
  font-size: 2.5em;
  color: #ffffff;
}

.main-hero .highlight {
  color: #3ec1d3;
}

.main-hero .subtext {
  color: #ccc;
  margin-top: 10px;
  font-size: 1.2em;
}

.search-wrapper {
  margin-top: 20px;
}

/* Button grid */
.main-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 30px auto;
  gap: 12px;
}

.main-button {
  background-color: #222;
  border: 1px solid #3ec1d3;
  border-radius: 10px;
  color: #eee;
  padding: 12px 20px;
  min-width: 120px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.main-button:hover {
  background-color: #3ec1d3;
  color: #000;
}

/* Featured article */
.main-featured {
  text-align: center;
  margin: 40px auto;
}

.main-featured img {
  max-width: 90%;
  border-radius: 10px;
  margin: 10px 0;
}

/* Info stats and events */
.main-info {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px auto;
}

.info-box {
  background-color: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  max-width: 300px;
  color: #ccc;
}

/* Social buttons */
.social-links {
  text-align: center;
  margin: 30px auto;
}

.social-button {
  display: inline-block;
  padding: 12px 20px;
  margin: 5px;
  color: white;
  font-weight: bold;
  border-radius: 6px;
}

.social-button.discord { background: #7289da; }
.social-button.patreon { background: #f96854; }
.social-button.kofi    { background: #29abe0; }
.social-button.reddit  { background: #ff5700; }