Difference between revisions of "MediaWiki:Vector.css"
From Drawn to Life Wiki
| Line 11: | Line 11: | ||
#p-logo { | #p-logo { | ||
top: -25em; | top: -25em; | ||
| − | left: | + | left: 49vw; |
margin-left: -9.5em; | margin-left: -9.5em; | ||
position: absolute; | position: absolute; | ||
Revision as of 23:20, 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: 49vw;
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 */
/********************/