MediaWiki:Sitewide.css: Difference between revisions

From ArdaCraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
     border-image-source: url("https://i.imgur.com/VZ6iz24.png");
     border-image-source: url("https://i.imgur.com/VZ6iz24.png");
     margin: 6px 10%;
     margin: 6px 10%;
     padding: 30px;
     padding: 13px;
}
}
.mbox-small {
.mbox-small {

Revision as of 16:09, 15 April 2023

.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: 13px;
}
.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 #a1a9b1;
    padding: 1em;
    background-color: #f9f5eb;
}
.template-documentation__start {
    margin-bottom: 0.9em;
    border-bottom: 1px solid #a1a9b1;
    padding-bottom: 3px;
}
.template-documentation__heading {
    font-size: 1.5em;
    font-weight: bold;
}
.template-documentation__end {
    margin: 7px 0;
    border: 1px solid #a1a9b1;
    padding: 1em;
    font-style: italic;
    background-color: #f9f5eb;
}
.template-documentation__toolbar {
    font-size: 0.8em;
    font-style: normal;
}