MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 20: | Line 20: | ||
summary::-webkit-details-marker { | summary::-webkit-details-marker { | ||
display: none; | display: none; | ||
} | } | ||
| Line 45: | Line 40: | ||
letter-spacing: 1px; | letter-spacing: 1px; | ||
font-family: 'LuckiestGuy', sans-serif; | font-family: 'LuckiestGuy', sans-serif; | ||
color: # | color: #e5e7eb; | ||
} | } | ||
.mods-header p { | .mods-header p { | ||
opacity: 0. | opacity: 0.85; | ||
color: #d1d5db; | color: #d1d5db; | ||
} | } | ||
| Line 68: | Line 63: | ||
font-weight: bold; | font-weight: bold; | ||
color: #d1d5db; | color: #d1d5db; | ||
font-family: 'Fredoka One', sans-serif; | |||
} | } | ||
| Line 86: | Line 82: | ||
z-index: 1; | z-index: 1; | ||
font-family: 'Fredoka One', sans-serif; | font-family: 'Fredoka One', sans-serif; | ||
letter-spacing: | letter-spacing: 0.5px; | ||
font-size: 1.2rem; | font-size: 1.2rem; | ||
background: rgba(10, 15, 30, 0.85); | background: rgba(10, 15, 30, 0.85); | ||
text-shadow: 0 0 | color: #e5e7eb; | ||
text-shadow: 0 0 6px rgba(0,0,0,0.6); | |||
} | } | ||
.mod-group summary:hover { | .mod-group summary:hover { | ||
opacity: 0. | opacity: 0.92; | ||
} | } | ||
| Line 154: | Line 147: | ||
transform: translateY(-4px); | transform: translateY(-4px); | ||
background: rgba(31, 41, 55, 1); | background: rgba(31, 41, 55, 1); | ||
box-shadow: 0 0 12px rgba(255,255,255,0. | box-shadow: 0 0 12px rgba(255,255,255,0.08); | ||
} | } | ||
.mod-items a { | .mod-items a { | ||
text-decoration: none; | text-decoration: none; | ||
color: #e5e7eb; | |||
} | } | ||
.mod-group[open] summary { | .mod-group[open] summary { | ||
box-shadow: 0 0 | box-shadow: 0 0 18px rgba(255,255,255,0.08); | ||
} | } | ||
| Line 201: | Line 195: | ||
background: linear-gradient(45deg, #06b6d4, #22d3ee, #06b6d4); | background: linear-gradient(45deg, #06b6d4, #22d3ee, #06b6d4); | ||
background-size: 300% 300%; | background-size: 300% 300%; | ||
} | } | ||
Revision as of 15:37, 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: 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.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%;
}