MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 60: | Line 60: | ||
.mod-group summary { | .mod-group summary { | ||
position: relative; | |||
padding: 14px; | padding: 14px; | ||
cursor: pointer; | cursor: pointer; | ||
font-weight: bold; | font-weight: bold; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
border-radius: 10px; | border-radius: 10px; | ||
text-align: center; | text-align: center; | ||
overflow: hidden; | |||
z-index: 1; | |||
} | |||
.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 12s linear 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 160: | Line 179: | ||
} | } | ||
. | .mods-header h1, | ||
.mods-header p, | |||
.mod-filter { | |||
color: #d1d5db; | |||
} | |||
@keyframes gradientShift { | |||
0% { background-position: 0% 50%; } | |||
50% { background-position: 100% 50%; } | |||
100% { background-position: 0% 50%; } | |||
} | |||
.mod-group summary { | |||
background: linear-gradient(45deg, white, #aaa); | |||
-webkit-background-clip: text; | |||
-webkit-text-fill-color: transparent; | |||
} | |||
.kosmic summary::before { | |||
background: linear-gradient(45deg, #a855f7, #ec4899, #a855f7); | |||
background-size: 300% 300%; | |||
} | } | ||
.hubor summary { | .hubor summary::before { | ||
background: linear-gradient(45deg, #f97316, #ef4444, #f97316); | |||
background-size: 300% 300%; | |||
} | } | ||
.datjanedoe summary { | .datjanedoe summary::before { | ||
background: linear-gradient(45deg, #22c55e, #4ade80, #22c55e); | |||
background-size: 300% 300%; | |||
} | } | ||
.lynx summary { | .lynx summary::before { | ||
background: linear-gradient(45deg, #eab308, #facc15, #eab308); | |||
background-size: 300% 300%; | |||
} | } | ||
.lerpmcgerk summary { | .lerpmcgerk summary::before { | ||
background: linear-gradient(45deg, #06b6d4, #22d3ee, #06b6d4); | |||
background-size: 300% 300%; | |||
} | } | ||
Revision as of 15:21, 2 April 2026
body {
background: url("/images/wiki-bg.png") no-repeat center center fixed;
background-size: cover;
}
body {
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: #0b0f1a;
border: 2px solid #3b82f6;
border-radius: 12px;
padding: 20px;
margin-bottom: 30px;
}
.mods-header h1 {
margin: 0;
font-size: 2.2rem;
letter-spacing: 1px;
}
.mods-header p {
opacity: 0.8;
}
.mods-panel {
background: #0b0f1a;
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;
}
.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;
}
.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 12s linear 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: 10px 15px;
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.mod-card {
background: #111827;
padding: 10px;
border-radius: 8px;
}
.mod-items a {
background: #111827;
padding: 6px 10px;
border-radius: 6px;
text-decoration: none;
}
.mod-items {
padding: 15px;
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: center;
}
.mod-items {
opacity: 0;
transform: translateY(-10px);
transition: all 0.25s ease;
}
.mod-group[open] .mod-items {
opacity: 1;
transform: translateY(0);
}
.mod-card {
background: #111827;
padding: 8px 14px;
border-radius: 8px;
opacity: 0;
transform: translateY(10px);
}
.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; }
@keyframes fadeUp {
to {
opacity: 1;
transform: translateY(0);
}
}
.mod-card:hover {
transform: translateY(-3px);
background: #1f2937;
}
.mod-group[open] summary {
box-shadow: 0 0 12px rgba(59,130,246,0.6);
}
.mods-header,
.mods-panel {
background: rgba(10, 15, 30, 0.9);
}
.mods-header h1,
.mod-group summary {
font-family: 'LuckiestGuy', sans-serif;
}
.mod-group summary {
font-family: 'LuckiestGuy', sans-serif;
letter-spacing: 1px;
font-size: 1.2rem;
}
.mods-header h1 {
font-family: 'LuckiestGuy', sans-serif;
font-size: 2.5rem;
}
.mod-group summary {
text-shadow: 0 0 8px rgba(255,255,255,0.2);
}
.mods-header h1,
.mods-header p,
.mod-filter {
color: #d1d5db;
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.mod-group summary {
background: linear-gradient(45deg, white, #aaa);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.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%;
}