MediaWiki:Common.css: Difference between revisions

From Dev Wiki
Jump to navigation Jump to search
(Add code snippet style)
(Add todo style)
 
(4 intermediate revisions by the same user not shown)
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;
    border-color: #999999;
}
}


Line 15: Line 16:
     border: thin solid #eaecf0;
     border: thin solid #eaecf0;
}
}


.wiki-template-box.tip {
.wiki-template-box.tip {
Line 30: Line 32:
.wiki-template-box.warn {
.wiki-template-box.warn {
     background-color: #ffdddd;
     background-color: #ffdddd;
    border-color: #ddbbbb;
}
.wiki-template-box.todo {
    background-color: #fffcf5;
     border-color: #ddbbbb;
     border-color: #ddbbbb;
}
}

Latest revision as of 00:40, 6 July 2023

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


.wiki-template-box.todo {
    background-color: #fffcf5;
    border-color: #ddbbbb;
}