Toggle search
Search
Toggle menu
Notifications
Toggle personal menu
Editing
Template:MessageBox/doc
(section)
Template page
Views
Read
Edit source
View history
associated-pages
Template
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Design== Some communities may wish to customize the appearance of the mboxes. The most common styling options are provided illustrated in CSS. <syntaxhighlight lang="css" class="mw-collapsible mw-collapsed"> .mbox { /* the background of the entire box */; background-color: ; /* the border color of the entire box */ border-color: ; /* the border thickness of the entire box */ border-width: ; /* the default thick left border color; note this can be changed from within the template implementations using the "color" parameter */ border-left-color: ; /* the rounded-ness of the corners */; border-radius: ; /* the baseline font-size of the mbox */ font-size: ; } .mbox__content { /* the padding inside the mbox */ padding: ; } .mbox__content__image { /* the minimum width of the mbox's image (if bigger, use the "imagewidth" parameter in the template) */ width: ; /* the spacing to the left of the text (i.e., the right of the image) */ padding-right: ; } .mbox__content__text__comment { /* the size of the text in the "comment" parameter */ font-size: ; } .mbox__content__aside { /* any particular modifications to the "aside" area can go here */ /* the maximum width of the aside area */ width: ; } .mbox__close { /* the appearance of the close symbol here */ } .mbox__close:after { /* overwrite "content" here if you do not wish for the close symbol to be Γ */ content: ''; } .mw-collapsed + .mbox__close { /* modifications to the close symbol when the box is closed */ } .mw-collapsed + .mbox__close:after { /* overwrite "content" here if you do not wish for the close symbol to be + when the box is closed */ content: ''; } </syntaxhighlight> ; Technical notes * Additional inline styles to the root <code>.mbox</code> element can be achieved via the <code>style</code> parameter in the template.
Summary:
Please note that all contributions to Snowpiercer Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
Snowpiercer Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)