MediaWiki:Common.css: Difference between revisions

From Dev Wiki
Jump to navigation Jump to search
(Add code snippet style)
(Add more classes to style)
Line 3: Line 3:


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

Revision as of 14:40, 6 May 2020

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


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


/* 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;
}