MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 96: | Line 96: | ||
} | } | ||
} | } | ||
/* Custom CSS */ | /* Custom CSS */ | ||
.battle-modes-container { | .battle-modes-container { | ||
--primary-bg: # | --primary-bg: #1a1f2e; | ||
-- | --card-bg: #1e2436; | ||
-- | --text-primary: #ffffff; | ||
--text- | --text-secondary: #a0aec0; | ||
-- | --red-border: rgba(220, 38, 38, 0.5); | ||
-- | --purple-border: rgba(124, 58, 237, 0.5); | ||
--green-border: rgba(5, 150, 105, 0.5); | |||
--blue-border: rgba(37, 99, 235, 0.5); | |||
} | } | ||
| Line 110: | Line 115: | ||
background: var(--primary-bg) !important; | background: var(--primary-bg) !important; | ||
border: none !important; | border: none !important; | ||
border-radius: | border-radius: 16px !important; | ||
box-shadow: 0 8px 32px | box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important; | ||
margin: 2em auto !important; | margin: 2em auto !important; | ||
width: 100% !important; | width: 100% !important; | ||
max-width: 1400px !important; | max-width: 1400px !important; | ||
padding: 2rem !important; | |||
} | } | ||
.battle-header { | .battle-header { | ||
background: var(-- | background: var(--primary-bg) !important; | ||
padding: 2rem !important; | padding: 1.5rem !important; | ||
margin-bottom: 2rem !important; | |||
text-align: center !important; | |||
border: none !important; | border: none !important; | ||
} | } | ||
| Line 130: | Line 137: | ||
text-transform: uppercase !important; | text-transform: uppercase !important; | ||
letter-spacing: 3px !important; | letter-spacing: 3px !important; | ||
display: flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
gap: 1rem !important; | |||
} | |||
.battle-title::before, | |||
.battle-title::after { | |||
content: "⚔️" !important; | |||
} | } | ||
.battle-card { | .battle-card { | ||
background: var(--card-bg) !important; | background: var(--card-bg) !important; | ||
border-radius: | border-radius: 12px !important; | ||
padding: 1.5rem !important; | padding: 1.5rem !important; | ||
margin: 1rem !important; | margin: 1rem !important; | ||
transition: transform 0.3s ease, box-shadow 0.3s ease !important; | transition: transform 0.3s ease, box-shadow 0.3s ease !important; | ||
height: 200px !important; | |||
display: flex !important; | |||
flex-direction: column !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
} | } | ||
.battle-card:hover { | .battle-card:hover { | ||
transform: translateY(-5px) !important; | transform: translateY(-5px) !important; | ||
box-shadow: 0 12px 24px var(-- | box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2) !important; | ||
} | |||
.battle-card.deathmatch { | |||
border: 2px solid var(--red-border) !important; | |||
} | |||
.battle-card.domination { | |||
border: 2px solid var(--purple-border) !important; | |||
} | |||
.battle-card.last-man-standing { | |||
border: 2px solid var(--green-border) !important; | |||
} | |||
.battle-card.power-hunting { | |||
border: 2px solid var(--blue-border) !important; | |||
} | } | ||
| Line 152: | Line 185: | ||
font-size: 1.5em !important; | font-size: 1.5em !important; | ||
color: var(--text-primary) !important; | color: var(--text-primary) !important; | ||
margin-bottom: | margin-bottom: 1.5rem !important; | ||
text-align: center !important; | text-align: center !important; | ||
font-weight: 600 !important; | font-weight: 600 !important; | ||
display: flex !important; | |||
align-items: center !important; | |||
gap: 0.5rem !important; | |||
} | } | ||
| Line 160: | Line 196: | ||
display: flex !important; | display: flex !important; | ||
justify-content: center !important; | justify-content: center !important; | ||
align-items: center !important; | |||
width: 100% !important; | |||
} | } | ||
| Line 169: | Line 203: | ||
width: 120px !important; | width: 120px !important; | ||
height: 120px !important; | height: 120px !important; | ||
transition: transform 0.2s ease !important; | transition: transform 0.2s ease !important; | ||
} | } | ||
| Line 175: | Line 208: | ||
.battle-image:hover { | .battle-image:hover { | ||
transform: scale(1.05) !important; | transform: scale(1.05) !important; | ||
} | } | ||
/* MediaWiki specific overrides */ | /* MediaWiki specific overrides */ | ||
.mw-collapsible tr, .mw-collapsible td { | .mw-collapsible tr, | ||
.mw-collapsible td { | |||
background: transparent !important; | background: transparent !important; | ||
border: none !important; | border: none !important; | ||
Revision as of 17:35, 21 January 2025
/* CSS placed here will be applied to all skins */
#ca-viewsource { display: none !important; }
#ca-edit { display: none !important; }
#ca-talk { display: none !important; }
#ca-protect { display: none !important; }
#ca-move { display: none !important; }
#ca-delete { display: none !important; }
#ca-watch { display: none !important; }
#ca-unwatch { display: none !important; }
#ca-formedit { display: none !important; }
#ca-nstab-user { display: none !important; }
#t-specialpages { display: none !important; }
#t-upload { display: none !important; }
#citizen-pref-item { display: none !important; }
#n-recentchanges { display: none !important; }
#mw-usertoollinks-contribs { display: none !important; }
#n-randompage { display: none !important; }
#mw-usertoollinks-contribs { display: none !important; }
#n-help-mediawiki { display: none !important; }
#ca-history { display: none !important; }
#citizen-ui-icon mw-ui-icon-wikimedia-ellipsis { display: none !important; }
.res-img {
max-width:50%;
height:auto;
}
.char-card {
transform: translateY(0);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.char-card:hover {
transform: translateY(-10px);
box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
.char-card:hover .card-bg {
transform: scale(1.05);
}
.char-img {
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
transform-origin: center center;
}
.char-img.male:hover {
transform: translateX(-15px) scale(1.1) rotate(-5deg);
}
.char-img.female:hover {
transform: translateX(15px) scale(1.1) rotate(5deg);
}
.skill-item {
cursor: pointer;
}
.skill-item:hover {
transform: translateX(10px);
}
.warrior:hover .skill-item { background: rgba(248,113,113,0.2); }
.mage:hover .skill-item { background: rgba(167,139,250,0.2); }
.petrun:hover .skill-item { background: rgba(16,185,129,0.2); }
.assassin:hover .skill-item { background: rgba(59,130,246,0.2); }
@keyframes glowPulse {
0%, 100% { opacity: 0.5; }
50% { opacity: 1; }
}
.card-bg {
transition: transform 0.4s ease;
}
/* Responsive Design */
@media (max-width: 1400px) {
.char-card {
font-size: 0.9em;
}
.char-img {
width: 110px;
height: 110px;
}
}
@media (max-width: 1200px) {
.char-card {
padding: 15px;
}
.stats-grid {
gap: 5px;
}
}
/* Custom CSS */
.battle-modes-container {
--primary-bg: #1a1f2e;
--card-bg: #1e2436;
--text-primary: #ffffff;
--text-secondary: #a0aec0;
--red-border: rgba(220, 38, 38, 0.5);
--purple-border: rgba(124, 58, 237, 0.5);
--green-border: rgba(5, 150, 105, 0.5);
--blue-border: rgba(37, 99, 235, 0.5);
}
.battle-modes-container {
background: var(--primary-bg) !important;
border: none !important;
border-radius: 16px !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
margin: 2em auto !important;
width: 100% !important;
max-width: 1400px !important;
padding: 2rem !important;
}
.battle-header {
background: var(--primary-bg) !important;
padding: 1.5rem !important;
margin-bottom: 2rem !important;
text-align: center !important;
border: none !important;
}
.battle-title {
color: var(--text-primary) !important;
font-size: 2.5em !important;
font-weight: 700 !important;
text-transform: uppercase !important;
letter-spacing: 3px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
gap: 1rem !important;
}
.battle-title::before,
.battle-title::after {
content: "⚔️" !important;
}
.battle-card {
background: var(--card-bg) !important;
border-radius: 12px !important;
padding: 1.5rem !important;
margin: 1rem !important;
transition: transform 0.3s ease, box-shadow 0.3s ease !important;
height: 200px !important;
display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
}
.battle-card:hover {
transform: translateY(-5px) !important;
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2) !important;
}
.battle-card.deathmatch {
border: 2px solid var(--red-border) !important;
}
.battle-card.domination {
border: 2px solid var(--purple-border) !important;
}
.battle-card.last-man-standing {
border: 2px solid var(--green-border) !important;
}
.battle-card.power-hunting {
border: 2px solid var(--blue-border) !important;
}
.battle-mode-title {
font-size: 1.5em !important;
color: var(--text-primary) !important;
margin-bottom: 1.5rem !important;
text-align: center !important;
font-weight: 600 !important;
display: flex !important;
align-items: center !important;
gap: 0.5rem !important;
}
.battle-image-container {
display: flex !important;
justify-content: center !important;
align-items: center !important;
width: 100% !important;
}
.battle-image {
width: 120px !important;
height: 120px !important;
transition: transform 0.2s ease !important;
}
.battle-image:hover {
transform: scale(1.05) !important;
}
/* MediaWiki specific overrides */
.mw-collapsible tr,
.mw-collapsible td {
background: transparent !important;
border: none !important;
}
.mw-collapsible th {
border: none !important;
}