MediaWiki:Sitewide.css

From ArdaCraft Wiki
Revision as of 16:06, 15 April 2023 by Skeeveo (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
.mbox {
     display: table;
     border-color: #cfad63 #c9a34f #9c7a30;
     background-image: url("https://i.imgur.com/DMrWf15.png");
     background-clip: content-box;
     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: 15px;
}
.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;
     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 {
     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;
}

/* ===== Documentation (Template:Documentation) ===== */
.template-documentation {
    clear: both;
    margin: 14px 0 0;
    border: 1px solid #383636;
    padding: 1em;
    background-color: #f9f5eb;
}
.template-documentation__start {
    margin-bottom: 0.9em;
    border-bottom: 1px solid #383636;
    padding-bottom: 3px;
}
.template-documentation__heading {
    font-size: 1.5em;
    font-weight: bold;
}
.template-documentation__end {
    margin: 7px 0;
    border: 1px solid #383636;
    padding: 1em;
    font-style: italic;
    background-color: #f9f5eb;
}
.template-documentation__toolbar {
    font-size: 0.8em;
    font-style: normal;
}