|
|
| (43 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;
| |
| }
| |
|
| |
| /* 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 unindented 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 .NavFrame.collapsed .NavContent,
| |
| .client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child) {
| |
| display: none;
| |
| }
| |
|
| |
| /* Adds padding above Watchlist announcements where new recentchanges/watchlist filters are enabled */
| |
| .mw-rcfilters-enabled .mw-specialpage-summary {
| |
| margin-top: 1em;
| |
| }
| |
|
| |
| /* 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 */ | | /* Styling for citations. Breaks long urls, etc., rather than overflowing box */ |
| .citation { | | .citation { |
| word-wrap: break-word; | | 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;
| |
| }
| |
| } | | } |
|
| |
|
| Line 932: |
Line 863: |
| } | | } |
|
| |
|
| /* Hatnotes and disambiguation notices */
| |
| .hatnote {
| |
| font-style: italic;
| |
| }
| |
| .hatnote i {
| |
| font-style: normal;
| |
| }
| |
| div.hatnote {
| |
| /* @noflip */
| |
| padding-left: 1.6em;
| |
| margin-bottom: 0.5em;
| |
| }
| |
| div.hatnote + div.hatnote {
| |
| margin-top: -0.5em;
| |
| }
| |
|
| |
|
| /* Geographical coordinates defaults. See [[Template:Coord/link]] | | /* Geographical coordinates defaults. See [[Template:Coord/link]] |
| Line 1,167: |
Line 1,083: |
| } | | } |
|
| |
|
| }
| |
|
| |
| /* Display "From Wikipedia, the free encyclopedia" in skins that support it, do not apply to print mode */
| |
| @media screen {
| |
| #siteSub {
| |
| display: block;
| |
| }
| |
| } | | } |
|
| |
|
| Line 1,182: |
Line 1,091: |
| #n-shoplink { | | #n-shoplink { |
| display: none; | | display: none; |
| | } |
| | /* Only for mobile devices */ |
| | .onlymobile { |
| | display:none; |
| | } |
| | |
| | .mobileonly { |
| | display:none; |
| | border: 1px; |
| | |
| | } |
| | /* Show .onlymobile on mobile screens */ |
| | @media screen and (max-width: 850px) { /* Adjust 768px breakpoint if needed */ |
| | .mobileonly { |
| | display: block !important; /* Or inline, flex, etc., as needed for your layout. |
| | !important can help if other rules conflict. */ |
| | } |
| | } |
| | |
| | |
| | .darkmode a:not(.mw-wiki-logo) {background-color: #555;} |
| | |
| | |
| | .client-js .mw-special-Watchlist #watchlist-message, |
| | .client-js .NavFrame.collapsed .NavContent, |
| | .client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child) { |
| | display: none; |
| | } |
| | |
| | /* Hatnotes and disambiguation notices */ |
| | .hatnote { |
| | font-style: italic; |
| | } |
| | .hatnote i { |
| | font-style: normal; |
| | } |
| | div.hatnote { |
| | /* @noflip */ |
| | padding-left: 1.6em; |
| | margin-bottom: 0.5em; |
| | } |
| | div.hatnote + div.hatnote { |
| | margin-top: -0.5em; |
| } | | } |