Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* 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; /* Ensures tooltips extend outside table bounds */
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; /* Fixed width for consistent tooltip size */
max-width: none;
padding: 0 !important; /* Ensures no padding around tooltip content */
margin: 0; /* Removes any margin around tooltip */
background: transparent !important; /* Ensures transparent background */
border: none;
position: absolute;
z-index: 1000;
top: -10px;
left: 100%; /* Places tooltip closer to cell edge */
opacity: 0;
transition: opacity 0.3s;
box-sizing: border-box; /* Ensures padding doesn’t affect container size */
white-space: nowrap;
}
/* Tooltip images */
.tooltip-cell .tooltip-text img {
width: 100%; /* Ensures image fills the tooltip container */
height: auto; /* Maintains natural aspect ratio */
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;
}
/* Media query: Move tooltip above when viewport height is under 600px */
@media (max-height: 600px) {
.tooltip-cell .tooltip-text {
top: auto;
bottom: 100%; /* Position tooltip above */
margin-bottom: 10px; /* Slight spacing when above */
}
}