MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 23: | Line 23: | ||
max-width:50%; | max-width:50%; | ||
height:auto; | 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; | |||
} | |||
} | } | ||
Revision as of 16:43, 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;
}
}