Difference between revisions of "MediaWiki:Common.css"

From LinnDocs
Jump to: navigation, search
m
m
Line 33: Line 33:
 
div.vectorTabs ul li#ca-nstab-user {
 
div.vectorTabs ul li#ca-nstab-user {
 
     display: none!important;
 
     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: 20px !important;
 +
background-image: url('//docs.linn.co.uk/wiki/images/f/f7/SmallArrowRight.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: 20px !important;
 +
background-image: url('//docs.linn.co.uk/wiki/images/f/f7/SmallArrowDown.png');
 +
background-repeat: no-repeat;
 +
background-position: left center;
 
}
 
}

Revision as of 08:51, 29 March 2019

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

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

.noautonum .tocnumber {
    display: none;
}

/* history tab */

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

/* 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: 20px !important;
 background-image: url('//docs.linn.co.uk/wiki/images/f/f7/SmallArrowRight.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: 20px !important;
 background-image: url('//docs.linn.co.uk/wiki/images/f/f7/SmallArrowDown.png');
 background-repeat: no-repeat;
 background-position: left center;
}