More actions
dustloop>TarkusLee Created page with ".infobox-header { width: 100%; padding-top: 15px; border-top: 1px solid; border-color: var(--border-color-base); margin-top: 15px; color: var(--color-base--emphasized); font-size: 1rem; } .infobox tr { display: flex; box-sizing: border-box; flex-direction: column; padding: 0 10px; margin-top: 10px; }" |
dustloop>TarkusLee No edit summary |
||
| Line 15: | Line 15: | ||
padding: 0 10px; | padding: 0 10px; | ||
margin-top: 10px; | margin-top: 10px; | ||
} | |||
/* Mimic infobox styles from Template:Infobox/styles.css */ | |||
/* .infobox tr */ | |||
div.infobox-data { | |||
display: flex; | |||
box-sizing: border-box; | |||
flex-direction: column; | |||
padding: 0 10px; | |||
margin-top: 10px; | |||
} | |||
/* .infobox th, .infobox tdd */ | |||
.infobox-data__label, | |||
.infobox-data__value { | |||
padding: 0 5px; | |||
} | |||
/* .infobox th */ | |||
.infobox-data__label { | |||
color: var( --color-base--subtle ); | |||
font-size: 0.8125rem; | |||
font-weight: normal; | |||
letter-spacing: 0.75px; | |||
} | |||
/* .infobox td */ | |||
.infobox-data__value { | |||
font-weight: bold; | |||
} | } | ||
Revision as of 02:33, 1 January 2023
.infobox-header {
width: 100%;
padding-top: 15px;
border-top: 1px solid;
border-color: var(--border-color-base);
margin-top: 15px;
color: var(--color-base--emphasized);
font-size: 1rem;
}
.infobox tr {
display: flex;
box-sizing: border-box;
flex-direction: column;
padding: 0 10px;
margin-top: 10px;
}
/* Mimic infobox styles from Template:Infobox/styles.css */
/* .infobox tr */
div.infobox-data {
display: flex;
box-sizing: border-box;
flex-direction: column;
padding: 0 10px;
margin-top: 10px;
}
/* .infobox th, .infobox tdd */
.infobox-data__label,
.infobox-data__value {
padding: 0 5px;
}
/* .infobox th */
.infobox-data__label {
color: var( --color-base--subtle );
font-size: 0.8125rem;
font-weight: normal;
letter-spacing: 0.75px;
}
/* .infobox td */
.infobox-data__value {
font-weight: bold;
}