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 15:24, 2 April 2026 by MatthewGuerra (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.
body {
  background: url("/images/wiki-bg.png") no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
}

@font-face {
  font-family: 'LuckiestGuy';
  src: url('/resources/LuckiestGuy-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.mods-container {
  max-width: 1100px;
  margin: 0 auto;
}

.mods-header {
  background: rgba(10, 15, 30, 0.9);
  border: 2px solid #3b82f6;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
}

.mods-header h1 {
  margin: 0;
  font-size: 2.5rem;
  letter-spacing: 1px;
  font-family: 'LuckiestGuy', sans-serif;
  color: #d1d5db;
}

.mods-header p {
  opacity: 0.8;
  color: #d1d5db;
}

.mods-panel {
  background: rgba(10, 15, 30, 0.9);
  border: 2px solid #3b82f6;
  border-radius: 12px;
  padding: 20px;
}

.mod-filter {
  display: inline-block;
  border: 2px solid #3b82f6;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-weight: bold;
  color: #d1d5db;
}

.mod-group {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.mod-group summary {
  position: relative;
  padding: 14px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  font-family: 'LuckiestGuy', sans-serif;
  letter-spacing: 1px;
  font-size: 1.2rem;
  background: rgba(10, 15, 30, 0.85);
  text-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.mod-group summary::marker {
  display: none;
}

.mod-group summary::after {
  content: "▶";
  margin-left: 8px;
  font-size: 0.8rem;
}

.mod-group[open] summary::after {
  content: "▼";
}

.mod-group summary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(45deg, red, blue, red);
  background-size: 300% 300%;
  animation: gradientShift 18s ease infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
}

.mod-items {
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.25s ease;
}

.mod-group[open] .mod-items {
  opacity: 1;
  transform: translateY(0);
}

.mod-card {
  background: rgba(17, 24, 39, 0.9);
  padding: 8px 14px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.mod-group[open] .mod-card {
  animation: fadeUp 0.3s ease forwards;
}

.mod-group[open] .mod-card:nth-child(1) { animation-delay: 0.05s; }
.mod-group[open] .mod-card:nth-child(2) { animation-delay: 0.1s; }
.mod-group[open] .mod-card:nth-child(3) { animation-delay: 0.15s; }
.mod-group[open] .mod-card:nth-child(4) { animation-delay: 0.2s; }

.mod-card:hover {
  transform: translateY(-4px);
  background: rgba(31, 41, 55, 1);
  box-shadow: 0 0 12px rgba(255,255,255,0.1);
}

.mod-items a {
  text-decoration: none;
}

.mod-group[open] summary {
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.kosmic summary::before {
  background: linear-gradient(45deg, #a855f7, #ec4899, #a855f7);
  background-size: 300% 300%;
}

.hubor summary::before {
  background: linear-gradient(45deg, #f97316, #ef4444, #f97316);
  background-size: 300% 300%;
}

.datjanedoe summary::before {
  background: linear-gradient(45deg, #22c55e, #4ade80, #22c55e);
  background-size: 300% 300%;
}

.lynx summary::before {
  background: linear-gradient(45deg, #eab308, #facc15, #eab308);
  background-size: 300% 300%;
}

.lerpmcgerk summary::before {
  background: linear-gradient(45deg, #06b6d4, #22d3ee, #06b6d4);
  background-size: 300% 300%;
}

.kosmic summary {
  background: linear-gradient(45deg, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hubor summary {
  background: linear-gradient(45deg, #fb923c, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.datjanedoe summary {
  background: linear-gradient(45deg, #4ade80, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lynx summary {
  background: linear-gradient(45deg, #facc15, #eab308);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lerpmcgerk summary {
  background: linear-gradient(45deg, #22d3ee, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}