MediaWiki:Mbox.css

/* Base CSS classes for mbox copied from https://dev.fandom.com/wiki/MediaWiki:Global_Lua_Modules/Mbox.css */

.mbox { --type-important: rgba(200, 0, 0, 0.8); --type-moderate: rgba(233, 124, 47, 0.8); --type-minor: rgba(241, 197, 37, 0.8); display: flex; position: relative; background-color: #190c00; border:                37px solid transparent; color:                 #fff; border-image:          url(https://vignette.wikia.nocookie.net/theorientalexorcist/images/0/03/The-Oriental-Exorcist-border-box.png/revision/latest); -webkit-border-image:  url(https://vignette.wikia.nocookie.net/theorientalexorcist/images/0/03/The-Oriental-Exorcist-border-box.png/revision/latest);  /* Safari 3.1-5 */ -o-border-image:       url(https://vignette.wikia.nocookie.net/theorientalexorcist/images/0/03/The-Oriental-Exorcist-border-box.png/revision/latest);  /* Opera 11-12.1 */ -moz-border-image:     url(https://vignette.wikia.nocookie.net/theorientalexorcist/images/0/03/The-Oriental-Exorcist-border-box.png/revision/latest);  /* Mozilla */ border-width:          5px; border-image-slice:    10 50 10 50 fill; border-image-width:    9px 37px 9px 37px; border-image-outset:   0; border-image-repeat:   round; margin-bottom: 5px; min-height: 32px; } .mbox__content { display: table; box-sizing: border-box; width: 100%; padding: 8px 15px; } .mbox__content__image { display: table-cell; width: 40px; height: 100%; text-align: center; vertical-align: middle; padding-right: 15px; } .mbox__content__wrapper { display: table-cell; vertical-align: middle; } .mbox__content__header { display: block; font-family: 'Abril Fatface', cursive; font-weight: normal; font-size: x-large; } .mbox__content__text { display: block; font-family: Raleway, sans-serif; font-size: inherit; }

.mbox__content__text__comment { font-size: small; } .mbox__content__aside { display: table-cell; width: 100px; vertical-align: middle; text-align: center; padding-left: 15px; border-left: 1px solid #d6d6d6; } .mbox__close { position: absolute; right: 0; top: 0; padding: 2px 7px; font-weight: bold; font-size: 16px; color: #bbb; cursor: pointer; transition: all .15s ease-in; } .mbox__close:hover { color: #777; } .mbox__close:after { content: ''; /* was 'x' */ } .mw-collapsed + .mbox__close { transform: rotate(45deg); padding: 4px 7px 5px 2px; } /* Wookieepedia-style Mbox demo. */ .mbox--wook { background-color: #7bb0d8; border: none; border-radius: 10px; } .mbox--wook .mbox__close { color: #0c8787; font-weight: normal; font-size: 13px; } .mbox--wook .mbox__close:after { content: '[hide]'; } .mbox--wook .mw-collapsed + .mbox__close { transform: none; padding: 2px 7px; } .mbox--wook .mw-collapsed + .mbox__close:after { content: '[show]'; }

/* Final Fantasy-style Mbox demo. */ .mbox--ff { background-color: #0000a8; border: 4px ridge #c0c0c0; border-radius: 10px; color: #fff; }