Difference between revisions of "MediaWiki:Vector.css"
From Dungeon Defenders 2 Wiki
| Line 8: | Line 8: | ||
div.testdiv { background-color: yellow; } | div.testdiv { background-color: yellow; } | ||
| + | |||
| + | #mw-page-base | ||
| + | { | ||
| + | background-image: url("/images/0/00/Skin_header.png"); | ||
| + | height: 228px; | ||
| + | background-position: top left; | ||
| + | background-repeat: no-repeat; | ||
| + | background-color:transparent; | ||
| + | position: absolute; | ||
| + | top: 0; | ||
| + | left: 0; | ||
| + | z-index: 0; | ||
| + | width: 100%; | ||
| + | } | ||
| + | |||
| + | #mw-head-base | ||
| + | { | ||
| + | margin: 0 0 -1px 12em; | ||
| + | height: 5.3em; | ||
| + | padding: 2px 0 0 0; | ||
| + | background-color:transparent; | ||
| + | background-image: none; | ||
| + | border-radius: 0.5em 0 0 0; | ||
| + | background-image: none; | ||
| + | position: relative; | ||
| + | z-index:2; | ||
| + | } | ||
Revision as of 15:38, 20 October 2015
/* CSS placed here will affect users of the Vector skin */
/* set sidebar width */
div#mw-panel { width: 11em; }
div#footer, #mw-head-base, div#content { margin-left: 11em; }
#left-navigation { margin-left: 11em; }
div.testdiv { background-color: yellow; }
#mw-page-base
{
background-image: url("/images/0/00/Skin_header.png");
height: 228px;
background-position: top left;
background-repeat: no-repeat;
background-color:transparent;
position: absolute;
top: 0;
left: 0;
z-index: 0;
width: 100%;
}
#mw-head-base
{
margin: 0 0 -1px 12em;
height: 5.3em;
padding: 2px 0 0 0;
background-color:transparent;
background-image: none;
border-radius: 0.5em 0 0 0;
background-image: none;
position: relative;
z-index:2;
}