Jump to content

MediaWiki:Common.css: Difference between revisions

From Cult of Flight Wiki
fuck it we take the shit from wikipedia who even gaf anymore
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
.pi-tab-link {
.ambox {
    white-space: normal !important;
}
table.ambox {
    width: 90%;
    margin: 0 auto 2px;
     border: 1px solid #a2a9b1;
     border: 1px solid #a2a9b1;
     border-left: 10px solid #36c;
     border-left: 10px solid #3680b0;
     background-color: #fbfbfb;
     background-color: #f8f9fa;
     box-sizing: border-box;
     box-sizing: border-box;
    border-collapse: separate;
    font-size: 0.875em;
    line-height: 1.5;
    color: #202122;
}
}
table.ambox + table.ambox { margin-top: -1px; }


.ambox td              { border: none; vertical-align: middle; }
.ambox td.mbox-image  { padding: 6px 0 6px 10px; text-align: center; width: 52px; }
.ambox td.mbox-text    { padding: 0.35em 0.6em; width: 100%; color: #202122; }
.ambox td.mbox-text a  { color: #0645ad; }


.ambox + link + .ambox,
table.ambox-notice    { border-left-color: #3680b0; background-color: #eaf3fb; }
.ambox + link + style + .ambox,
table.ambox-content    { border-left-color: #c7a600; background-color: #fef6e7; }
.ambox + link + link + .ambox,
table.ambox-style     { border-left-color: #b08c00; background-color: #fefce8; }
.ambox + .mw-empty-elt + link + .ambox,
table.ambox-speedy    { border-left-color: #b32424; background-color: #fee7e6; }
.ambox + .mw-empty-elt + link + style + .ambox,
table.ambox-delete    { border-left-color: #b32424; background-color: #fff0f0; }
.ambox + .mw-empty-elt + link + link + .ambox {
table.ambox-move      { border-left-color: #7f4db5; background-color: #f3eeff; }
    margin-top: -1px;
table.ambox-protection { border-left-color: #72777d; background-color: #f8f9fa; }
}


 
.ambox.mbox-small-left {
html body.mediawiki .ambox.mbox-small-left {
     margin: 4px 1em 4px 0;
     margin: 4px 1em 4px 0;
    overflow: hidden;
     width: 238px;
     width: 238px;
    max-width: 100%;
     font-size: 88%;
     font-size: 88%;
     line-height: 1.25em;
     line-height: 1.25em;
}
}
 
.compact-ambox table.ambox {
.ambox-speedy {
    border-left: 10px solid #b32424; 
    background-color: #fee7e6;         
}
.ambox-delete {
    border-left: 10px solid #b32424; 
}
.ambox-content {
    border-left: 10px solid #f28500; 
}
.ambox-style {
    border-left: 10px solid #fc3;   
}
.ambox-move {
    border-left: 10px solid #9932cc; 
}
.ambox-protection {
    border-left: 10px solid #a2a9b1; 
}
 
 
.ambox .mbox-text {
    border: none;
    padding: 0.25em 0.5em;
    width: 100%;
}
.ambox .mbox-image {
    border: none;
    padding: 2px 0 2px 0.5em;
    text-align: center;
}
.ambox .mbox-imageright {
    border: none;
    padding: 2px 0.5em 2px 0;
    text-align: center;
}
.ambox .mbox-empty-cell {
     border: none;
     border: none;
    background: transparent;
    margin: 0 0 0 1.6em;
     padding: 0;
     padding: 0;
     width: 1px;
     width: auto;
}
}
.compact-ambox td.mbox-image,
.compact-ambox td.mbox-imageright,
.compact-ambox td.mbox-empty-cell { display: none; }
.compact-ambox td.mbox-text      { padding: 0; color: #202122; }
.hide-when-compact                { display: none; }

Latest revision as of 08:01, 2 April 2026

.pi-tab-link {
    white-space: normal !important;
}
table.ambox {
    width: 90%;
    margin: 0 auto 2px;
    border: 1px solid #a2a9b1;
    border-left: 10px solid #3680b0;
    background-color: #f8f9fa;
    box-sizing: border-box;
    border-collapse: separate;
    font-size: 0.875em;
    line-height: 1.5;
    color: #202122;
}
table.ambox + table.ambox { margin-top: -1px; }

.ambox td              { border: none; vertical-align: middle; }
.ambox td.mbox-image   { padding: 6px 0 6px 10px; text-align: center; width: 52px; }
.ambox td.mbox-text    { padding: 0.35em 0.6em; width: 100%; color: #202122; }
.ambox td.mbox-text a  { color: #0645ad; }

table.ambox-notice     { border-left-color: #3680b0; background-color: #eaf3fb; }
table.ambox-content    { border-left-color: #c7a600; background-color: #fef6e7; }
table.ambox-style      { border-left-color: #b08c00; background-color: #fefce8; }
table.ambox-speedy     { border-left-color: #b32424; background-color: #fee7e6; }
table.ambox-delete     { border-left-color: #b32424; background-color: #fff0f0; }
table.ambox-move       { border-left-color: #7f4db5; background-color: #f3eeff; }
table.ambox-protection { border-left-color: #72777d; background-color: #f8f9fa; }

.ambox.mbox-small-left {
    margin: 4px 1em 4px 0;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
.compact-ambox table.ambox {
    border: none;
    background: transparent;
    margin: 0 0 0 1.6em;
    padding: 0;
    width: auto;
}
.compact-ambox td.mbox-image,
.compact-ambox td.mbox-imageright,
.compact-ambox td.mbox-empty-cell { display: none; }
.compact-ambox td.mbox-text       { padding: 0; color: #202122; }
.hide-when-compact                 { display: none; }