MediaWiki:Common.css

From Camera-wiki.org
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Common CSS for all skins */


/**
 * TOC styles 
 * based on http://www.mediawiki.org/wiki/MediaWiki:Common.css
 * -----------------------------------------------------------
 */
 
/* Give a bit of space to the TOC */
#toc {
	margin: 1em 0;
}
 
/**
 * Allow limiting of which header levels are shown in a TOC;
 * <div class="toclimit-3">, for instance, will limit to
 * showing ==headings== and ===headings=== but no further.
 * Used in [[Template:TOCright]]
 */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
	display: none;
}
 
/*<pre><nowiki>*/

/* Removes useless links from printout */
@media print {
    #privacy, #about, #disclaimer, #quickbar, #topbar, #footer, #siteNotice, .editsection, .toctoggle{
        display: none;
}
    a.external.text:after {
        display: none !important;
    }
    a.external.autonumber:after {
        display: none !important;
    }
    a {
        background: none !important;
        padding: 0 !important;
    }
}

# For collapsible tables
table.collapsed tr.collapsable {
	display: none;
}


 
.collapseButton {		/* 'show'/'hide' buttons created dynamically by the		*/
	float: right;		/* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
	font-weight: normal;	/* are styled here so they can be customised.		  */
	text-align: right;
	width: auto;
}

/* For NavFrames. */
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position: absolute;
    top: 0;
    right: 3px;
    font-weight: normal;
    font-size: 90%;
}


/*</nowiki></pre>*/

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

/* flickr badge */
.flickr_badge_uber_wapper { margin-top: 4px; }