Difference between revisions of "MediaWiki:Common.css"

From LinnDocs
Jump to: navigation, search
m
m
Line 24: Line 24:
 
margin-right: auto !important;
 
margin-right: auto !important;
 
   max-width: 1000px;
 
   max-width: 1000px;
 +
}
 +
#bodyContent {
 +
z-index: 10;
 +
}
 +
#mw-navigation {
 +
margin-right: auto !important;
 +
max-width: 1190px;
 +
        min-width: 1000px;
 +
position: absolute;
 +
top: 0;
 +
        left: 50%;
 +
        margin-left: -500px;
 +
}
 +
div#mw-panel {
 +
position: relative;
 +
left: 0;
 +
margin-left: -190px;
 +
        width:160px;
 +
}
 +
div#mw-head {
 +
position: relative;
 +
        right: 0;
 +
        margin-right: 0;
 +
        max-width: 1000px;
 
}
 
}
  

Revision as of 14:15, 25 July 2019

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

/*.tocnumber { display: none; } */

.noautonum .tocnumber {
    display: none;
}

/* upper blue line */
#mw-head-base {
	margin-left: 200px !important;
	margin-right: auto !important;
  max-width: 1000px !important;
}
/* lower blue line + footer content */
#footer {
	margin-left: 200px !important;
	margin-right: auto !important;
  max-width: 1000px !important;
}
/* main content */
#content {
	margin-left: 200px !important;
	margin-right: auto !important;
  max-width: 1000px;
}
#bodyContent {
	z-index: 10;
}
#mw-navigation {
	margin-right: auto !important;
	max-width: 1190px;
        min-width: 1000px;
	position: absolute;
	top: 0;
        left: 50%;
        margin-left: -500px;
}
div#mw-panel {
	position: relative;
	left: 0;
	margin-left: -190px;
        width:160px;
}
div#mw-head {
	position: relative;
        right: 0;
        margin-right: 0;
        max-width: 1000px;
}

/* history tab */

div.vectorTabs ul li#ca-history {visibility: hidden;}

div.vectorTabs ul li#ca-nstab-main { display:none!important; } 

/* Source code tab*/
div.vectorTabs ul li#ca-viewsource { visibility: hidden;} 

/* Hide discussion tab */

div.vectorTabs ul li#ca-talk {  display: none!important;}

/*User Read tab */

/*div.vectorTabs ul  li#ca-view { display:none!important; }*/

/* User Page tab */

div.vectorTabs ul li#ca-nstab-user {
    display: none!important;
}

/* Add arrows to toggle-blocks for collapsible elements */
.mw-collapsible-toggle-expanded.mw-collapsible-arrowtoggle,
.mw-collapsible-toggle-expanded .mw-collapsible-arrowtoggle {
 padding-left: 50px !important;
 background-image: url('//docs.linn.co.uk/wiki/images/d/dd/SmallArrowDown.png');
 background-repeat: no-repeat;
 background-position: left center;
}
.mw-collapsible-toggle-collapsed.mw-collapsible-arrowtoggle,
.mw-collapsible-toggle-collapsed .mw-collapsible-arrowtoggle {
 padding-left: 50px !important;
 background-image: url('//docs.linn.co.uk/wiki/images/f/f7/SmallArrowRight.png');
 background-repeat: no-repeat;
 background-position: left center;
}