MediaWiki:Sitewide.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
.mbox { | .mbox { | ||
display: table; | display: table; | ||
border-color: #cfad63 #c9a34f #9c7a30; | border-color: #cfad63 #c9a34f #9c7a30; | ||
border-radius: 6px; | border-radius: 6px; | ||
Line 16: | Line 14: | ||
} | } | ||
.mbox::before { | .mbox::before { | ||
content: ""; | |||
background-clip: content-box; | background-clip: content-box; | ||
background-size: cover; | |||
background-image: url("https://i.imgur.com/pAgRALF.png"); | background-image: url("https://i.imgur.com/pAgRALF.png"); | ||
} | } |
Revision as of 12:56, 13 April 2023
.mbox { display: table; border-color: #cfad63 #c9a34f #9c7a30; border-radius: 6px; border-style: solid; border-width: 2px 1px; border-image-slice: 52 52 52 52; border-image-width: 15px 15px 15px 15px; border-image-outset: 0px 0px 0px 0px; border-image-repeat: repeat repeat; border-image-source: url("https://i.imgur.com/VZ6iz24.png"); margin: 6px 10%; padding: 6px; } .mbox::before { content: ""; background-clip: content-box; background-size: cover; background-image: url("https://i.imgur.com/pAgRALF.png"); } .mbox-small { clear: right; float: right; font-size: 88%; line-height: 1.2; margin: 6px 1px 6px 12px; width: 230px; } .mbox-small-left { clear: left; float: left; font-size: 88%; line-height: 1.2; margin: 6px 12px 6px 0; width: 230px; } .mbox-inner { display: table-row; } .mbox-image, .mbox-text { display: table-cell; border-color: #1a1712; border-style: solid; border-width: 1px; border-radius: 6px; padding: 4px 1em; vertical-align: middle; } .mbox-image { border-right-width: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; } .mbox-text { width: 100%; margin-left: -200px; } .mbox-image + .mbox-text { border-left-width: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; padding-left: 0; } .mbox-style .mbox-image, .mbox-style .mbox-text { border-color: #a98a35; } .mbox-content .mbox-image, .mbox-content .mbox-text { border-color: #a96427; } .mbox-delete .mbox-image, .mbox-delete .mbox-text { border-color: #c62525; }