Difference between revisions of "MediaWiki:Vector.css"

From Drawn to Life Wiki
Line 28: Line 28:
 
/*Postion of main page content*/
 
/*Postion of main page content*/
 
#mw-head-base {
 
#mw-head-base {
     margin-top: 11em;
+
     margin-top: 16em;
 
}
 
}
 
/*Position of top page controls*/
 
/*Position of top page controls*/
Line 52: Line 52:
 
     float: right;
 
     float: right;
 
     padding-right: 10px;
 
     padding-right: 10px;
 +
}
 +
/*Removes white bar under top bar*/
 +
#mw-page-base {
 +
    display: none;
 
}
 
}
 
   /*******************/
 
   /*******************/

Revision as of 23:45, 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: 16em;
}
/*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;
}
/*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 */
/********************/