MediaWiki:Common.css

From Terra Invicta Official Wiki
Revision as of 10:11, 16 September 2022 by HHadmin (talk | contribs)

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.
/* CSS placed here will be applied to all skins */

/* SITE COLORS */

#content { background-color: #38373D; } - changes the background color of the content of articles/pages, including the title of the articles.

#bodyContent { background-color: blue; } - changes the background color of the content of pages, without the title of the pages.

#firstHeading { background-color: orange; } - changes the background color only of page titles.

#catlinks { background-color: green; } - changes the background color of the area in which are displayed the links to the categories to which the page belongs. If a page is assigned to categories, they are listed exactly under the content of the page in a rectangular container.

#mw-head-base { background-color: #e6ffb4; } - changes the background color at the top of the screen, the area above the page title. It doesn't affect the color of the page tabs (e.g. Discussion, Edit, etc.).

#mw-panel { background-color: #e6ffb4; } - changes the background color of the menus on the left side of the screen (the area where the links Recent changes, Random page, etc., and the Tools menu are located).

#p-logo { background-color: #e6ffb4; } - sets the background color of the area where the logo is located (the top left corner).

#p-navigation { background-color: #e6ffb4; } - this is for the background color of the Navigation menu in the left column. That's the menu with the links Main page, Recent changes, Random page, Help.

#p-tb { background-color: #e6ffb4; } - changes the background color of the Tools menu in the left column. Both the title of the menu and the links in it are affected.

#p-tb-label { background-color: #e6ffb4; } - changes the background color only of the title of the Tools menu on the left. The color of the actual menu is not changed.

#p-tb .body { background-color: #e6ffb4; } - changes the background color of the Tools menu but without changing the background color of the title of the menu.

#footer { background-color: #e6ffb4; } - this is for the background color of the footer of the site. This includes the area of the meta links (Privacy policy, Disclaimers, etc.), the information about the last modification of the page and how many times it has been accessed, and the icon "Powered by MediaWiki". All the space that's under the footer to the bottom of the screen is not affected.

body { background-color: black; }

/* TEXT COLORS */

#content { color: white }

#content p { color: white }

#content h1 { color: white }

#content h2 { color: white }

/* LINK COLORS */

/* standard link colors */
.mw-body-content a:link { color: #0000FF; } /* normal unvisited links */
.mw-body-content a:link:visited { color: #0B0080; } /* visited links */
.mw-body-content a:link:active { color: #FF0000; } /* active links */
.mw-body-content a:link.new { color: #FF0000; } /* new links */
.mw-body-content a:link.extiw { color: #3366BB; } /* interwiki links */
.mw-body-content a:link.external { color: #3366BB; } /* external links */
.mw-body-content a:link.stub { color: #772233; } /* hovered links */

.mw-body-content a:link {color: #FF0000}
.mw-body-content a:visited {color: #00FF00}
.mw-body-content a:hover {color: #FF00FF}
.mw-body-content a:active {color: #0000FF}