MediaWiki:Common.css: Difference between revisions
From Polyphasic Sleep Wiki
Created page with "→CSS placed here will be applied to all skins: →Reset italic styling set by user agent: cite, dfn { font-style: inherit; } →Straight quote marks for <q>: q { qu..." |
No edit summary |
||
| (47 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* 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; | ||
} | } | ||
| Line 933: | Line 863: | ||
} | } | ||
/* Geographical coordinates defaults. See [[Template:Coord/link]] | /* Geographical coordinates defaults. See [[Template:Coord/link]] | ||
| Line 1,168: | Line 1,083: | ||
} | } | ||
} | } | ||
| Line 1,183: | 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; | |||
} | } | ||
