MediaWiki:Common.css: Difference between revisions

From Dev Wiki
Jump to navigation Jump to search
(Split up styles a bit)
(Add todo style)
 
(One intermediate revision by the same user not shown)
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 {
Line 38: 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;
}