Jump to content

MediaWiki:Common.css: Difference between revisions

From The Final Nights
No edit summary
No edit summary
Line 3: Line 3:
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
/* Infobox */
/* Infobox */
.infobox,
/* Final Infobox Reset */
.infobox th,
@media screen {
.infobox td,
    table.infobox,
.infobox tr {
    .infobox tr,
    border: 0 none !important;
    .infobox th,
    border-style: none !important;
    .infobox td {
    background-color: transparent !important;
        background-color: transparent !important;
    background: none !important;
        background: none !important;
    box-shadow: none !important;
        border: 0 !important;
}
        border-style: none !important;
 
        box-shadow: none !important;
table.infobox {
        /* Force text color to dark gray/black */
    border: 1px solid #a2a9b1 !important;
        color: #202122 !important;
    background-color: #f8f9fa !important;
        font-family: sans-serif !important;
    border-collapse: collapse !important;
        white-space: normal !important;
    display: table !important;
     }
    width: 22em;
    float: right;
    margin: 0 0 1em 1em;
}
 
.infobox-separator {
    border-top: 1px solid #aaa !important;
     display: table-cell !important;
}


.infobox-header {
    table.infobox {
    background-color: #cedff2 !important;
        background-color: #f8f9fa !important;
}
        border: 1px solid #a2a9b1 !important;
        border-collapse: collapse !important;
        width: 22em;
        float: right;
        margin: 0 0 1em 1em;
    }


@media screen {
    .infobox-header {
  .infobox,
        background-color: #cedff2 !important;
  .infobox tr,
        font-weight: bold;
  .infobox th,
     }
  .infobox td {
    background-color: transparent !important;
    background: none !important;
    border: none !important;
    font-family: sans-serif !important; /* Forces it out of the 'code' monospace font */
     white-space: normal !important;  /* Prevents it from behaving like a <pre> block */
  }


  table.infobox {
    .infobox-separator {
    background-color: #f8f9fa !important;
        border-top: 1px solid #aaa !important;
    border: 1px solid #a2a9b1 !important;
        height: 0;
    display: table !important;
    }
  }
}
}

Revision as of 17:48, 13 May 2026

/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
/* Infobox */
/* Final Infobox Reset */
@media screen {
    table.infobox,
    .infobox tr,
    .infobox th,
    .infobox td {
        background-color: transparent !important;
        background: none !important;
        border: 0 !important;
        border-style: none !important;
        box-shadow: none !important;
        /* Force text color to dark gray/black */
        color: #202122 !important;
        font-family: sans-serif !important;
        white-space: normal !important;
    }

    table.infobox {
        background-color: #f8f9fa !important;
        border: 1px solid #a2a9b1 !important;
        border-collapse: collapse !important;
        width: 22em;
        float: right;
        margin: 0 0 1em 1em;
    }

    .infobox-header {
        background-color: #cedff2 !important;
        font-weight: bold;
    }

    .infobox-separator {
        border-top: 1px solid #aaa !important;
        height: 0;
    }
}