MediaWiki:Common.css
MediaWiki interface page
More actions
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.
@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 {
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.08);
}
.mod-items a {
text-decoration: none;
color: #e5e7eb;
}
.mod-group[open] summary {
box-shadow: 0 0 18px rgba(255,255,255,0.08);
}
@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 {
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);
}