Difference between revisions of "MediaWiki:Vector.css"
From Drawn to Life Wiki
| Line 10: | Line 10: | ||
/*Left and right positions*/ | /*Left and right positions*/ | ||
#p-logo { | #p-logo { | ||
| − | top: | + | top: -25em; |
left: 50vw; | left: 50vw; | ||
margin-left: -9.5em; | margin-left: -9.5em; | ||
| Line 18: | Line 18: | ||
#p-logo a { | #p-logo a { | ||
width: 23em; | width: 23em; | ||
| − | height: | + | height: 20em; |
} | } | ||
/************/ | /************/ | ||
| Line 56: | Line 56: | ||
/* End Top Nav Bar */ | /* End Top Nav Bar */ | ||
/*******************/ | /*******************/ | ||
| + | /****************/ | ||
| + | /* Side Nav Bar */ | ||
| + | /****************/ | ||
| + | #mw-panel { | ||
| + | top: 25em; | ||
| + | } | ||
| + | /********************/ | ||
| + | /* End Side Nav Bar */ | ||
| + | /********************/ | ||
Revision as of 23:17, 17 November 2020
/* All CSS here will be loaded for users of the Vector skin */
/***************************************************************/
/* Shifts page contents down to achieve desired logo position. */
/***************************************************************/
/********/
/* Logo */
/********/
/*Left and right positions*/
#p-logo {
top: -25em;
left: 50vw;
margin-left: -9.5em;
position: absolute;
}
/*Image size*/
#p-logo a {
width: 23em;
height: 20em;
}
/************/
/* End Logo */
/************/
/****************/
/* Page Content */
/****************/
/*Postion of main page content*/
#mw-head-base {
margin-top: 11em;
}
/*Position of top page controls*/
#mw-head {
top: 16em;
}
/********************/
/* End Page Content */
/********************/
/***************/
/* Top Nav Bar */
/***************/
/*Widens top bar*/
#p-personal {
right: 0;
top: 0;
position: fixed;
width: 100%;
background-color: aliceblue;
}
/*Text in top bar*/
#p-personal ul {
float: right;
padding-right: 10px;
}
/*******************/
/* End Top Nav Bar */
/*******************/
/****************/
/* Side Nav Bar */
/****************/
#mw-panel {
top: 25em;
}
/********************/
/* End Side Nav Bar */
/********************/