Difference between revisions of "Template:Dmbox/styles.css"
(Adding protection template) |
Dinoguy1000 (talk | contribs) m (1 revision imported: mass import/update of Wikipedia stuff) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
/* {{pp-template}} */ | /* {{pp-template}} */ | ||
− | + | .dmbox { | |
− | + | display: flex; | |
+ | align-items: center; | ||
clear: both; | clear: both; | ||
margin: 0.9em 1em; | margin: 0.9em 1em; | ||
border-top: 1px solid #ccc; | border-top: 1px solid #ccc; | ||
border-bottom: 1px solid #ccc; | border-bottom: 1px solid #ccc; | ||
− | + | padding: 0.25em 0.35em; | |
+ | font-style: italic; | ||
+ | } | ||
+ | .dmbox > * { | ||
+ | flex-shrink: 0; | ||
+ | margin: 0 0.25em; | ||
+ | } | ||
+ | .dmbox-body { | ||
+ | flex-grow: 1; | ||
+ | flex-shrink: 1; | ||
+ | padding: 0.1em 0; | ||
+ | } | ||
+ | .dmbox-invalid-type { | ||
+ | text-align: center; | ||
} | } |
Latest revision as of 23:45, 1 April 2023
/* {{pp-template}} */
.dmbox {
display: flex;
align-items: center;
clear: both;
margin: 0.9em 1em;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
padding: 0.25em 0.35em;
font-style: italic;
}
.dmbox > * {
flex-shrink: 0;
margin: 0 0.25em;
}
.dmbox-body {
flex-grow: 1;
flex-shrink: 1;
padding: 0.1em 0;
}
.dmbox-invalid-type {
text-align: center;
}