MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After saving, 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.
/* ============================================================================
* Borrowed from TheiPhoneWiki
* ============================================================================
*/
/* Flex boxes
* -- Each <div> will have equal width
*/
.flex {
display: flex;
flex-direction: row;
}
.flex > div {
flex: 1 1 0;
padding-right: 4px;
}
.flex > div:last-child {
padding-right: 0px !important;
}
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
b.letters {
word-wrap: break-word;
}
img {
width: 100%;
height: auto;
}
.wikitable {
text-align: center;
}
/* Thx iPhone Wiki */
.internal-software-notice {
background-color: #FBB;
border: 3px solid #F55;
margin-bottom: 0.5em;
text-align: center;
width: 100%;
padding: 8px;
}