Template:Endorsements box/styles.css: Difference between revisions
Jump to navigation
Jump to search
w>Izno (maybe even 20) |
(No difference)
|
Revision as of 00:36, 3 January 2021
/* {{pp|small=yes}} */
.endorsements-box {
width: 100%;
margin-right: auto;
margin-top: 0.2em;
font-size: 88%;
background: #fdfdfd;
text-align: left;
border: solid 1px silver;
}
.endorsements-box-title {
border-bottom: solid 1px silver;
background: #eee;
font-weight: bold;
padding: 0.3em;
}
.endorsements-box-list {
padding: 0.5em;
background-color: transparent;
}
.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;
}