MediaWiki:Attributes.css: Difference between revisions

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


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


Line 58: Line 68:
.attribute-pill-Insatiability { background-color: var(--attribute-Insatiability); }
.attribute-pill-Insatiability { background-color: var(--attribute-Insatiability); }
.attribute-pill-Insatiability a { color: black; }
.attribute-pill-Insatiability a { color: black; }
.attribute-pill-Joy { background-color: var(--attribute-Joy); }
.attribute-pill-Light { background-color: var(--attribute-Light); }
.attribute-pill-Light { background-color: var(--attribute-Light); }
.attribute-pill-Love { background-color: var(--attribute-Love); }
.attribute-pill-Love { background-color: var(--attribute-Love); }
.attribute-pill-Memory { background-color: var(--attribute-Memory); }
.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 { background-color: var(--attribute-Peace); }
.attribute-pill-Peace a { color: black; }
.attribute-pill-Peace a { color: black; }
.attribute-pill-Pride { background-color: var(--attribute-Pride); }
.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-Regret { background-color: var(--attribute-Regret); }
.attribute-pill-Reality { background-color: var(--attribute-Reality); }
.attribute-pill-Right { background-color: var(--attribute-Right); }
.attribute-pill-Right { background-color: var(--attribute-Right); }
.attribute-pill-Satiation { background-color: var(--attribute-Satiation); }
.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-War { background-color: var(--attribute-War); }
.attribute-pill-Weakness { background-color: var(--attribute-Weakness); }
.attribute-pill-Weakness { background-color: var(--attribute-Weakness); }
Line 82: Line 98:
.attribute-pill-Protector { background-color: var(--attribute-Protector); }
.attribute-pill-Protector { background-color: var(--attribute-Protector); }
.attribute-pill-Striker { background-color: var(--attribute-Striker); }
.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 */
/* Invert unreadable icons */
Line 87: Line 108:
.attribute-pill-Peace img,
.attribute-pill-Peace img,
.attribute-pill-Weakness img {
.attribute-pill-Weakness img {
    filter: invert();
filter: invert();
}
}


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


.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;
}