Difference between revisions of MediaWiki:Vector.css

Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


.vectorTabs li {  
.vectorTabs li {  
image: linear-gradient(to top,#ffff990,#e8f2f8 1px,#ffffff 100%)
background-image: linear-gradient(to top,#ffff990,#e8f2f8 1px,#ffffff 100%);
}
}



Revision as of 10:06, 18 May 2020

/* CSS placed here will affect users of the Vector skin */

.vectorTabs li { 
background-image: linear-gradient(to top,#ffff990,#e8f2f8 1px,#ffffff 100%);
}




/*#content { background-color: #e6ffb4; } - changes the background color of the content of articles/pages, including the title of the articles.-->

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

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

#catlinks { background-color: #e6ffb4; } - 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: #e6ffb4; } - in general the body is equal to the whole screen. However if you set a background color with it, it covers areas where there isn't any other element with specific background color set. In case of the Vector skin it affects the area under the page content and on the left of it.*/