No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/* 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 {
.mw-page-title-main .mw-namespace {
Line 9: Line 12:
}
}


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


body.mw-anonuser #ca-view {
/* General Wikitable Styling */
    display: none !important;
}
 
body.mw-anonuser #ca-viewsource {
    display: none !important;
}
body.mw-anonuser #ca-login {
    display: none !important;
}
 
/* Apply alternating colors, padding, rounded corners, and Georgia font to all tables */
table.wikitable {
table.wikitable {
     border-collapse: separate; /* Allows border-radius to work */
     border-collapse: collapse; /* Allows border-radius to work correctly */
     border: 4px solid #2b2b2b; /* Darker gray border */
     border: 4px solid #2b2b2b; /* Darker gray border */
     border-radius: 8px; /* Rounded corners for the entire table */
     border-radius: 8px; /* Rounded corners for the entire table */
     overflow: hidden; /* Ensures content respects rounded corners */
     overflow: visible; /* Ensures tooltip can extend beyond table */
     font-family: "Georgia", serif; /* Georgia font for the entire table */
     font-family: "Georgia", serif; /* Georgia font for the entire table */
     color: #c1c1c1; /* Default text color for table */
     color: #c1c1c1; /* Default text color */
     background-color: #4c4c4c; /* Default background color for table */
     background-color: #4c4c4c; /* Background color */
     border-spacing: 0; /* Ensures no gaps between cells */
     border-spacing: 0; /* No gaps between cells */
}
}


/* Add extra padding to all table cells (header and data) */
/* Styling for table cells */
table.wikitable th, table.wikitable td {
table.wikitable th, table.wikitable td {
     padding: 12px 16px; /* 12px headroom (top/bottom), 16px side room (left/right) */
     padding: 12px 16px; /* Extra padding for readability */
     border: 1px solid #666666; /* Slightly darker gray border for cells */
     border: 1px solid #666666; /* Slightly darker border */
     color: #c1c1c1; /* Text color for table data cells */
     color: #c1c1c1; /* Text color for data cells */
     font-size: 1.15em; /* Increased font size for table content */
     font-size: 1.15em; /* Increased font size */
}
}


/* Apply 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; /* Darker gray for even rows */
}
}


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


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


/* Only round the top-left and top-right corners of the first row */
/* 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; /* Top-left rounded corner */
}
}


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; /* Top-right rounded corner */
}
}


/* Only round the bottom-left and bottom-right corners of the last row */
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; /* Bottom-left rounded corner */
}
}


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; /* Bottom-right rounded corner */
}
}


/* Tooltip table styling */
/* Tooltip table styling */
.tooltip-table {
.tooltip-table,
  border-collapse: collapse;
.wikitable {
  width: auto;
    border-collapse: collapse;
    width: auto;
    overflow: visible; /* Allow tooltips to extend beyond table bounds */
}
}


.tooltip-table td {
.tooltip-table td,
  position: relative;
.wikitable td {
  text-align: center;
    position: relative;
  vertical-align: middle;
    text-align: center;
  padding: 0;
    vertical-align: middle;
  border: 1px solid black;
    padding: 0;
    border: 1px solid black;
    overflow: visible; /* Allow tooltip to extend beyond cell bounds */
}
}


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


/* Ensure images display properly within tooltip */
/* Tooltip images */
.tooltip-cell .tooltip-text img {
.tooltip-cell .tooltip-text img {
  width: 100%; /* Makes the image take up the full width of the tooltip container */
    width: 100%; /* Make image take up full width of tooltip container */
  height: auto; /* Maintains natural aspect ratio */
    height: auto; /* Maintain aspect ratio */
  display: block;
    display: block;
  margin: 0 auto;
    border: none;
  border: none;
    background: none;
  background: none;
}
}


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


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

Revision as of 19:49, 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: collapse; /* Allows border-radius to work correctly */
    border: 4px solid #2b2b2b; /* Darker gray border */
    border-radius: 8px; /* Rounded corners for the entire table */
    overflow: visible; /* Ensures tooltip can extend beyond table */
    font-family: "Georgia", serif; /* Georgia font for the entire table */
    color: #c1c1c1; /* Default text color */
    background-color: #4c4c4c; /* Background color */
    border-spacing: 0; /* No gaps between cells */
}

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

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

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

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

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

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

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

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

/* Tooltip table styling */
.tooltip-table,
.wikitable {
    border-collapse: collapse;
    width: auto;
    overflow: visible; /* Allow tooltips to extend beyond table bounds */
}

.tooltip-table td,
.wikitable td {
    position: relative;
    text-align: center;
    vertical-align: middle;
    padding: 0;
    border: 1px solid black;
    overflow: visible; /* Allow tooltip to extend beyond cell bounds */
}

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

/* Tooltip images */
.tooltip-cell .tooltip-text img {
    width: 100%; /* Make image take up full width of tooltip container */
    height: auto; /* Maintain aspect ratio */
    display: block;
    border: none;
    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;
}