Difference between revisions of "MediaWiki:Common.css"
From S.H.O.
Line 7: | Line 7: | ||
/* See also jquery.makeCollapsible.js */ | /* See also jquery.makeCollapsible.js */ | ||
.mw-collapsible-toggle { | .mw-collapsible-toggle { | ||
− | float: | + | float: center; |
+ | margin: 5px | ||
-moz-user-select: none; | -moz-user-select: none; | ||
-webkit-user-select: none; | -webkit-user-select: none; | ||
-ms-user-select: none; | -ms-user-select: none; | ||
user-select: none; | user-select: none; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Latest revision as of 10:51, 24 September 2016
/* CSS placed here will be applied to all skins */ body.page-HQ.action-view h1.firstHeading, body.page-HQ.action-submit h1.firstHeading { display: none; } .tocnumber { display: none; } /* See also jquery.makeCollapsible.js */ .mw-collapsible-toggle { float: center; margin: 5px -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; } .mw-customtoggle, .mw-collapsible-toggle { cursor: pointer; } /* collapse links in captions should be inline */ caption .mw-collapsible-toggle, .mw-content-ltr caption .mw-collapsible-toggle, .mw-content-rtl caption .mw-collapsible-toggle, .mw-content-rtl .mw-content-ltr caption .mw-collapsible-toggle, .mw-content-ltr .mw-content-rtl caption .mw-collapsible-toggle { float: none; } /* list-items go as wide as their parent element, don't float them inside list items */ li .mw-collapsible-toggle, .mw-content-ltr li .mw-collapsible-toggle, .mw-content-rtl li .mw-collapsible-toggle, .mw-content-rtl .mw-content-ltr li .mw-collapsible-toggle, .mw-content-ltr .mw-content-rtl li .mw-collapsible-toggle { float: none; } /* the added list item should have no list-style */ .mw-collapsible-toggle-li { list-style: none; }