MediaWiki:Common.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.
/* Generic fixes */ #f-poweredbyico { display: none; } .printfooter { display: none; } .ltr .mw-editsection { float: right; font-size: 0.8em; } .rtl .mw-editsection { float: left; } /* Fonts and colours */ html, body { font-family: sans-serif; /* This is only necessary on mediawiki.org; if you are on another wiki, it's probably better to remove it. */ } div#content h1, div#content h2, div#content #firstHeading { font-family: inherit; /* This should only be necessary on Wikimedia wikis. Third-party MediaWiki apparently doesn't have serif headers, so you can remove this for a third-party wiki. */ } /* Font size */ #bodyContent { font-size: 0.8em; } div#content h1, div#content #firstHeading { font-size: 1.6em; margin-bottom: 0.1em; } div#content h3 { font-size: 132%; } div#content h4 { font-size: 116%; } div#content h5 { font-size: 100%; } div#content h6 { font-size: 80%; } #bodyContent, .mw-body-content, div#content dd, div#content ol, div#content ul, td.diff-context { line-height: 1.5em !important; } /* [[Template:Hatnote]] */ .hatnote { font-style: italic; padding-left: 2em; margin-bottom: 0.5em; } /* Standard navbox formatting: green, round, and shadowed. No other operators. */ .navbox { background-color:#BAF0A5; border-top:solid 2px #BAF0A5; border-left:solid 2px #BAF0A5; border-radius:1em; box-shadow: 5px 5px 5px #777; } /* Indented navbox formatting: slightly lighter green, round, and sunken. No other operators. */ .indbox { background-color:#E2FFCD; border-radius:1em; width:95%; margin:auto; border:solid 2px #CEFFB9; box-shadow:inset 2px 2px 8px #CEFFB9; } /*Standard infobox formatting: rounded black borders. No other operators.*/ .info { border-collapse: separate; border-spacing: 5; border-width: 2px; border-style: solid; border-color: #000; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px; } /*Citspace outer box formatting*/ .citout { background-color:#FAEBD7; border-top:solid 2px #FAEBD7; border-left:solid 2px #FAEBD7; border-radius:1em; padding: 1em; box-shadow: 5px 5px 5px #777; } /*Citspace header box formatting*/ .cithead { background-color:#fae6c2; border-radius:1em; padding:0.5em; margin:auto; border:solid 2px #FDF5E6; box-shadow:inset 2px 2px 8px #FAF0E6; } /*Citspace indented box formatting*/ .citin { background-color:#FDF5E6; border-radius:1em; padding:0.5em; margin:auto; border:solid 2px #FDF5E6; box-shadow:inset 2px 2px 8px #FAF0E6 } /*Chancery boxes*/ .chanc { background-color:white; border-radius:1em; padding:.5em; margin:auto; border:solid 10px #F0E68C; box-shadow:5px 5px 5px #ccc; } /* Removes underlines from certain links for IPA*/ .nounderlines a, .IPA a:link, .IPA a:visited { text-decoration: none !important; } /* Prevent line breaks in silly places: 1) Where desired 2) Links when we don't want them to 3) Bold "links" to the page itself 4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */ .nowrap, .nowraplinks a, .nowraplinks .selflink, sup.reference a { white-space: nowrap; } /* But allow wrapping where desired: */ .wrap, .wraplinks a { white-space: normal; }