MediaWiki:Attributes.css: Difference between revisions

From Honkai: Nexus Anima Wiki
Jump to navigation Jump to search
Raven.Familiar (talk | contribs)
Traits
Kuhlau (talk | contribs)
add disposition, bit of wip
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
.attribute-pill {
.attribute-pill {
    display: inline-flex;
--attribute-Beauty: #88cec6;
    align-items: center;
--attribute-Change: #a0a9f4;
    border-radius: 16px;
--attribute-Competition: linear-gradient(90deg, rgba(213, 67, 68, 1) 0%, rgba(86, 112, 176, 1) 100%);
    padding: 0 8px;
--attribute-Dark: #734e9d;
    height: 25px;
--attribute-Hate: #a893dd;
    color: #333333;
--attribute-Insatiability: #c5db7d;
    line-height: 1;
--attribute-Joy: #f68481;
    position: relative;
--attribute-Light: #f8b430;
}
--attribute-Love: #eda1b6;
/* Aspect Colors */
--attribute-Memory: #8ec0e8;
.attribute-pill-Beauty {
--attribute-Oblivion: #aab4da;
    background-color: #88cec6;
--attribute-Peace: #deceb0;
        color: white;
--attribute-Pride: #b27ad3;
}
--attribute-Prosperity: #fa8d43;
 
--attribute-Reality: #959595;
.attribute-pill-Change {
--attribute-Regret: #775378;
    background-color: #979ee2;
--attribute-Right: #5bb8e7;
        color: white;
--attribute-Satiation: #f5a77d;
}
--attribute-Strength: #87b5f3;
 
--attribute-Ugliness: #7c93aa;
.attribute-pill-Competition {
--attribute-War: #964545;
    background-color: #cb464e;
--attribute-Weakness: #b6d0e7;
        color: white;
}
--attribute-Blaster: #9c749d;
 
--attribute-Cherubim: #fff;
.attribute-pill-Dark {
--attribute-Cherubim--text: #bba479;
    background-color: #734e9d;
--attribute-Explorer: #9fc47b;
        color: white;
--attribute-Gladiator: #bba479;
}
--attribute-Hothead: #e36566;
 
--attribute-Mascot: #f6b560;
.attribute-pill-Hate {
--attribute-Mastermind: #71b7af;
    background-color: #9b8ec1;
--attribute-Protector: #d2a3ba;
        color: white;
--attribute-Striker: #fa9269;
}
 
--attribute-disposition-1: #798fe1;
.attribute-pill-Insatiability {
--attribute-disposition-2: #bd93e1;
    background-color: #5bb8e7;
--attribute-disposition-3: #798fe1;/* replace with lvl3 color when known */
        color: white;
}
 
.attribute-pill-Light {
    background-color: #efbf3c;
        color: white;
}
 
.attribute-pill-Love {
    background-color: #eda1b6;
        color: white;
}
 
.attribute-pill-Memory {
    background-color: #95c2e7;
        color: white;
}
 
.attribute-pill-Peace {
    background-color: #deceb0;
        color: white;
}
 
.attribute-pill-Pride {
    background-color: #8879bc;
        color: white;
}
 
.attribute-pill-Regret {
    background-color: #775378;
        color: white;
}
 
.attribute-pill-Right {
    background-color: #5bb8e7;
        color: white;
}
 
.attribute-pill-Satiation {
    background-color: #f5a77d;
        color: white;
}


.attribute-pill-War {
display: inline-flex;
    background-color: #964545;
align-items: center;
        color: white;
border-radius: 16px;
padding: 0 8px;
height: 25px;
margin: 2px;
background-color: var(--theme-color-5);
line-height: 1;
position: relative;
}
}


.attribute-pill-Weakness {
.attribute-pill a,
    background-color: #b6d0e7;
.attribute-pill .mw-selflink {
        color: white;
color: white;
}
font-weight: 600;
/* Trait Colors */
.attribute-pill-Blaster {
    background-color: #9c749d;
        color: white;
}
}


.attribute-pill-Cherubim {
.theme-fandomdesktop-light .attribute-pill-Cherubim,
    background-color: #ffffff;
.theme-fandommobile-light .attribute-pill-Cherubim {
        color: #bca57a;
box-shadow: 0px 0px 3px var(--attribute-Cherubim--text);
}
}


.attribute-pill-Explorer {
/* Aspect Colors */
    background-color: #9fc47b;
.attribute-pill-Beauty { background-color: var(--attribute-Beauty); }
        color: white;
.attribute-pill-Change { background-color: var(--attribute-Change); }
}
.attribute-pill-Competition { background: var(--attribute-Competition); }
.attribute-pill-Dark { background-color: var(--attribute-Dark); }
.attribute-pill-Hate { background-color: var(--attribute-Hate); }
.attribute-pill-Insatiability { background-color: var(--attribute-Insatiability); }
.attribute-pill-Insatiability a { color: black; }
.attribute-pill-Joy { background-color: var(--attribute-Joy); }
.attribute-pill-Light { background-color: var(--attribute-Light); }
.attribute-pill-Love { background-color: var(--attribute-Love); }
.attribute-pill-Memory { background-color: var(--attribute-Memory); }
.attribute-pill-Oblivion { background-color: var(--attribute-Oblivion); }
.attribute-pill-Peace { background-color: var(--attribute-Peace); }
.attribute-pill-Peace a { color: black; }
.attribute-pill-Pride { background-color: var(--attribute-Pride); }
.attribute-pill-Prosperity { background-color: var(--attribute-Prosperity); }
.attribute-pill-Regret { background-color: var(--attribute-Regret); }
.attribute-pill-Reality { background-color: var(--attribute-Reality); }
.attribute-pill-Right { background-color: var(--attribute-Right); }
.attribute-pill-Satiation { background-color: var(--attribute-Satiation); }
.attribute-pill-Strength { background-color: var(--attribute-Strength); }
.attribute-pill-Ugliness { background-color: var(--attribute-Ugliness); }
.attribute-pill-War { background-color: var(--attribute-War); }
.attribute-pill-Weakness { background-color: var(--attribute-Weakness); }
.attribute-pill-Weakness a { color: black; }


.attribute-pill-Gladiator {
/* Trait Colors */
    background-color: #bba479;
.attribute-pill-Blaster { background-color: var(--attribute-Blaster); }
        color: white;
.attribute-pill-Cherubim { background-color: var(--attribute-Cherubim); }
}
.attribute-pill-Cherubim a { color: var(--attribute-Cherubim--text) !important; }
.attribute-pill-Explorer { background-color: var(--attribute-Explorer); }
.attribute-pill-Gladiator { background-color: var(--attribute-Gladiator); }
.attribute-pill-Hothead { background-color: var(--attribute-Hothead); }
.attribute-pill-Mascot { background-color: var(--attribute-Mascot); }
.attribute-pill-Mastermind { background-color: var(--attribute-Mastermind); }
.attribute-pill-Protector { background-color: var(--attribute-Protector); }
.attribute-pill-Striker { background-color: var(--attribute-Striker); }


.attribute-pill-Hothead {
/* Disposition Colors */
    background-color: #e36566;
.attribute-pill-disposition-1 { background-color: var(--attribute-disposition-1); }
        color: white;
.attribute-pill-disposition-2 { background-color: var(--attribute-disposition-2); }
}
.attribute-pill-disposition-3 { background-color: var(--attribute-disposition-3); }
 
.attribute-pill-Mascot {
    background-color: #f6b560;
        color: white;
}
 
.attribute-pill-Mastermind {
    background-color: #71b7af;
        color: white;
}


.attribute-pill-Protector {
/* Invert unreadable icons */
    background-color: #d2a3ba;
.attribute-pill-Insatiability img,
        color: white;
.attribute-pill-Peace img,
.attribute-pill-Weakness img {
filter: invert();
}
}


.attribute-pill-Striker {
.theme-fandomdesktop-light .attributeicon img {
    background-color: #fa9269;
filter: invert();
        color: white;
}
}


.attribute-area-icon {
.attribute-area-icon {
    width: 32px;
width: 32px;
    height: 32px;
height: 32px;
    background-color: white;
background-color: white;
    border-radius: 50%;
border-radius: 50%;
    display: inline-flex;
display: inline-flex;
    align-items: center;
align-items: center;
    justify-content: center;
justify-content: center;
    margin-right: 5px;
margin-right: 5px;
    position: relative;
position: relative;
    border: 2px solid #989daf;
border: 2px solid #989daf;
}
}

Latest revision as of 12:23, 26 July 2026

.attribute-pill {
	--attribute-Beauty: #88cec6;
	--attribute-Change: #a0a9f4;
	--attribute-Competition: linear-gradient(90deg, rgba(213, 67, 68, 1) 0%, rgba(86, 112, 176, 1) 100%);
	--attribute-Dark: #734e9d;
	--attribute-Hate: #a893dd;
	--attribute-Insatiability: #c5db7d;
	--attribute-Joy: #f68481;
	--attribute-Light: #f8b430;
	--attribute-Love: #eda1b6;
	--attribute-Memory: #8ec0e8;
	--attribute-Oblivion: #aab4da;
	--attribute-Peace: #deceb0;
	--attribute-Pride: #b27ad3;
	--attribute-Prosperity: #fa8d43;
	--attribute-Reality: #959595;
	--attribute-Regret: #775378;
	--attribute-Right: #5bb8e7;
	--attribute-Satiation: #f5a77d;
	--attribute-Strength: #87b5f3;
	--attribute-Ugliness: #7c93aa;
	--attribute-War: #964545;
	--attribute-Weakness: #b6d0e7;
	
	--attribute-Blaster: #9c749d;
	--attribute-Cherubim: #fff;
	--attribute-Cherubim--text: #bba479;
	--attribute-Explorer: #9fc47b;
	--attribute-Gladiator: #bba479;
	--attribute-Hothead: #e36566;
	--attribute-Mascot: #f6b560;
	--attribute-Mastermind: #71b7af;
	--attribute-Protector: #d2a3ba;
	--attribute-Striker: #fa9269;
	
	--attribute-disposition-1: #798fe1;
	--attribute-disposition-2: #bd93e1;
	--attribute-disposition-3: #798fe1;/* replace with lvl3 color when known */

	display: inline-flex;
	align-items: center;
	border-radius: 16px;
	padding: 0 8px;
	height: 25px;
	margin: 2px;
	background-color: var(--theme-color-5);
	line-height: 1;
	position: relative;
}

.attribute-pill a,
.attribute-pill .mw-selflink {
	color: white;
	font-weight: 600;
}

.theme-fandomdesktop-light .attribute-pill-Cherubim,
.theme-fandommobile-light .attribute-pill-Cherubim {
	box-shadow: 0px 0px 3px var(--attribute-Cherubim--text);
}

/* Aspect Colors */
.attribute-pill-Beauty { background-color: var(--attribute-Beauty); }
.attribute-pill-Change { background-color: var(--attribute-Change); }
.attribute-pill-Competition { background: var(--attribute-Competition); }
.attribute-pill-Dark { background-color: var(--attribute-Dark); }
.attribute-pill-Hate { background-color: var(--attribute-Hate); }
.attribute-pill-Insatiability { background-color: var(--attribute-Insatiability); }
.attribute-pill-Insatiability a { color: black; }
.attribute-pill-Joy { background-color: var(--attribute-Joy); }
.attribute-pill-Light { background-color: var(--attribute-Light); }
.attribute-pill-Love { background-color: var(--attribute-Love); }
.attribute-pill-Memory { background-color: var(--attribute-Memory); }
.attribute-pill-Oblivion { background-color: var(--attribute-Oblivion); }
.attribute-pill-Peace { background-color: var(--attribute-Peace); }
.attribute-pill-Peace a { color: black; }
.attribute-pill-Pride { background-color: var(--attribute-Pride); }
.attribute-pill-Prosperity { background-color: var(--attribute-Prosperity); }
.attribute-pill-Regret { background-color: var(--attribute-Regret); }
.attribute-pill-Reality { background-color: var(--attribute-Reality); }
.attribute-pill-Right { background-color: var(--attribute-Right); }
.attribute-pill-Satiation { background-color: var(--attribute-Satiation); }
.attribute-pill-Strength { background-color: var(--attribute-Strength); }
.attribute-pill-Ugliness { background-color: var(--attribute-Ugliness); }
.attribute-pill-War { background-color: var(--attribute-War); }
.attribute-pill-Weakness { background-color: var(--attribute-Weakness); }
.attribute-pill-Weakness a { color: black; }

/* Trait Colors */
.attribute-pill-Blaster { background-color: var(--attribute-Blaster); }
.attribute-pill-Cherubim { background-color: var(--attribute-Cherubim); }
.attribute-pill-Cherubim a { color: var(--attribute-Cherubim--text) !important; }
.attribute-pill-Explorer { background-color: var(--attribute-Explorer); }
.attribute-pill-Gladiator { background-color: var(--attribute-Gladiator); }
.attribute-pill-Hothead { background-color: var(--attribute-Hothead); }
.attribute-pill-Mascot { background-color: var(--attribute-Mascot); }
.attribute-pill-Mastermind { background-color: var(--attribute-Mastermind); }
.attribute-pill-Protector { background-color: var(--attribute-Protector); }
.attribute-pill-Striker { background-color: var(--attribute-Striker); }

/* Disposition Colors */
.attribute-pill-disposition-1 { background-color: var(--attribute-disposition-1); }
.attribute-pill-disposition-2 { background-color: var(--attribute-disposition-2); }
.attribute-pill-disposition-3 { background-color: var(--attribute-disposition-3); }

/* Invert unreadable icons */
.attribute-pill-Insatiability img,
.attribute-pill-Peace img,
.attribute-pill-Weakness img {
	filter: invert();
}

.theme-fandomdesktop-light .attributeicon img {
	filter: invert();
}

.attribute-area-icon {
	width: 32px;
	height: 32px;
	background-color: white;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 5px;
	position: relative;
	border: 2px solid #989daf;
}