MediaWiki:Common.css: Difference between revisions
From Polyphasic Sleep Wiki
No edit summary |
No edit summary |
||
| (24 intermediate revisions by the same user not shown) | |||
| Line 1,097: | Line 1,097: | ||
} | } | ||
.client- | .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; | |||
} | |||
