MediaWiki:Common.css: Difference between revisions

From Dev Wiki
Jump to navigation Jump to search
(Update code snippet style)
(Split up styles a bit)
Line 5: Line 5:
pre, .mw-code, code {
pre, .mw-code, code {
     background-color: #f5fcff;
     background-color: #f5fcff;
}
pre, .mw-code {
     border-color: #666666;
     border-color: #666666;
}
code {
    border-color: #999999;
}
}



Revision as of 14:45, 6 May 2020

/* CSS placed here will be applied to all skins */


/* Styling for code snippets. */
pre, .mw-code, code {
    background-color: #f5fcff;
}

pre, .mw-code {
    border-color: #666666;
}

code {
    border-color: #999999;
}


/* General styles for template boxes. */
.wiki-template-box {
    padding: 5px;
    margin: 0.5em;
    background-color: #f8f9fa;
    border: thin solid #eaecf0;
}

.wiki-template-box.tip {
    background-color: #ddffdd;
    border-color: #bbddbb;
}


.wiki-template-box.note {
    background-color: #ddddff;
    border-color: #bbbbdd;
}


.wiki-template-box.warn {
    background-color: #ffdddd;
    border-color: #ddbbbb;
}