MediaWiki:Vector.css: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will affect users of the Vector skin: div#mw-panel div.portal h5 { Font-size: .80em; }")
 
m (add #ca-unwatch.icon a setting to match existing #ca-watch.icon a)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Vector skin */
/* CSS placed here will affect users of the Vector skin */
div#mw-panel div.portal h5 { Font-size: .80em; }
 
 
/* needed to keep content border top from extending too far left  */
div#mw-head-base {
  margin-left: 11.5em; /* for Vector centering project  */
}
 
/* for view history items - less wrapping from Vector centering */
ul#pagehistory  {
  font-size: .8em;
}
 
/* line height of items in diff of history pg    */
table.diff  {
  line-height: 1.2;  /* was 1.6  */
}
 
/* needed to keep content border bottom from extending too far left  */
div#footer  { 
  margin-left: 11em; 
}
 
/* move sidebar items to left */
div#mw-panel.collapsible-nav .portal {
  margin-left: 1px;
}
 
#p-logo  {
  width: 11em;
}
 
/* next to give headings greater distinction -- slightly bolder, slightly larger  */
 
div#mw-panel div.portal h3  {  
  font-size: .80em;
  font-weight: 600;
}
 
 
/* ************************************************* */
/* add origami bar for h1, color change for h2, and make room for new logo */
.mw-body h1  {
    color: #050D9E;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url(images/4/4c/OrigamiBar_87.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    border-bottom: none;
    height: 100%;
}
 
.mw-body h2  { 
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    border-bottom: 2px solid #AAA;
}
 
div#content #firstHeading  {
        padding-bottom: .75em;
        margin-bottom: 1em;
}
 
/* prep for new logo  */
div#mw-panel  {
  top: 100px;
}
 
div#p-logo  {
  top:-125px;
  left:-15px;
}
 
/* change/move logo (LocalSettings.php names logo file)  */
div#p-logo a  {
  height:110px;
  width:11em;
}
 
/* ************************************************* */
/* Web team changes  */
 
/* move, enlarge, change color & font of top row of links  */
div#p-personal  {
  top:9px;
  font-family: 'Open Sans', sans-serif;
}
 
div#p-personal ul li {
  font-size:1em;
  margin-left:2em;
}
 
div#p-personal ul li a,
div#p-personal ul li a:visited,
div#p-personal ul li a.new,
div#p-personal ul li a.new.visited {
  color:#000000;
}
 
div#mw-head    {
  top:1em;
}
 
div#mw-head-base    {
  height:7em;
}
 
/* space bet top links and row of tabs below  */
#left-navigation    {
  margin-top:3.5em;
}
 
#right-navigation    {
  margin-top:3.5em;
}
 
/* ************************************************* */
 
/* changes to reduce excess height of tabs (overwrites some of above)  */
div#mw-head-base    {
  height:6.5em;
}
 
div.vectorTabs    {
  height:2em;
}
 
div.vectorTabs span a  {
  padding-top:1em;
}
 
div.vectorTabs ul li {
  line-height:.7em;
}
 
div.vectorTabs li a  {
  height:1.5em;
}
 
#ca-watch.icon a, #ca-unwatch.icon a  {
  padding-top:2.4em;
}
 
div#mw-head div.vectorMenu h3 {
  height:2em;
}
 
div.vectorMenu h3 span {
  font-size:.8em; 
  padding-top:1em;
}
 
div.vectorMenu h3 a {
  height:2.3em;
}
 
div#p-search form  {
  margin-top:.2em;
}
 
div#simpleSearch  {
  height:1.4em;
  margin-top:0;
}
 
div#simpleSearch input#searchInput {
  padding-top:.25em;
  font-size:.85em;
}
 
/* **************************************************************** */
 
 
/* added to accommodate M'wiki changes between v23 and v28  */
 
code {
  border:0px none;
  padding:0px;
  color:inherit;
}

Latest revision as of 01:21, 26 September 2018

/* CSS placed here will affect users of the Vector skin */


/* needed to keep content border top from extending too far left  */
div#mw-head-base { 
   margin-left: 11.5em; /* for Vector centering project  */
}

/* for view history items - less wrapping from Vector centering */
ul#pagehistory  {
   font-size: .8em;
}

/* line height of items in diff of history pg    */
table.diff  {
   line-height: 1.2;   /* was 1.6  */
}

/* needed to keep content border bottom from extending too far left  */
div#footer  {   
   margin-left: 11em;   
}

/* move sidebar items to left */ 
div#mw-panel.collapsible-nav .portal {
   margin-left: 1px;
}

#p-logo  { 
   width: 11em; 
}

/* next to give headings greater distinction -- slightly bolder, slightly larger  */ 

div#mw-panel div.portal h3  { 
   font-size: .80em;
   font-weight: 600;
}


/* ************************************************* */
/* add origami bar for h1, color change for h2, and make room for new logo */
.mw-body h1  {
    color: #050D9E;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url(images/4/4c/OrigamiBar_87.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    border-bottom: none;
    height: 100%;
}

.mw-body h2  {   
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    border-bottom: 2px solid #AAA;
}

div#content #firstHeading  {
        padding-bottom: .75em;
        margin-bottom: 1em;
}

/* prep for new logo  */
div#mw-panel  {
   top: 100px;
}

div#p-logo  {
   top:-125px;
   left:-15px;
}

/* change/move logo (LocalSettings.php names logo file)  */
div#p-logo a  {
   height:110px;
   width:11em;
}

/* ************************************************* */
/* Web team changes   */

/* move, enlarge, change color & font of top row of links  */
div#p-personal  {
   top:9px;
   font-family: 'Open Sans', sans-serif;
}

div#p-personal ul li {
   font-size:1em;
   margin-left:2em;
}

div#p-personal ul li a, 
div#p-personal ul li a:visited, 
div#p-personal ul li a.new, 
div#p-personal ul li a.new.visited {
   color:#000000;
}

div#mw-head    {
   top:1em;
}

div#mw-head-base    {
   height:7em;
}

/* space bet top links and row of tabs below  */
#left-navigation    {
   margin-top:3.5em;
}

#right-navigation    {
   margin-top:3.5em;
}

/* ************************************************* */

/* changes to reduce excess height of tabs (overwrites some of above)  */
div#mw-head-base    {
   height:6.5em;
}

div.vectorTabs    {
   height:2em;
}

div.vectorTabs span a   {
   padding-top:1em;
}

div.vectorTabs ul li {
   line-height:.7em;
}

div.vectorTabs li a   {
   height:1.5em;
}

#ca-watch.icon a, #ca-unwatch.icon a  {
   padding-top:2.4em;
}

div#mw-head div.vectorMenu h3 {
   height:2em;
}

div.vectorMenu h3 span {
   font-size:.8em;  
   padding-top:1em;
}

div.vectorMenu h3 a {
   height:2.3em;
}

div#p-search form  {
   margin-top:.2em;
}

div#simpleSearch  {
   height:1.4em;
   margin-top:0;
}

div#simpleSearch input#searchInput {
   padding-top:.25em;
   font-size:.85em;
}

/* **************************************************************** */


/* added to accommodate M'wiki changes between v23 and v28  */

code {
   border:0px none; 
   padding:0px; 
   color:inherit;
}