MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Styles for collapsible sections */
.collapsible-section {
margin-bottom: 15px;
border: 1px solid #ccc;
padding: 5px;
width: 90%;
margin-left: auto;
margin-right: auto;
border-radius: 5px;
background-color: #f9f9f9;
}
.collapsible-header {
font-weight: bold;
cursor: pointer;
margin-bottom: 5px;
text-align: left; /* Ensures the header is aligned to the left */
padding: 5px 10px;
background-color: #e0e0e0;
border-radius: 3px;
}
.mw-collapsible-content {
margin-top: 10px;
}
.mw-collapsible.mw-collapsed .mw-collapsible-content {
display: none;
}