MediaWiki:Module:Documentation.css
Jump to navigation
Jump to search
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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Documentation */
/**
* CSS for [[Module:Documentation]] and [[Template:Documentation]]
*/
/**
* ======================
* Template documentation
* ======================
*/
.template-documentation {
border: 1px solid #CCC;
margin: 1em 0;
}
.template-documentation .template-documentation-header {
background-color: #EEE;
border-color: var(--border, #CCC);
padding: 1em;
}
.template-documentation .template-documentation-langs {
background-color: #F6F6F6;
border-color: #CCC;
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0;
padding: 0;
padding-bottom: 0.5em
}
.template-documentation .template-documentation-langs li {
margin: 0 0 0 1em;
padding: 0.5em 0 0;
}
.template-documentation .template-documentation-langs li.selected {
order: -1;
}
.template-documentation .template-documentation-langs li.selected a {
color: black;
font-weight: bold;
}
.template-documentation .template-documentation-content {
overflow-y: auto;
padding: 1em;
}
.template-documentation .template-documentation-footer {
background-color: #EEE;
border-color: #CCC;
font-size: 100%;
padding: .5em 1em;
text-align: right;
}