No edit summary
No edit summary
Line 19: Line 19:
/* General Wikitable Styling */
/* General Wikitable Styling */
table.wikitable {
table.wikitable {
     border-collapse: separate; /* Allows rounded corners to work */
     border-collapse: separate;
     border-spacing: 0;
     border-spacing: 0;
     border: 4px solid #2b2b2b; /* Darker gray border */
     border: 4px solid #2b2b2b;
     border-radius: 8px; /* Rounded corners for the entire table */
     border-radius: 8px;
     overflow: visible; /* Ensures tooltip can extend beyond table */
     overflow: visible; /* Ensures tooltip can extend beyond table */
     font-family: "Georgia", serif; /* Georgia font for the entire table */
     font-family: "Georgia", serif;
     color: #c1c1c1; /* Default text color */
     color: #c1c1c1;
     background-color: #4c4c4c; /* Background color */
     background-color: #4c4c4c;
}
}


/* Styling for table cells */
/* Styling for table cells */
table.wikitable th, table.wikitable td {
table.wikitable th, table.wikitable td {
     padding: 12px 16px; /* Extra padding for readability */
     padding: 12px 16px;
     border: 1px solid #666666; /* Slightly darker border */
     border: 1px solid #666666;
     color: #c1c1c1; /* Text color for data cells */
     color: #c1c1c1;
     font-size: 1.15em; /* Increased font size */
     font-size: 1.15em;
}
}


/* Alternating row colors */
/* Alternating row colors */
table.wikitable tr:nth-child(even) {
table.wikitable tr:nth-child(even) {
     background-color: #333333; /* Darker gray for even rows */
     background-color: #333333;
}
}


table.wikitable tr:nth-child(odd) {
table.wikitable tr:nth-child(odd) {
     background-color: #4d4d4d; /* Lighter gray for odd rows */
     background-color: #4d4d4d;
}
}


/* Table header styling */
/* Table header styling */
table.wikitable th {
table.wikitable th {
     background-color: #595959; /* Header background color */
     background-color: #595959;
     color: #ffffff; /* White text for contrast */
     color: #ffffff;
     font-weight: bold;
     font-weight: bold;
     font-size: 1.3em;
     font-size: 1.3em;
     font-family: "Georgia", serif; /* Apply Georgia font to headers */
     font-family: "Georgia", serif;
     border: 1px solid #666666; /* Darker gray border for header cells */
     border: 1px solid #666666;
}
}


/* Rounded corners for specific cells */
/* Rounded corners for specific cells */
table.wikitable tr:first-child th:first-child {
table.wikitable tr:first-child th:first-child {
     border-top-left-radius: 8px; /* Top-left rounded corner */
     border-top-left-radius: 8px;
}
}


table.wikitable tr:first-child th:last-child {
table.wikitable tr:first-child th:last-child {
     border-top-right-radius: 8px; /* Top-right rounded corner */
     border-top-right-radius: 8px;
}
}


table.wikitable tr:last-child td:first-child {
table.wikitable tr:last-child td:first-child {
     border-bottom-left-radius: 8px; /* Bottom-left rounded corner */
     border-bottom-left-radius: 8px;
}
}


table.wikitable tr:last-child td:last-child {
table.wikitable tr:last-child td:last-child {
     border-bottom-right-radius: 8px; /* Bottom-right rounded corner */
     border-bottom-right-radius: 8px;
}
}


Line 78: Line 78:
     border-collapse: separate;
     border-collapse: separate;
     width: auto;
     width: auto;
     overflow: visible; /* Allow tooltips to extend beyond table bounds */
     overflow: visible;
     border-radius: 8px; /* Retain rounded corners */
     border-radius: 8px;
}
}


Line 90: Line 90:
     padding: 0;
     padding: 0;
     border: 1px solid black;
     border: 1px solid black;
     overflow: visible; /* Allow tooltip to extend beyond cell bounds */
     overflow: visible;
}
}


Line 96: Line 96:
.tooltip-cell .tooltip-text {
.tooltip-cell .tooltip-text {
     visibility: hidden;
     visibility: hidden;
     width: 375px; /* Fixed width for consistent tooltip size */
     width: 375px;
     max-width: none;
     max-width: none;
     padding: 10px;
     padding: 10px;
     background: #333; /* Background color for readability */
     background: transparent !important; /* Ensures transparent background */
    color: #fff; /* Text color */
     border: none;
     border-radius: 5px;
     position: absolute;
     position: absolute;
     z-index: 1000; /* High z-index to ensure tooltip appears above content */
     z-index: 1000;
     top: -10px; /* Positioned slightly above the hovered image */
     top: -10px;
     left: 105%; /* Tooltip appears to the right of the cell */
     left: 105%;
     opacity: 0;
     opacity: 0;
     transition: opacity 0.3s;
     transition: opacity 0.3s;
     box-sizing: border-box;
     box-sizing: border-box;
     white-space: nowrap; /* Prevents wrapping */
     white-space: nowrap;
}
}


/* Tooltip images */
/* Tooltip images */
.tooltip-cell .tooltip-text img {
.tooltip-cell .tooltip-text img {
     width: 100%; /* Make image take up full width of tooltip container */
     width: 100%;
     height: auto; /* Maintain aspect ratio */
     height: auto;
     display: block;
     display: block;
     margin: 0 auto;
     margin: 0 auto;
     border: none !important; /* Ensures no borders around tooltip images */
     border: none !important;
     background: none;
     background: none;
}
}

Revision as of 19:53, 27 October 2024

/* General page styling adjustments */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { 
    display: none; 
}

.mw-page-title-main .mw-namespace {
    display: none;
}

.page-header h1.firstHeading {
    display: none;
}

#ca-nstab-main, body.mw-anonuser #ca-history, body.mw-anonuser #ca-view,
body.mw-anonuser #ca-viewsource, body.mw-anonuser #ca-login {
    display: none !important;
}

/* General Wikitable Styling */
table.wikitable {
    border-collapse: separate;
    border-spacing: 0;
    border: 4px solid #2b2b2b;
    border-radius: 8px;
    overflow: visible; /* Ensures tooltip can extend beyond table */
    font-family: "Georgia", serif;
    color: #c1c1c1;
    background-color: #4c4c4c;
}

/* Styling for table cells */
table.wikitable th, table.wikitable td {
    padding: 12px 16px;
    border: 1px solid #666666;
    color: #c1c1c1;
    font-size: 1.15em;
}

/* Alternating row colors */
table.wikitable tr:nth-child(even) {
    background-color: #333333;
}

table.wikitable tr:nth-child(odd) {
    background-color: #4d4d4d;
}

/* Table header styling */
table.wikitable th {
    background-color: #595959;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.3em;
    font-family: "Georgia", serif;
    border: 1px solid #666666;
}

/* Rounded corners for specific cells */
table.wikitable tr:first-child th:first-child {
    border-top-left-radius: 8px;
}

table.wikitable tr:first-child th:last-child {
    border-top-right-radius: 8px;
}

table.wikitable tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

table.wikitable tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

/* Tooltip table styling */
.tooltip-table,
.wikitable {
    border-collapse: separate;
    width: auto;
    overflow: visible;
    border-radius: 8px;
}

/* Table cell styling for tooltip table */
.tooltip-table td,
.wikitable td {
    position: relative;
    text-align: center;
    vertical-align: middle;
    padding: 0;
    border: 1px solid black;
    overflow: visible;
}

/* Tooltip styling */
.tooltip-cell .tooltip-text {
    visibility: hidden;
    width: 375px;
    max-width: none;
    padding: 10px;
    background: transparent !important; /* Ensures transparent background */
    border: none;
    position: absolute;
    z-index: 1000;
    top: -10px;
    left: 105%;
    opacity: 0;
    transition: opacity 0.3s;
    box-sizing: border-box;
    white-space: nowrap;
}

/* Tooltip images */
.tooltip-cell .tooltip-text img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: none !important;
    background: none;
}

/* Show tooltip on hover */
.tooltip-cell:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Image styling for main table cell */
.tooltip-cell img {
    display: inline-block;
    margin: 0 auto;
    padding: 0;
    width: 50px;
    border: none;
    background: none;
}