MediaWiki:CollapsibleTemplates.css

注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google ChromeFirefoxMicrosoft EdgeSafari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。

/* Styles for collapsible divs to be used in templates.
   Background stolen from Vector menus.
*/
div.collapsibletemplate .headertext {
   padding-left: 18px;
   background: url(//bits.wikimedia.org/w/extensions/Vector/modules/images/open.png) 0 50% no-repeat;
}
div.collapsibletemplate.collapsed .headertext {
   background: url(//bits.wikimedia.org/w/extensions/Vector/modules/images/closed-ltr.png) 0 50% no-repeat;
}
div.collapsibletemplate .header {
   padding: 3px;   
   cursor: pointer;
}
table.collapsible tbody tr th {
   padding-right: 18px;
   background: url(//bits.wikimedia.org/w/extensions/Vector/modules/images/open.png) 99% 50% no-repeat;
}
table.collapsible.collapsed tbody tr th {
   background: url(//bits.wikimedia.org/w/extensions/Vector/modules/images/closed-ltr.png) 99% 50% no-repeat;
   cursor: pointer;
}

.hidden{
   display:none;
}