Jump to navigation Jump to search

MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 4: Line 4:
     margin: 10px 0;
     margin: 10px 0;
     font-size: 14px;
     font-size: 14px;
    width: auto; /* Remove fixed width */
    font-family: Arial, sans-serif; /* Clear font */
    text-rendering: optimizeLegibility; /* Improve text clarity */
    -webkit-font-smoothing: antialiased; /* Smooth text in Webkit browsers */
    -moz-osx-font-smoothing: grayscale; /* Smooth text in Firefox */
}
}


.wikitable th, .wikitable td {
.wikitable th, .wikitable td {
     border: 1px solid #a3c9e2; /* Light blue border */
     border: 1px solid #ddd;
     padding: 8px;
     padding: 8px;
     text-align: left;
     text-align: left;
     background-color: #cce4f7; /* Light sky blue background */
     background-color: #1b5295;
     color: white; /* White text for all cells */
     color: white;
}
}


.wikitable th {
.wikitable th {
     background-color: #7fb7e8; /* Sky blue background for headers */
     background-color: #7497c1;
     font-weight: bold;
     font-weight: bold;
     color: white; /* White text in the header */
     color: white;
}
 
.wikitable tr:nth-child(even) {
    background-color: #e1f2fb; /* Very light sky blue for even rows */
}
}


.wikitable tr:hover {
.wikitable tr:hover {
     background-color: #d0e7f9; /* Hover effect with slightly darker blue */
     background-color: #f1f1f1;
}
}

Revision as of 20:16, 22 April 2025

/* Custom styles for wikitable */
.wikitable {
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 14px;
}

.wikitable th, .wikitable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    background-color: #1b5295;
    color: white;
}

.wikitable th {
    background-color: #7497c1;
    font-weight: bold;
    color: white;
}

.wikitable tr:hover {
    background-color: #f1f1f1;
}