MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
.welcome-table {
.welcome-table {
     border: 1px solid #808080;   /* Solid grey border */
    margin: 1em 0;              /* From wikitable */
     border-collapse: collapse;
    background-color: #f8f9fa;  /* From wikitable */
     border: 1px solid #808080; /* Your eras-table, overrides wikitable’s #a2a9b1 */
     border-collapse: collapse; /* From wikitable */
    color: #000;                /* From wikitable */
    width: 100%;                /* Your eras-table */
    table-layout: fixed;        /* Your eras-table */
}
}


.welcome-table th {
.welcome-table th {
     background-color: #9ed5f7;
     background-color: #9ed5f7; /* override wikitable’s #eaecf0 */
    border: 1px solid #a2a9b1;  /* From wikitable */
    padding: 0.2em 0.4em;      /* From wikitable */
    text-align: center;        /* Both wikitable and eras-table */
    font-weight: bold;          /* From wikitable */
    width: 100%;                /* Your eras-table */
    display: table-cell;        /* Your eras-table */
     font-size: 16px;
     font-size: 16px;
    padding-top: 8px;          /* Increased padding on top for header cells */
    border: 1px solid #a2a9b1;
}
}


.welcome-table td {
.welcome-table td {
     background-color: #e3eff9;
     background-color: #e3eff9; /* overrides wikitable’s default */
     vertical-align: top;
     border: 1px solid #a2a9b1; /* From wikitable */
     text-align: center; /* Center the text under the image */
     padding: 10px;              /* Your eras-table, overrides wikitable’s 0.2em 0.4em */
     padding: 8px; /* Add some padding for spacing */
    vertical-align: top;       /* Your eras-table */
     text-align: center;         /* Your eras-table, overrides wikitable’s default */
}
}