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.
/* CSS placed here will be applied to all skins */ /* Unvisited links */ #mw-content-text .mw-parser-output a:not(:has(img)) { display: inline-block; padding: 3px 4px; background-color: rgba(0, 0, 0, 0.8); color: yellow; text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black, -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black; text-decoration: none; border-radius: 5px; /* Rounded corners */ font-weight: bold; border: 1px solid #000; /* Border to match background */ transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */ } /* Visited links */ #mw-content-text .mw-parser-output a:visited:not(:has(img)) { color: gold; text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black, -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black; font-weight: bold; background-color: rgba(50, 50, 50, 0.8); } /* Hovered links */ #mw-content-text .mw-parser-output a:hover:not(:has(img)) { text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black, -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black; font-weight: bold; background-color: rgba(0, 0, 0, 0.1); } /* Active links */ #mw-content-text .mw-parser-output a:active:not(:has(img)) { text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black, -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black; font-weight: bold; background-color: rgba(0, 0, 0, 0.05); } .tocnumber { color: white; text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black, -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black; font-weight: bold; } body.mediawiki { background-color: black; color: white; } h1, h2, h3, h4 { color: #ffff00; } div.mw-body, div.mw-body-content, div.mw-head, div.mw-page-base, div.mw-head-base, .noprint, #p-views, #p-namespaces { background-color: black; color: white; } .vectorTabs .selected a, .vectorTabs .selected a:visited, .vectorTabs .collapsible selected a, .vectorTabs .collapsible selected a:visited { background-color: black; color: #ffff00; } .vectorTabs .new a, .vectorTabs .new a:visited, .vectorTabs .collapsible a, .vectorTabs .collapsible a:visited, .vectorMenu > input, .vectorMenu .menu, .vectorTabs li a, .vectorTabs li a:visited { background-color: black; color: #ff0000; } .mw-content-ltr div.magnify a { background-image: url(/wiki/resources/src/mediawiki.skinning/images/magnify-clip-ltr.png?4f704) !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; background-color: black !important; } .wikitable caption { color: #ff0000; } pre { background-color: #111111 !important; color: white; } ul, li { background-color: black !important; } .mw-code, .mw-css { color: white; }