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
 
(4 intermediate revisions by the same user not shown)
Line 99: Line 99:
   border-radius: 10px;
   border-radius: 10px;
   padding: 2px;
   padding: 2px;
  background: linear-gradient(45deg, red, blue, red);
   background-size: 300% 300%;
   background-size: 300% 300%;
   animation: gradientShift 18s ease infinite;
   animation: gradientShift 18s ease infinite;
Line 127: Line 126:


.mod-card {
.mod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  text-decoration: none;
  color: #e5e7eb;
  border-radius: 10px;
  padding: 10px;
   background: rgba(17, 24, 39, 0.9);
   background: rgba(17, 24, 39, 0.9);
  padding: 8px 14px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(10px);
   transition: 0.2s ease;
   transition: 0.2s ease;
  z-index: 1;
}
.mod-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: var(--mod-gradient);
  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;
}
}


Line 145: Line 169:


.mod-card:hover {
.mod-card:hover {
   transform: translateY(-4px);
   transform: translateY(-6px) scale(1.05);
  background: rgba(31, 41, 55, 1);
   box-shadow: 0 0 18px rgba(255,255,255,0.1);
   box-shadow: 0 0 12px rgba(255,255,255,0.08);
}
.mod-card {
  backdrop-filter: blur(4px);
}
}


Line 157: Line 183:
.mod-group[open] summary {
.mod-group[open] summary {
   box-shadow: 0 0 18px rgba(255,255,255,0.08);
   box-shadow: 0 0 18px rgba(255,255,255,0.08);
}
.mod-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  text-decoration: none;
  color: #e5e7eb;
  background: rgba(17, 24, 39, 0.9);
  border-radius: 10px;
  padding: 10px;
  transition: 0.2s ease;
}
.mod-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 6px;
}
.mod-name {
  font-size: 0.85rem;
  text-align: center;
  font-family: 'Fredoka One', sans-serif;
}
.mod-card img {
  background: rgba(0,0,0,0.4);
  padding: 6px;
}
.mod-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 6px;
  font-family: 'Fredoka One', sans-serif;
  background: rgba(0,0,0,0.7);
  color: #e5e7eb;
  z-index: 2;
}
.mod-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1px;
  background: var(--mod-gradient);
  -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-badge {
  transform: scale(0.9);
  transition: 0.2s ease;
}
.mod-card:hover .mod-badge {
  transform: scale(1);
}
}


Line 170: Line 266:
   50% { background-position: 100% 50%; }
   50% { background-position: 100% 50%; }
   100% { background-position: 0% 50%; }
   100% { background-position: 0% 50%; }
}
.mod-badge.new {
  --mod-gradient: linear-gradient(45deg, #22c55e, #4ade80);
}
.mod-badge.wip {
  --mod-gradient: linear-gradient(45deg, #facc15, #f97316);
}
.mod-badge.legacy {
  --mod-gradient: linear-gradient(45deg, #6b7280, #374151);
}
.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%;
}
}


Line 240: Line 373:
.lerpmcgerk .mod-card:hover {
.lerpmcgerk .mod-card:hover {
   background: rgba(34,211,238,0.08);
   background: rgba(34,211,238,0.08);
}
.kosmic {
  --mod-gradient: linear-gradient(45deg, #a855f7, #ec4899, #9333ea);
}
.hubor {
  --mod-gradient: linear-gradient(45deg, #f97316, #ef4444, #dc2626);
}
.datjanedoe {
  --mod-gradient: linear-gradient(45deg, #22c55e, #4ade80, #16a34a);
}
.lynx {
  --mod-gradient: linear-gradient(45deg, #eab308, #facc15, #ca8a04);
}
.lerpmcgerk {
  --mod-gradient: linear-gradient(45deg, #06b6d4, #22d3ee, #0891b2);
}
}

Latest revision as of 15:56, 2 April 2026

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

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

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.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: #e5e7eb;
}

.mods-header p {
  opacity: 0.85;
  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;
  font-family: 'Fredoka One', sans-serif;
}

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

.mod-group summary {
  position: relative;
  padding: 14px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  font-family: 'Fredoka One', sans-serif;
  letter-spacing: 0.5px;
  font-size: 1.2rem;
  background: rgba(10, 15, 30, 0.85);
  color: #e5e7eb;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
}

.mod-group summary:hover {
  opacity: 0.92;
}

.mod-group summary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  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 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  text-decoration: none;
  color: #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  background: rgba(17, 24, 39, 0.9);
  transition: 0.2s ease;
  z-index: 1;
}

.mod-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: var(--mod-gradient);
  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-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(-6px) scale(1.05);
  box-shadow: 0 0 18px rgba(255,255,255,0.1);
}
.mod-card {
  backdrop-filter: blur(4px);
}

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

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

.mod-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  text-decoration: none;
  color: #e5e7eb;
  background: rgba(17, 24, 39, 0.9);
  border-radius: 10px;
  padding: 10px;
  transition: 0.2s ease;
}

.mod-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 6px;
}

.mod-name {
  font-size: 0.85rem;
  text-align: center;
  font-family: 'Fredoka One', sans-serif;
}
.mod-card img {
  background: rgba(0,0,0,0.4);
  padding: 6px;
}

.mod-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 6px;
  font-family: 'Fredoka One', sans-serif;
  background: rgba(0,0,0,0.7);
  color: #e5e7eb;
  z-index: 2;
}

.mod-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1px;
  background: var(--mod-gradient);

  -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-badge {
  transform: scale(0.9);
  transition: 0.2s ease;
}

.mod-card:hover .mod-badge {
  transform: scale(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%; }
}

.mod-badge.new {
  --mod-gradient: linear-gradient(45deg, #22c55e, #4ade80);
}

.mod-badge.wip {
  --mod-gradient: linear-gradient(45deg, #facc15, #f97316);
}

.mod-badge.legacy {
  --mod-gradient: linear-gradient(45deg, #6b7280, #374151);
}

.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 {
  color: #c084fc;
  text-shadow: 0 0 6px rgba(192,132,252,0.5);
}

.hubor summary {
  color: #fb923c;
  text-shadow: 0 0 6px rgba(251,146,60,0.5);
}

.datjanedoe summary {
  color: #4ade80;
  text-shadow: 0 0 6px rgba(74,222,128,0.5);
}

.lynx summary {
  color: #facc15;
  text-shadow: 0 0 6px rgba(250,204,21,0.5);
}

.lerpmcgerk summary {
  color: #22d3ee;
  text-shadow: 0 0 6px rgba(34,211,238,0.5);
}

.kosmic .mod-card:hover {
  box-shadow: 0 0 12px rgba(192,132,252,0.4);
  border: 1px solid rgba(192,132,252,0.6);
}

.hubor .mod-card:hover {
  box-shadow: 0 0 12px rgba(251,146,60,0.4);
  border: 1px solid rgba(251,146,60,0.6);
}

.datjanedoe .mod-card:hover {
  box-shadow: 0 0 12px rgba(74,222,128,0.4);
  border: 1px solid rgba(74,222,128,0.6);
}

.lynx .mod-card:hover {
  box-shadow: 0 0 12px rgba(250,204,21,0.4);
  border: 1px solid rgba(250,204,21,0.6);
}

.lerpmcgerk .mod-card:hover {
  box-shadow: 0 0 12px rgba(34,211,238,0.4);
  border: 1px solid rgba(34,211,238,0.6);
}

.kosmic .mod-card:hover {
  background: rgba(192,132,252,0.08);
}

.hubor .mod-card:hover {
  background: rgba(251,146,60,0.08);
}

.datjanedoe .mod-card:hover {
  background: rgba(74,222,128,0.08);
}

.lynx .mod-card:hover {
  background: rgba(250,204,21,0.08);
}

.lerpmcgerk .mod-card:hover {
  background: rgba(34,211,238,0.08);
}
.kosmic {
  --mod-gradient: linear-gradient(45deg, #a855f7, #ec4899, #9333ea);
}

.hubor {
  --mod-gradient: linear-gradient(45deg, #f97316, #ef4444, #dc2626);
}

.datjanedoe {
  --mod-gradient: linear-gradient(45deg, #22c55e, #4ade80, #16a34a);
}

.lynx {
  --mod-gradient: linear-gradient(45deg, #eab308, #facc15, #ca8a04);
}

.lerpmcgerk {
  --mod-gradient: linear-gradient(45deg, #06b6d4, #22d3ee, #0891b2);
}