|
|
(7 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | /* Reset italic styling set by user agent */
| |
− | cite, dfn {
| |
− | font-style: inherit;
| |
− | }
| |
| | | |
− | /* Straight quote marks for <q> */
| |
− | q {
| |
− | quotes: '"' '"' "'" "'";
| |
− | }
| |
− |
| |
− | /* Avoid collision of blockquote with floating elements by swapping margin and padding */
| |
− | blockquote {
| |
− | overflow: hidden;
| |
− | margin: 1em 0;
| |
− | padding: 0 40px;
| |
− | }
| |
− |
| |
− | /* Prevent the 'double bold' bug in Firefox when using DirectWrite */
| |
− | strong.selflink {
| |
− | font-weight: 700;
| |
− | }
| |
− |
| |
− | /* Consistent size for <small>, <sub> and <sup> */
| |
− | small {
| |
− | font-size: 85%;
| |
− | }
| |
− | .mw-body-content sub,
| |
− | .mw-body-content sup,
| |
− | span.reference /* for Parsoid */ {
| |
− | font-size: 80%;
| |
− | }
| |
− |
| |
− | /* Same spacing for indented and unidented paragraphs on talk pages */
| |
− | .ns-talk .mw-body-content dd {margin-top:0.4em; margin-bottom:0.4em;}
| |
− |
| |
− | /* Main page fixes */
| |
− | #interwiki-completelist {
| |
− | font-weight: bold;
| |
− | }
| |
− |
| |
− | /* Reduce page jumps by hiding collapsed/dismissed content */
| |
− | .client-js .mw-special-Watchlist #watchlist-message,
| |
− | .client-js .collapsible.collapsed > tbody > tr:not(:first-child) {
| |
− | display: none;
| |
− | }
| |
− |
| |
− | /* Tone down 'Changed since last visit' colors */
| |
− | span.updatedmarker {
| |
− | background-color: transparent;
| |
− | color: #006400;
| |
− | }
| |
− |
| |
− | /* Edit window toolbar */
| |
− | #toolbar {
| |
− | height: 22px;
| |
− | margin-bottom: 6px;
| |
− | }
| |
− |
| |
− | /* Hide charinsert base for those not using the gadget */
| |
− | #editpage-specialchars {
| |
− | display: none;
| |
− | }
| |
− |
| |
− | /* Highlight linked elements (such as clicked references) in blue */
| |
− | body.action-info .mw-body-content :target,
| |
− | .citation:target {
| |
− | background-color: #DEF; /* Fallback */
| |
− | background-color: rgba(0, 127, 255, 0.133);
| |
− | }
| |
− |
| |
− | /* Styling for citations. Breaks long urls, etc., rather than overflowing box */
| |
− | .citation {
| |
− | word-wrap: break-word;
| |
− | }
| |
− |
| |
− | /* For linked citation numbers and document IDs, where the number need not be shown
| |
− | on a screen or a handheld, but should be included in the printed version */
| |
− | @media screen, handheld {
| |
− | .citation .printonly {
| |
− | display: none;
| |
− | }
| |
− | }
| |
− |
| |
− | /* Make the list of references smaller */
| |
− | ol.references,
| |
− | div.reflist,
| |
− | div.refbegin {
| |
− | font-size: 90%; /* Default font-size */
| |
− | margin-bottom: 0.5em;
| |
− | }
| |
− | div.refbegin-100 {
| |
− | font-size: 100%; /* Option for normal fontsize in {{refbegin}} */
| |
− | }
| |
− | div.reflist ol.references {
| |
− | font-size: 100%; /* Reset font-size when nested in div.reflist */
| |
− | margin-bottom: 0; /* Avoid double margin when nested in div.reflist */
| |
− | list-style-type: inherit; /* Enable custom list style types */
| |
− | }
| |
− |
| |
− | /* Ensure refs in table headers and the like aren't bold or italic */
| |
− | sup.reference {
| |
− | font-weight: normal;
| |
− | font-style: normal;
| |
− | }
| |
− |
| |
− | /* Allow hidden ref errors to be shown by user CSS */
| |
− | span.brokenref {
| |
− | display: none;
| |
− | }
| |
− |
| |
− | /* Hanging indentation for Template:Refbegin */
| |
− | .refbegin-hanging-indents > ul {
| |
− | list-style-type: none;
| |
− | margin-left: 0;
| |
− | }
| |
− | .refbegin-hanging-indents > ul > li,
| |
− | .refbegin-hanging-indents > dl > dd {
| |
− | margin-left: 0;
| |
− | padding-left: 3.2em;
| |
− | text-indent: -3.2em;
| |
− | list-style: none;
| |
− | }
| |
− |
| |
− | /* Reset top margin for lists embedded in columns */
| |
− | div.columns {
| |
− | margin-top: 0.3em;
| |
− | }
| |
− | div.columns dl,
| |
− | div.columns ol,
| |
− | div.columns ul {
| |
− | margin-top: 0;
| |
− | }
| |
− |
| |
− | /* Avoid elements from breaking between columns */
| |
− | .nocolbreak,
| |
− | div.columns li,
| |
− | div.columns dd dd {
| |
− | -webkit-column-break-inside: avoid;
| |
− | page-break-inside: avoid;
| |
− | break-inside: avoid-column;
| |
− | }
| |
− |
| |
− | /* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
| |
− | .flowlist ul {
| |
− | overflow-x: hidden;
| |
− | margin-left: 0;
| |
− | padding-left: 1.6em;
| |
− | }
| |
− | .flowlist ol {
| |
− | overflow-x: hidden;
| |
− | margin-left: 0;
| |
− | padding-left: 3.2em;
| |
− | }
| |
− | .flowlist dl {
| |
− | overflow-x: hidden;
| |
− | }
| |
− |
| |
− | /* Style for horizontal lists (separator following item).
| |
− | @source mediawiki.org/wiki/Snippets/Horizontal_lists
| |
− | @revision 8 (2016-05-21)
| |
− | @author [[User:Edokter]]
| |
− | */
| |
− | .hlist dl,
| |
− | .hlist ol,
| |
− | .hlist ul {
| |
− | margin: 0;
| |
− | padding: 0;
| |
− | }
| |
− | /* Display list items inline */
| |
− | .hlist dd,
| |
− | .hlist dt,
| |
− | .hlist li {
| |
− | margin: 0;
| |
− | display: inline;
| |
− | }
| |
− | /* Display nested lists inline */
| |
− | .hlist.inline,
| |
− | .hlist.inline dl,
| |
− | .hlist.inline ol,
| |
− | .hlist.inline ul,
| |
− | .hlist dl dl, .hlist dl ol, .hlist dl ul,
| |
− | .hlist ol dl, .hlist ol ol, .hlist ol ul,
| |
− | .hlist ul dl, .hlist ul ol, .hlist ul ul {
| |
− | display: inline;
| |
− | }
| |
− | /* Hide empty list items */
| |
− | .hlist .mw-empty-li {
| |
− | display: none;
| |
− | }
| |