MediaWiki:Common.css: Difference between revisions

From Phidgets Support
No edit summary
No edit summary
Line 16: Line 16:
#mw-imagepage-reupload-link {display: none}
#mw-imagepage-reupload-link {display: none}
#mw-imagepage-edit-external {display: none}
#mw-imagepage-edit-external {display: none}
body.page-File h1.firstHeading { display:none; }


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

Revision as of 14:00, 15 March 2012

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// Hides a bunch of stuff on image and file pages.
*/
#filehistory {display: none} /* Hides the "File history" header */
#filelinks {display: none} /* Hides the "Links" header */
.special {display: none} /* Hides the Edit history */
#metadata {display: none} /* Hides the "Metadata" header */
#siteSub {display: none} /* ??????????????? */
#contentSub {display: none} /* ??? */
#mw_metadata {display: none} /* Hides the Metadata graph */
#filetoc { display: none; } /* Hides the table of contents for an image */

#mw-imagepage-linkstoimage {display: none} /* Hides the links to image hopefully */
#mw-imagepage-section-linkstoimage {display: none} /* Hides the links to image hopefully */
#mw-imagepage-section-filehistory {display: none} /* Hides the links to image hopefully */
#mw-imagepage-reupload-link {display: none}
#mw-imagepage-edit-external {display: none}

body.page-File h1.firstHeading { display:none; }

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// Makes the level 4 header italic so it looks different from level 3. 
*/

h4{
font-style: italic;
}

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

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// The following code enables numberless tables of contents.
// When <div class="nonumtoc"> is used on the table of contents, the ToC will display without numbers.
*/

.nonumtoc .tocnumber { display: none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none;
    margin: .3em 0 0;
    padding: 0;
}
.nonumtoc #toc ul ul, 
.nonumtoc .toc ul ul { 
    margin: 0 0 0 2em; 
}

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

/*//////////////////////////////////////////////////////////////////////////////////////////
// Makes the typical source code div container
*/

div.source {
  background-color: #f3f3f3; 
  /*border-color: #1c9edb;*/ 
  /*Fake border:*/
  border-color: #FF00DC; 
  border-width:3px; 
  border-style: dashed;
  padding:6px;
}