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.
/* 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: #0f172a;
--secondary-bg: #1e293b;
--card-bg: #334155;
--text-primary: #f8fafc;
--text-secondary: #cbd5e1;
--shadow-color: rgba(0, 0, 0, 0.5);
}
.battle-modes-container {
background: var(--primary-bg) !important;
border: none !important;
border-radius: 24px !important;
box-shadow: 0 8px 32px var(--shadow-color) !important;
margin: 2em auto !important;
width: 100% !important;
max-width: 1400px !important;
}
.battle-header {
background: var(--secondary-bg) !important;
padding: 2rem !important;
border-radius: 24px 24px 0 0 !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;
text-align: center !important;
text-shadow: 0 2px 4px var(--shadow-color) !important;
margin: 0 !important;
}
.battle-card {
background: var(--card-bg) !important;
border-radius: 16px !important;
padding: 1.5rem !important;
margin: 1rem !important;
transition: transform 0.3s ease, box-shadow 0.3s ease !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.battle-card:hover {
transform: translateY(-5px) !important;
box-shadow: 0 12px 24px var(--shadow-color) !important;
}
.battle-mode-title {
font-size: 1.5em !important;
color: var(--text-primary) !important;
margin-bottom: 1rem !important;
text-align: center !important;
font-weight: 600 !important;
}
.battle-image-container {
display: flex !important;
justify-content: center !important;
gap: 1rem !important;
padding: 1rem !important;
background: rgba(0, 0, 0, 0.2) !important;
border-radius: 12px !important;
}
.battle-image {
width: 120px !important;
height: 120px !important;
border-radius: 8px !important;
transition: transform 0.2s ease !important;
}
.battle-image:hover {
transform: scale(1.05) !important;
}
/* Mode specific colors */
.battle-card.deathmatch {
background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%) !important;
}
.battle-card.domination {
background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%) !important;
}
.battle-card.last-man-standing {
background: linear-gradient(135deg, #059669 0%, #065f46 100%) !important;
}
.battle-card.power-hunting {
background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
}
/* MediaWiki specific overrides */
.mw-collapsible tr, .mw-collapsible td {
background: transparent !important;
border: none !important;
}
.mw-collapsible th {
border: none !important;
}