Difference between revisions of "MediaWiki:Common.css"
From S.H.O.
(9 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
.tocnumber { 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; | ||
} | } |
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; }