Template:Endorsements box/styles.css
外观
.endorsements-box {
width: 100%;
margin-right: auto;
margin-top: 0.2em;
font-size: 88%;
background: var(--background-color-neutral-subtle,#fdfdfd);
text-align: left;
border: solid 1px var(--border-color-disabled,silver);
color: inherit;
}
.endorsements-box-title {
border-bottom: solid 1px var(--border-color-disabled,silver);
background: var(--background-color-neutral,#eee);
font-weight: bold;
padding: 0.3em;
color: inherit;
}
.endorsements-box-list {
padding: 0.5em;
}
.endorsements-box-list-columns {
margin-top: 0.3em;
column-width: 20em;
}
.endorsements-box-list-columns dl,
.endorsements-box-list-columns ol,
.endorsements-box-list-columns ul {
margin-top: 0;
}
/* Avoid elements breaking between columns */
.endorsements-box-list-columns li,
.endorsements-box-list-columns dd {
page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
break-inside: avoid-column;
}