Template:Infobox hero/styles.css: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
Samlovesmath (talk | contribs)
Added mobile/minerva fixes; added "-h" prefix to differentiate other infobox styles; spirit/weapon caption color adjustments
Vergir (talk | contribs)
Make the collapsible toggle brackets follow the dropdown header's link color instead of the theme text color (with help from vergir-bot LLM)
 
(15 intermediate revisions by 6 users not shown)
Line 64: Line 64:
width: 100%;
width: 100%;
     max-width: 275px;
     max-width: 275px;
min-width: 250px;
min-width: 240px;
border-collapse: collapse;
border-collapse: collapse;
font-family: 'Retail Demo', 'Open Sans', serif;
font-family: 'Retail Demo', 'Open Sans', serif;
font-size: 16px;
font-size: 15px;
     background-color: var(--th-heroinfobox-color1);
     background-color: var(--th-heroinfobox-color1);
     margin: 0 0 1em 1em;
     margin: 0 0 1em 1em;
Line 100: Line 100:
background-image: linear-gradient(180deg, var(--th-heroinfobox-color1-transparent) var(--th-heroinfobox-bg-grad-point1), var(--th-heroinfobox-color1-grad) var(--th-heroinfobox-bg-grad-height));
background-image: linear-gradient(180deg, var(--th-heroinfobox-color1-transparent) var(--th-heroinfobox-bg-grad-point1), var(--th-heroinfobox-color1-grad) var(--th-heroinfobox-bg-grad-height));
background-color: transparent;
background-color: transparent;
font-size: 16px;
font-size: 15px;
text-align: center;
text-align: center;
text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);
text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);
Line 118: Line 118:
.infobox-h-title{
.infobox-h-title{
color: var(--th-heroinfobox-text-title);
color: var(--th-heroinfobox-text-title);
font-size: 25px;
font-size: 22px;
font-weight: bold;
font-weight: bold;
    text-align: center;
text-shadow: 1.2px 2px 3px black, 1.2px 1.2px 0.1px #A5A5A5;
}
.infobox-h-title-regular{
color: var(--th-heroinfobox-text-title);
font-size: 22px;
font-weight: normal;
     text-align: center;
     text-align: center;
text-shadow: 1.2px 2px 3px black, 1.2px 1.2px 0.1px #A5A5A5;
text-shadow: 1.2px 2px 3px black, 1.2px 1.2px 0.1px #A5A5A5;
Line 129: Line 137:
justify-content: space-between;
justify-content: space-between;
align-items: center;
align-items: center;
min-height: 45px;
min-height: 34px;
margin-top: 4px;
margin-top: 2px;
margin-bottom: var(--th-heroinfobox-logo-bottom);
margin-bottom: var(--th-heroinfobox-logo-bottom);
}
}
Line 206: Line 214:
/* --- Text Before Stats --- */
/* --- Text Before Stats --- */
.infobox-h-text-weapon{
.infobox-h-text-weapon{
padding: 8px 0;
padding: 2px 0;
line-height: 1.35;
line-height: 1.2em;
position: relative;
position: relative;
}
}
Line 213: Line 221:
.infobox-h-text-stat-subtitle > *:first-child,
.infobox-h-text-stat-subtitle > *:first-child,
.infobox-h-text-stat-subtitle-border > *:first-child{
.infobox-h-text-stat-subtitle-border > *:first-child{
margin-top: 8px;
margin-top: 4px;
margin-bottom: 0;
margin-bottom: 0;
text-transform: uppercase;
text-transform: uppercase;
Line 221: Line 229:
}
}
.infobox-h-text-stat-subtitle-border{
.infobox-h-text-stat-subtitle-border{
margin-top: 8px;
margin-top: 2px;
border-top: solid 3px var(--th-heroinfobox-color2);
border-top: solid 2px var(--th-heroinfobox-color2);
}
}


/* ---------- Hero Portrait Image ---------- */
/* ---------- Hero Portrait Image ---------- */
.infobox-h-image > div{
.infobox-h-image > div{
max-width: 190px;
max-width: 150px;
height: auto;
height: auto;
margin: auto;
margin: auto;
Line 239: Line 247:
filter: drop-shadow(2px 3px 2px var(--th-heroinfobox-color2-shadow));
filter: drop-shadow(2px 3px 2px var(--th-heroinfobox-color2-shadow));
clip-path: rect(3px calc(100% - 3px) calc(100% - 3px) 3px round 8px);
clip-path: rect(3px calc(100% - 3px) calc(100% - 3px) 3px round 8px);
}
/* ---------- Hero Tags (Inside Infobox) ---------- */
.infobox-h-herotags-row {
padding: 0;
}
.infobox-h-herotags-inner {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 6px;
padding: 4px 0 6px 0;
}
.infobox-h-herotag-pill {
display: inline-block;
padding: 2px 8px;
border-radius: 4px;
background: var(--th-heroinfobox-stats-back);
font-size: 13px;
font-weight: 600;
color: var(--th-heroinfobox-text-title);
text-transform: uppercase;
letter-spacing: 0.03em;
text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.5);
}
}


Line 247: Line 281:


.infobox-h-subsection {
.infobox-h-subsection {
padding: 0 5px 5px 5px;
padding: 0 2px 2px 2px;
vertical-align: middle;
vertical-align: middle;
}
}
Line 257: Line 291:


.infobox-h-subsection tr{
.infobox-h-subsection tr{
font-size: 15px;
font-size: 14px;
text-align: left;
text-align: left;
line-height: 1.2em;
line-height: 1.1em;
}
}
.infobox-h-subsection tr > td{
.infobox-h-subsection tr > td{
padding-bottom: 5px;
padding-bottom: 2px;
}
}
.infobox-h-subsection tr:first-child > td{
.infobox-h-subsection tr:first-child > td{
padding-top: 5px;
padding-top: 2px;
}
.infobox-h-dropdown .infobox-h-subsection-child tr:first-child > td {
    padding-top: 5px;
}
}
.infobox-h-subsection tr:last-child > td{
.infobox-h-subsection tr:last-child > td{
padding-bottom: 6px;
padding-bottom: 4px;
}
}
.infobox-h-subsection tr > td:first-child{
.infobox-h-subsection tr > td:first-child{
Line 279: Line 316:
vertical-align: top;
vertical-align: top;
}
}
.infobox-h-subsection tr > td:first-child span{
.infobox-h-subsection tr > td:first-child .infobox-h-stat-label{
color: var(--th-heroinfobox-stats-text);
color: var(--th-heroinfobox-stats-text);
text-decoration: underline;
}
}
.infobox-h-subsection tr > td:last-child{
.infobox-h-subsection tr > td:last-child{
Line 292: Line 330:
}
}
.infobox-h-spiritboon:not(:empty){
.infobox-h-spiritboon:not(:empty){
padding-right: 5px;
padding-right: 0;
}
}
.infobox-h-dropdown tr:first-child .infobox-h-spiritboon:not(:empty){
.infobox-h-dropdown tr:first-child .infobox-h-spiritboon:not(:empty){
Line 334: Line 372:
.infobox-h-dropdown-header button .mw-collapsible-text:hover{
.infobox-h-dropdown-header button .mw-collapsible-text:hover{
color: white;
color: white;
}
.infobox-h-dropdown-header > button::before,
.infobox-h-dropdown-header > button::after{
color: inherit;
}
.infobox-h-dropdown-header-overflow a{
display: block;
margin: 2px 65px 2px 5px;
width: fit-content;
line-height: 1.25em;
word-break: break-word;
}
}


Line 375: Line 426:
position: relative;
position: relative;
width: calc(100% - 4px);
width: calc(100% - 4px);
padding: 2px;
padding: 1px;
background-color: var(--th-heroinfobox-header-back);
background-color: var(--th-heroinfobox-header-back);
Line 391: Line 442:
}
}
.infobox-h-content .infotext-h-big{
.infobox-h-content .infotext-h-big{
font-size: 18px;
font-size: 16px;
}
}
.infobox-h-content .infotext-h-bigger{
.infobox-h-content .infotext-h-bigger{
text-shadow: 1.1px 2px 2px black, 1.2px 1.2px 0.2px #7a7369;
text-shadow: 1.1px 2px 2px black, 1.2px 1.2px 0.2px #7a7369;
font-size: 20px;
font-size: 18px;
}
}




/* ------------ Stat Cell Modifiers -------------------*/


/* ------------ Hero Tags -------------------*/
/* Headroom for a section's first row when it carries a scaling icon. */
.infobox-h-herotags{
.infobox-h .infobox-h-dropdown .infobox-h-subsection-child tr > td.infobox-h-stat-label-scaled{
display: flex;
padding-top: 8px;
justify-content: flex-start;
flex-wrap: wrap;
gap: 8px;
column-gap: 10px;
--th-heroinfobox-tags-text: #FFEFD7;
--th-heroinfobox-tags-back: #000000;
}
}


.infobox-h-herotags > div{
/* Breathing room for value cells whose scaling icon sits near the edge. */
display: inline-block;
.infobox-h .infobox-h-dropdown .infobox-h-subsection-child tr > td.infobox-h-stat-value-padded{
position: relative;
padding-right: 5px;
}
 
.infobox-h-herotag-back{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--th-heroinfobox-tags-back);
animation-play-state: paused;
}
 
.infobox-h-herotag-text{
position: relative;
color: var(--th-heroinfobox-tags-text);
font-size: 1.2em;
font-family: "VALVE Pulp", "Open Sans", "serif";
letter-spacing: 0.05em;
text-transform: uppercase;
padding: 2px 7px;
cursor: default;
}
 
/*--- Tag Posing --- */
.infobox-h-herotags > div:nth-child(3n + 1) .infobox-h-herotag-back{
    transform: rotateZ(3deg);
    animation-name: TagGroove1;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}
.infobox-h-herotags > div:nth-child(3n + 2) .infobox-h-herotag-back{
    transform: rotateZ(-3deg);
    animation-name: TagGroove2;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}
.infobox-h-herotags > div:nth-child(3n + 3) .infobox-h-herotag-back{
    transform: rotateZ(4deg);
    animation-name: TagGroove3;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}
 
 
 
 
/*--- Tag Animation (ONLY on Hover) --- */
.infobox-h-herotags:hover .infobox-h-herotag-back{
animation-play-state: running;
}
 
/* --- Tag Keyframes (ripped from game) --- */
@keyframes 'TagGroove1'
{
    0%{
transform: rotateZ(-3deg);
}
    25%{
transform: rotateZ(-3deg);
}
    26%{
transform: rotateZ(2deg);
}
    50%{
        transform: rotateZ(2deg);
    }
    51%{
        transform: rotateZ(-1deg);
    }
    75%{
        transform: rotateZ(-1deg);
    }
    76%{
        transform: rotateZ(0deg);
    }
    100%{
        transform: rotateZ(0deg);
    }
}
 
@keyframes 'TagGroove2'
{
    0%{
transform: rotateZ(3deg);
}
    25%{
transform: rotateZ(3deg);
}
    26%{
transform: rotateZ(-1deg);
}
    50%{
        transform: rotateZ(-1deg);
    }
    51%{
        transform: rotateZ(0deg);
    }
    75%{
        transform: rotateZ(0deg);
    }
    76%{
        transform: rotateZ(2deg);
    }
    100%{
        transform: rotateZ(2deg);
    }
}
 
@keyframes 'TagGroove3'
{
    0%{
transform: rotateZ(-3deg);
}
    25%{
transform: rotateZ(-3deg);
}
    26%{
transform: rotateZ(-1deg);
}
    50%{
        transform: rotateZ(-1deg);
    }
    51%{
        transform: rotateZ(2deg);
    }
    75%{
        transform: rotateZ(2deg);
    }
    76%{
        transform: rotateZ(0deg);
    }
    100%{
        transform: rotateZ(0deg);
    }
}
}

Latest revision as of 10:04, 27 August 2026

/* ========== @MEDIA/MINERVA FIXES/OVERRIDES ========== */
body.skin-minerva .infobox-h table{
    margin: 0;
}
body.skin-minerva .infobox-h table caption{
    text-align: center;
    display: table-caption;
}

@media (max-width: 639px){
	.infobox-h table,
	body.skin-minerva .infobox-h table{
		display: table;
		overflow: visible;
	}
	
	.infobox-h table.infobox-h-content{
		display: table;
	}
}

@media (max-width: 539px){
	body.skin-minerva .infobox-h{
		max-width: 350px;
		margin: 0em auto 1em auto;
		float: none;
	}
	body.skin-minerva .infobox-h-subsection table td{
		width: 50%;
	}
}


/* ========== INFOBOX_HERO CSS ========== */
.infobox-h{
	/* -- variables -- */
	--th-heroinfobox-text-normal: white;
	
	--th-heroinfobox-bg-image: url('/images/3/3e/Infobox_Item_BG.png');
	--th-heroinfobox-bg-height: 700px;
	--th-heroinfobox-bg-margin: 0px;
	--th-heroinfobox-bg-grad-offset: 0px;
	--th-heroinfobox-bg-grad-height: calc(var(--th-heroinfobox-bg-grad-offset) + var(--th-heroinfobox-bg-height));
	--th-heroinfobox-bg-grad-point1: calc(var(--th-heroinfobox-bg-grad-height) * calc(3 / 7));
	--th-heroinfobox-logo-bleed: 0px;
	--th-heroinfobox-logo-bottom: 0px;
	--th-heroinfobox-tags-text: #FFEFD7;
	--th-heroinfobox-tags-back: #000000;
	--th-heroinfobox-color1: #2F2F2F;
	--th-heroinfobox-color1-transparent: color-mix(in srgb, var(--th-heroinfobox-color1) 70%, transparent 30%);
	--th-heroinfobox-color1-grad: #2F2F2F;
	--th-heroinfobox-color2: #5b5b5b;
	--th-heroinfobox-color2-shadow: color-mix(in srgb, var(--th-heroinfobox-color2) 60%, black 20%, transparent 20%);
	
	--th-heroinfobox-text-title: #FFEFD7;
	--th-heroinfobox-stats-text: #F2EDE5;
	--th-heroinfobox-stats-back: #11111180;
	
	--th-heroinfobox-tornbox: url('/images/a/a1/Infobox_UI_Torn-Box.png');

	/* -- base styles -- */
	float: right;
    position: relative;
	width: 100%;
    max-width: 275px;
	min-width: 240px;
	border-collapse: collapse;
	
	font-family: 'Retail Demo', 'Open Sans', serif;
	font-size: 15px;
    background-color: var(--th-heroinfobox-color1);
    margin: 0 0 1em 1em;
}


/* ---------- Background Styling ---------- */
.infobox-h-background {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

/* --- Background Horizontal Positioning --- */
.infobox-h-background > figure{
	margin-right: var(--th-heroinfobox-bg-margin) !important;
}

/* ---------- Content Styling ---------- */
.infobox-h-content {
	position: relative;
	width: 100%;
	top: 0;
	right: 0;
	background-position: center top;
	background-repeat: repeat;
	background-size: cover;
	
	color: var(--th-heroinfobox-text-normal);
	background-image: linear-gradient(180deg, var(--th-heroinfobox-color1-transparent) var(--th-heroinfobox-bg-grad-point1), var(--th-heroinfobox-color1-grad) var(--th-heroinfobox-bg-grad-height));
	background-color: transparent;
	font-size: 15px;
	text-align: center;
	text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);
}

.infobox-h, .infobox-h-background, .infobox-h-content{
	border-radius: 8px;
}

.infobox-h .infobox-h-image {
	margin: auto;
	border: none;
    text-align: center;
}

/* ---------- Top Section (Above Portrait) ---------- */
.infobox-h-title{
	color: var(--th-heroinfobox-text-title);
	font-size: 22px;
	font-weight: bold;
    text-align: center;
	text-shadow: 1.2px 2px 3px black, 1.2px 1.2px 0.1px #A5A5A5;
}

.infobox-h-title-regular{
	color: var(--th-heroinfobox-text-title);
	font-size: 22px;
	font-weight: normal;
    text-align: center;
	text-shadow: 1.2px 2px 3px black, 1.2px 1.2px 0.1px #A5A5A5;
}

.infobox-h-title-hero{
	display: flex;
	position: relative;
	justify-content: space-between;
	align-items: center;
	min-height: 34px;
	margin-top: 2px;
	margin-bottom: var(--th-heroinfobox-logo-bottom);
}

.infobox-h-title-hero-left{
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
}

/* --- Logo/Name --- */
.infobox-h-title-hero-middle{
	position: relative;
	width: 100%;
	font-family: 'Valve Occult', 'Retail Demo', 'Open Sans', serif;
	line-height: 30px; 
	filter: drop-shadow(1px 1px 2px black);
}
.infobox-h-title-hero-middle-text{
	width: calc(100% - 120px);
	margin: 0px 60px;
	line-height: 1em;
	padding-bottom: 4px;
	word-break: break-word;
}
.infobox-h-title-hero-middle > span{
	bottom: 0 !important;
}
.infobox-h-title-hero-middle img{
	margin: var(--th-heroinfobox-logo-bleed);
}

/* --- Map Icon --- */
.infobox-h-title-hero-right{
	position: absolute;
	height: 45px;
	width: auto;
	aspect-ratio: 1;
	top: 0;
	right: 0;
	margin-right: 5px;
}
.infobox-h-title-hero-right > div{
	position: relative;
	width: 100%;
	height: 100%;
}

/* --- Torn Box Behind Map Icon --- */
.infobox-h-title-hero-tornbox{
    position: absolute;
    width: 105%;
    height: 105%;
    top: -2.5%;
    right: -2.5%;
	transform: rotate(-72deg);
    background-color: var(--th-heroinfobox-color2);
    mask-image: var(--th-heroinfobox-tornbox);
    mask-mode: luminance;
    mask-position: 0 0;
    mask-size: 100% 100%;
}

.infobox-h-title-hero-icon{
    position: absolute;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    top: 0;
    right: 0;
	padding: 5px;
	font-size: 16px;
}

/* --- Text Before Stats --- */
.infobox-h-text-weapon{
	padding: 2px 0;
	line-height: 1.2em;
	position: relative;
}

.infobox-h-text-stat-subtitle > *:first-child,
.infobox-h-text-stat-subtitle-border > *:first-child{
	margin-top: 4px;
	margin-bottom: 0;
	text-transform: uppercase;
}
.infobox-h-text-stat-subtitle > *:first-child{
	margin-top: 4px;
}
.infobox-h-text-stat-subtitle-border{
	margin-top: 2px;
	border-top: solid 2px var(--th-heroinfobox-color2);
}

/* ---------- Hero Portrait Image ---------- */
.infobox-h-image > div{
	max-width: 150px;
	height: auto;
	margin: auto;
	padding: 0;
	overflow: hidden;
	border-radius: 8px;
	background-color: var(--th-heroinfobox-color2);
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.infobox-h-image > div img{
	filter: drop-shadow(2px 3px 2px var(--th-heroinfobox-color2-shadow));
	clip-path: rect(3px calc(100% - 3px) calc(100% - 3px) 3px round 8px);
}

/* ---------- Hero Tags (Inside Infobox) ---------- */
.infobox-h-herotags-row {
	padding: 0;
}

.infobox-h-herotags-inner {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px 0 6px 0;
}

.infobox-h-herotag-pill {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	background: var(--th-heroinfobox-stats-back);
	font-size: 13px;
	font-weight: 600;
	color: var(--th-heroinfobox-text-title);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.5);
}



/* ------------ Statistic Subsections -------------------*/
/* note: dropdown is a child of subsection            */

.infobox-h-subsection {
	padding: 0 2px 2px 2px;
	vertical-align: middle;
}

.infobox-h-subsection table{
	table-layout: auto;
	padding: 0 6px;
}

.infobox-h-subsection tr{
	font-size: 14px;
	text-align: left;
	line-height: 1.1em;
}
.infobox-h-subsection tr > td{
	padding-bottom: 2px;
}
.infobox-h-subsection tr:first-child > td{
	padding-top: 2px;
}
.infobox-h-dropdown .infobox-h-subsection-child tr:first-child > td {
    padding-top: 5px;
}
.infobox-h-subsection tr:last-child > td{
	padding-bottom: 4px;
}
.infobox-h-subsection tr > td:first-child{
	width: auto;
	font-family: "Retail Demo Medium", "Retail Demo", 'Open Sans', serif;
	text-shadow: 1.5px 1.5px 0.8px rgba(0,0,0,0.5);
	color: var(--th-heroinfobox-stats-text);
	text-align: right;
	padding-right: 4px;
	vertical-align: top;
}
.infobox-h-subsection tr > td:first-child .infobox-h-stat-label{
	color: var(--th-heroinfobox-stats-text);
	text-decoration: underline;
}
.infobox-h-subsection tr > td:last-child{
	width: max-content;
	padding-left: 4px;
	vertical-align: middle;
}

.infobox-h-spiritboon{
	display: inline-block;
}
.infobox-h-spiritboon:not(:empty){
	padding-right: 0;
}
.infobox-h-dropdown tr:first-child .infobox-h-spiritboon:not(:empty){
	padding-top: 3px;
}

.infobox-h-subsection-child{
	width: 100%;
	font-weight: normal;
	text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);
	background-color: var(--th-heroinfobox-stats-back);
	border-radius: 4px;
}

.infobox-h-dropdown-header > button{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: min-content;
	height: min-content;
	margin: auto 0 auto auto;
	padding-right: 5px;
	text-shadow: inherit;
}

.infobox-h-dropdown-title{
	text-shadow: 0 2px 4px black, 1.2px 1.2px rgba(0, 0, 0, 0.7);
	color: var(--th-heroinfobox-text-normal);
}

.infobox-h-dropdown-header button,
.infobox-h-dropdown-header button .mw-collapsible-text{
	color: var(--th-heroinfobox-header-link);
	font-size: 13px;
	font-weight: bold;
}

.infobox-h-dropdown-header button.mw-collapsible-text:hover,
.infobox-h-dropdown-header button .mw-collapsible-text:hover{
	color: white;
}

.infobox-h-dropdown-header > button::before,
.infobox-h-dropdown-header > button::after{
	color: inherit;
}

.infobox-h-dropdown-header-overflow a{
	display: block;
	margin: 2px 65px 2px 5px;
	width: fit-content;
	line-height: 1.25em;
	word-break: break-word;
}


/* ------------ Dropdown Subsection Only -------------------*/
.infobox-h-dropdown{
	--th-heroinfobox-header-back: #d5903f;
	--th-heroinfobox-header-link: #F4E3CF;
}

.infobox-h-dropdown .infobox-h-subsection-child{
	border-top-right-radius: 0;
	border-top-left-radius: 0;
}

.infobox-h-dropdown .infobox-h-subsection-child:not(.mw-collapsed) .infobox-h-dropdown-header{
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.infobox-h-dropdown tr > td:last-child{
	white-space: nowrap;
}

/*--- Statistic Dropdown Themes --- */
.infobox-h-dropdown-weapon{
	--th-heroinfobox-header-back: #CD8837;
	--th-heroinfobox-header-link: #FFF0DF;
}
.infobox-h-dropdown-vitality{
	--th-heroinfobox-header-back: #74b01c;
	--th-heroinfobox-header-link: #DAFFD2;
}
.infobox-h-dropdown-spirit{
	--th-heroinfobox-header-back: #A657BC;
	--th-heroinfobox-header-link: #ffdff8;
}

/*--- Statistic Dropdown Header --- */
.infobox-h-dropdown-header{
	position: relative;
	width: calc(100% - 4px);
	padding: 1px;
	
	background-color: var(--th-heroinfobox-header-back);
	border-radius: 4px;
}



/* ------------ Subsection Text Themes -------------------*/
.infobox-h-content .infotext-h-bold{
	font-weight: bold;
}
.infobox-h-content .infotext-h-title{
	color: var(--th-heroinfobox-text-title);
}
.infobox-h-content .infotext-h-big{
	font-size: 16px;
}
.infobox-h-content .infotext-h-bigger{
	text-shadow: 1.1px 2px 2px black, 1.2px 1.2px 0.2px #7a7369;
	font-size: 18px;
}


/* ------------ Stat Cell Modifiers -------------------*/

/* Headroom for a section's first row when it carries a scaling icon. */
.infobox-h .infobox-h-dropdown .infobox-h-subsection-child tr > td.infobox-h-stat-label-scaled{
	padding-top: 8px;
}

/* Breathing room for value cells whose scaling icon sits near the edge. */
.infobox-h .infobox-h-dropdown .infobox-h-subsection-child tr > td.infobox-h-stat-value-padded{
	padding-right: 5px;
}