Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

MediaWiki interface page
Revision as of 17:35, 21 January 2025 by Kujang (talk | contribs)

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: #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;
}