Difference between revisions of "MediaWiki:Vector.css"
From Drawn to Life Wiki
| Line 32: | Line 32: | ||
/*Position of top page controls*/ | /*Position of top page controls*/ | ||
#mw-head { | #mw-head { | ||
| − | top: | + | top: 19em; |
| + | } | ||
| + | /*Moves edit buttons, etc, down*/ | ||
| + | .mw-body { | ||
| + | padding: 4.25em 1.5em 1.5em 1.5em; | ||
} | } | ||
/********************/ | /********************/ | ||
Revision as of 00:15, 18 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: 16em;
}
/*Position of top page controls*/
#mw-head {
top: 19em;
}
/*Moves edit buttons, etc, down*/
.mw-body {
padding: 4.25em 1.5em 1.5em 1.5em;
}
/********************/
/* 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;
}
/*Removes white bar under top bar*/
#mw-page-base {
display: none;
}
/*******************/
/* End Top Nav Bar */
/*******************/
/****************/
/* Side Nav Bar */
/****************/
#mw-panel {
top: 25em;
}
/********************/
/* End Side Nav Bar */
/********************/