Jump to navigation Jump to search

MediaWiki:Common.css: Difference between revisions

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


Line 18: Line 20:


.wikitable th {
.wikitable th {
     background-color: #7fb7e8; /* Sky blue header */
     background-color: #7fb7e8; /* Sky blue background for headers */
     font-weight: bold;
     font-weight: bold;
    color: white; /* White text in the header */
}
}



Revision as of 20:15, 22 April 2025

/* Custom styles for wikitable */
.wikitable {
    border-collapse: collapse;
    margin: 10px 0;
    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 {
    border: 1px solid #a3c9e2; /* Light blue border */
    padding: 8px;
    text-align: left;
    background-color: #cce4f7; /* Light sky blue background */
    color: white; /* White text for all cells */
}

.wikitable th {
    background-color: #7fb7e8; /* Sky blue background for headers */
    font-weight: bold;
    color: white; /* White text in the header */
}

.wikitable tr:nth-child(even) {
    background-color: #e1f2fb; /* Very light sky blue for even rows */
}

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