Template:Nmbox/styles.css: Difference between revisions
Jump to navigation
Jump to search
m Reverted edits by 84.17.39.176 (talk) to last version by TheDJ |
Abra Saghast (talk | contribs) m 11 revisions imported: Trying again with Templates and Modules—Importing Mbox style Templates ({{Mbox}} and {{Ambox}}) |
||
| (6 intermediate revisions by 5 users not shown) | |||
| Line 19: | Line 19: | ||
.nmbox .mbox-image { | .nmbox .mbox-image { | ||
display: inline-block; | display: inline-block; | ||
padding-right: 1em; | |||
} | } | ||
.nmbox-text { | .nmbox-text { | ||
Latest revision as of 13:02, 17 October 2022
.nmbox {
clear: both;
background: #f8f9fa;
border: 1px solid #AAA;
box-sizing: border-box;
margin: 2px 0;
padding: 0;
}
.nmbox * {
box-sizing: border-box;
}
.nmbox-header {
background: #eaecf0;
padding: 4px 0.5em;
font-weight: bold;
text-align: center;
white-space: nowrap
}
.nmbox .mbox-image {
display: inline-block;
padding-right: 1em;
}
.nmbox-text {
border-top: 1px solid #AAA;
width: 100%;
padding: 4px 0.5em;
}
@media screen and (min-width: 768px) {
.nmbox-header {
display: table-cell;
border-right: 1px solid #AAA;
width: 1%;
}
.nmbox-text {
border-top: none;
display: table-cell;
}
}