MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Styles for tables with the class 'wikitable' */ table.wikitable { background-color: #252525; /* Match body background color */ color: #e6e6e6; /* Match body text color */ border: 1px solid #444241; /* Border color */ border-collapse: collapse; /* Collapse borders */ width: 100%; /* Full width of the container */ } /* Styles for table headers */ table.wikitable th { background-color: #343434; /* Match content background color */ color: #e6e6e6; /* Match text color */ border: 2px solid #e6e6e6; /* Border color for headers */ padding: 8px; /* Padding inside header cells */ text-align: left; /* Align text to the left */ } /* Styles for table data cells */ table.wikitable td { background-color: #252525; /* Match body background color */ color: #e6e6e6; /* Match text color */ border: 2px solid #e6e6e6; /* Border color for data cells */ padding: 8px; /* Padding inside data cells */ } /* Styles for even table rows */ table.wikitable tr:nth-child(even) td { background-color: #343434; /* Match content background color */ } /* Styles for links within the table */ table.wikitable a { color: #90b7f9; /* Match link color */ } table.wikitable a:visited { color: #7a94bf; /* Adjusted for contrast */ } table.wikitable a:hover { color: #c70039; /* Match hover link color */ text-decoration: underline; /* Underline links on hover */ }