MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
background: url("/images/wiki-bg.png") no-repeat center center fixed; | background: url("/images/wiki-bg.png") no-repeat center center fixed; | ||
background-size: cover; | background-size: cover; | ||
background-attachment: fixed; | background-attachment: fixed; | ||
} | } | ||
| Line 20: | Line 18: | ||
.mods-header { | .mods-header { | ||
background: | background: rgba(10, 15, 30, 0.9); | ||
border: 2px solid #3b82f6; | border: 2px solid #3b82f6; | ||
border-radius: 12px; | border-radius: 12px; | ||
| Line 29: | Line 27: | ||
.mods-header h1 { | .mods-header h1 { | ||
margin: 0; | margin: 0; | ||
font-size: 2. | font-size: 2.5rem; | ||
letter-spacing: 1px; | letter-spacing: 1px; | ||
font-family: 'LuckiestGuy', sans-serif; | |||
color: #d1d5db; | |||
} | } | ||
.mods-header p { | .mods-header p { | ||
opacity: 0.8; | opacity: 0.8; | ||
color: #d1d5db; | |||
} | } | ||
.mods-panel { | .mods-panel { | ||
background: | background: rgba(10, 15, 30, 0.9); | ||
border: 2px solid #3b82f6; | border: 2px solid #3b82f6; | ||
border-radius: 12px; | border-radius: 12px; | ||
| Line 51: | Line 52: | ||
margin-bottom: 15px; | margin-bottom: 15px; | ||
font-weight: bold; | font-weight: bold; | ||
color: #d1d5db; | |||
} | } | ||
| Line 69: | Line 71: | ||
overflow: hidden; | overflow: hidden; | ||
z-index: 1; | 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: "▼"; | |||
} | } | ||
| Line 79: | Line 100: | ||
background: linear-gradient(45deg, red, blue, red); | background: linear-gradient(45deg, red, blue, red); | ||
background-size: 300% 300%; | background-size: 300% 300%; | ||
animation: gradientShift | animation: gradientShift 18s ease infinite; | ||
-webkit-mask: | -webkit-mask: | ||
linear-gradient(#000 0 0) content-box, | linear-gradient(#000 0 0) content-box, | ||
| Line 86: | Line 106: | ||
-webkit-mask-composite: xor; | -webkit-mask-composite: xor; | ||
mask-composite: exclude; | mask-composite: exclude; | ||
z-index: -1; | z-index: -1; | ||
} | } | ||
| Line 115: | Line 115: | ||
gap: 12px; | gap: 12px; | ||
justify-content: center; | justify-content: center; | ||
opacity: 0; | opacity: 0; | ||
transform: translateY(-10px); | transform: translateY(-10px); | ||
| Line 128: | Line 126: | ||
.mod-card { | .mod-card { | ||
background: | background: rgba(17, 24, 39, 0.9); | ||
padding: 8px 14px; | padding: 8px 14px; | ||
border-radius: 8px; | border-radius: 8px; | ||
opacity: 0; | opacity: 0; | ||
transform: translateY(10px); | transform: translateY(10px); | ||
transition: 0.2s ease; | |||
} | } | ||
| Line 144: | Line 143: | ||
.mod-group[open] .mod-card:nth-child(4) { animation-delay: 0.2s; } | .mod-group[open] .mod-card:nth-child(4) { animation-delay: 0.2s; } | ||
.mod-card:hover { | .mod-card:hover { | ||
transform: translateY(- | transform: translateY(-4px); | ||
background: | background: rgba(31, 41, 55, 1); | ||
box-shadow: 0 0 12px rgba(255,255,255,0.1); | |||
} | } | ||
.mod-items a { | |||
text-decoration: none; | |||
.mod- | |||
} | } | ||
.mod-group[open] summary { | |||
box-shadow: 0 0 20px rgba(255,255,255,0.1); | |||
.mod-group summary { | |||
} | } | ||
@keyframes fadeUp { | |||
to { | |||
opacity: 1; | |||
transform: translateY(0); | |||
} | |||
} | } | ||
| Line 189: | Line 168: | ||
50% { background-position: 100% 50%; } | 50% { background-position: 100% 50%; } | ||
100% { background-position: 0% 50%; } | 100% { background-position: 0% 50%; } | ||
} | } | ||
| Line 219: | Line 193: | ||
background: linear-gradient(45deg, #06b6d4, #22d3ee, #06b6d4); | background: linear-gradient(45deg, #06b6d4, #22d3ee, #06b6d4); | ||
background-size: 300% 300%; | 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; | |||
} | } | ||
Revision as of 15:24, 2 April 2026
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;
}