MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: Reverted |
||
| Line 2: | Line 2: | ||
img { | img { | ||
filter: none !important; | filter: none !important; | ||
} | } | ||
.collapsible-header { | .collapsible-header { | ||
Revision as of 13:51, 4 February 2025
/* CSS placed here will be applied to all skins */
img {
filter: none !important;
}
.collapsible-header {
cursor: pointer;
font-weight: bold;
padding: 8px;
background-color: #e6e6e6;
border-radius: 5px;
margin-bottom: 5px;
}
.collapsible-header::before {
content: "▶ ";
}
.collapsible-header.active::before {
content: "▼ ";
}
.collapsible-content {
display: none;
padding-left: 15px;
}
.collapsible-subheader {
cursor: pointer;
font-weight: bold;
padding-left: 10px;
}
.collapsible-subheader::before {
content: "▶ ";
}
.collapsible-subheader.active::before {
content: "▼ ";
}
.collapsible-subcontent {
display: none;
padding-left: 20px;
}
/* Make main menu sections collapsible */
.collapsible-header {
cursor: pointer;
font-weight: bold;
padding: 5px;
border-bottom: 1px solid #ddd;
}
.collapsible-content {
display: none;
padding-left: 10px;
}
/* Make submenus collapsible */
.collapsible-subheader {
cursor: pointer;
font-weight: bold;
padding: 5px;
margin-left: 10px;
border-bottom: 1px solid #ccc;
}
.collapsible-subcontent {
display: none;
padding-left: 20px;
}