Difference between revisions of "MediaWiki:Common.css"

From Dan Shearer CV
 
(63 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  +
  +
/**** However the following only applies to Timeless Skin ****/
  +
  +
@media {
  +
#mw-content-block {
  +
display: block;
  +
}
  +
#content-bottom-stuff {
  +
margin-top: 2em;
  +
margin-left: 2em;
  +
}
  +
#mw-content{
  +
margin-top: 10em;
  +
margin-left: 1em;
  +
// margin-right: 1em;
  +
}
  +
#mw-content-wrapper {
  +
float: right;
  +
//margin-left: 1em;
  +
margin-bottom: 1em;
  +
width: 100%;
  +
}
  +
#mw-related-navigation {
  +
float: top;
  +
width: 100%;
  +
padding: 0em;
  +
}
  +
div.color-middle {
  +
margin-right: 0;
  +
}
  +
.mw-wiki-logo {
  +
display: inline-block;
  +
}
  +
}
  +
  +
  +
/* Don't be too wide on mobile phones */
  +
/* Width optimization: Prevents too narrow appearance on mobile phones */
  +
@media (max-width:850px) {
  +
#mw-content { padding: 0.5em 0.5em 3em; }
  +
#firstHeading { width: 100%; }
  +
#mw-header-container { padding: 3.75em 0.5em 0.35em; }
  +
#site-navigation h2 { left: 0.5em; }
  +
#p-logo-text { left: 3em; }
  +
#user-tools h2 { right: 1em; }
  +
#site-tools h2 { right: 4em; }
  +
}
  +
  +
  +
   
 
/* "!important" in the following means "not anonymous users". Like you, noseypoker! */
 
/* "!important" in the following means "not anonymous users". Like you, noseypoker! */
  +
 
/* Do not display Discussion/talk tab */
 
/* Do not display Discussion/talk tab */
 
#ca-talk { display:none!important; }
 
#ca-talk { display:none!important; }
Line 14: Line 65:
 
/* no view source tab*/
 
/* no view source tab*/
 
#ca-viewsource { display:none!important; }
 
#ca-viewsource { display:none!important; }
/* */
 
/* */
 
 
/* whole footer */
 
/* whole footer */
 
/*#footer-info { display: none;!important; }*/
 
/*#footer-info { display: none;!important; }*/
Line 21: Line 70:
   
 
.printfooter { display: none;!important; }
 
.printfooter { display: none;!important; }
 
   
 
/* For CategoryTree, do not display JQuery message of "None found" every time it gets to a leaf node */
 
/* For CategoryTree, do not display JQuery message of "None found" every time it gets to a leaf node */
Line 31: Line 79:
 
}
 
}
   
#content-bottom-stuff {
+
//#content-bottom-stuff {
display: none;!important;
+
//display: none;!important;
}
+
//}

Latest revision as of 18:02, 21 February 2022

/* CSS placed here will be applied to all skins */

/**** However the following only applies to Timeless Skin ****/

@media {
  #mw-content-block {
    display: block;
  }
  #content-bottom-stuff {
    margin-top: 2em;
    margin-left: 2em;
  }
  #mw-content{
    margin-top: 10em;
    margin-left: 1em;
//    margin-right: 1em;
  }
  #mw-content-wrapper {
    float: right;
    //margin-left: 1em;
    margin-bottom: 1em;
    width: 100%;
  }
  #mw-related-navigation {
    float: top;
    width: 100%;
    padding: 0em;
  }
  div.color-middle {
    margin-right: 0;
  }
  .mw-wiki-logo {
  	display: inline-block;
  }
}


/* Don't be too wide on mobile phones */
/* Width optimization: Prevents too narrow appearance on mobile phones */
@media (max-width:850px) {
  #mw-content  { padding: 0.5em 0.5em 3em; }
  #firstHeading { width: 100%; }
  #mw-header-container { padding: 3.75em 0.5em 0.35em; }
  #site-navigation h2 { left: 0.5em; }
  #p-logo-text { left: 3em; }
  #user-tools h2 { right: 1em; }
  #site-tools h2 { right: 4em; }
}




/* "!important" in the following means "not anonymous users". Like you, noseypoker! */

/* Do not display Discussion/talk tab */
#ca-talk { display:none!important; }
/* Do not display Page tab, which has Delete, Move and Protect. */
#p-cactions { display:none!important; }
/* User page tab (the Page tab on personal user pages) */
#ca-nstab-user { display:none!important; } 
/* 	View history/History tab  */
#ca-history { display:none!important; }
/*the Watch tab for adding the page to the watchlist  */
#ca-watch { display:none!important; } 
/* no view source tab*/
#ca-viewsource { display:none!important; } 
/* whole footer */
/*#footer-info { display: none;!important; }*/
/*#mw-footer-container { display: none;!important; }*/

.printfooter { display: none;!important; }

/* For CategoryTree, do not display JQuery message of "None found" every time it gets to a leaf node */
.CategoryTreeNotice{display:none;}

/* No Right hand navigation menu */
#mw-related-navigation {
display: none;!important;
}

//#content-bottom-stuff {
//display: none;!important;
//}