MediaWiki:Common.css
From SUALEX
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.
/* CSS placed here will be applied to all skins */
/* Font */
body {
font-family: "Noto Sans", "Liberation Sans", sans-serif;
}
/* Term styling */
.mention-term {
font-weight: bold !important;
}
/* Cited source styling */
.cited {
display: block;
margin-left: 0;
padding-left: 1.6em;
text-indent: -1.6em;
}
/* Table pager styling */
.table-pager {
font-size: 0.9em;
color: dimgrey;
}
.table-pager .pager-prev,
.table-pager .pager-next {
line-height: 1;
}
.pager-prev,
.pager-next {
padding: 0.3em 0.5em;
border-radius: 0.2em;
font-size: 1em;
cursor: pointer;
}
.pager-prev:disabled,
.pager-next:disabled {
cursor: default;
opacity: 0.2;
}
/* Message box styling */
.mbox {
margin: 1em 0;
padding: 0.6em 1em;
border: 1px solid #a2a9b1;
border-left-width: 10px;
background-color: #f8f9fa;
color: #202122;
font-size: 0.95em;
line-height: 1.4;
max-width: 100%;
box-sizing: border-box;
}
.mbox-title {
font-weight: bold;
margin-bottom: 0.3em;
}
.mbox-info {
border-left-color: #36c;
}
.mbox-warning {
border-left-color: #f28500;
background-color: #fffaf3;
}
.mbox-error {
border-left-color: #d33;
background-color: #fff6f6;
}
.mbox-success {
border-left-color: #14866d;
background-color: #f4fbf9;
}
/* Responsive, horizontally scrollable table */
@media (max-width: 720px) {
.wikitable {
display: block;
overflow-x: auto;
width: 100%;
}
}