MediaWiki:Common.css: Difference between revisions

From Dev Wiki
Jump to navigation Jump to search
(Split up styles a bit)
(Further update styles)
Line 5: Line 5:
pre, .mw-code, code {
pre, .mw-code, code {
     background-color: #f5fcff;
     background-color: #f5fcff;
}
pre, .mw-code {
    border-color: #666666;
}
code {
     border-color: #999999;
     border-color: #999999;
}
}
Line 23: Line 16:
     border: thin solid #eaecf0;
     border: thin solid #eaecf0;
}
}


.wiki-template-box.tip {
.wiki-template-box.tip {

Revision as of 14:46, 6 May 2020

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


/* Styling for code snippets. */
pre, .mw-code, code {
    background-color: #f5fcff;
    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;
}