MediaWiki:Common.css: Difference between revisions

From Polyphasic Sleep Wiki
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1,096: Line 1,096:
display:none;
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;}
.darkmode a:not(.mw-wiki-logo) {background-color: #555;}


.darkmode #mw-header-nav-hack, #mw-header-hack {margin-top: -50px;}
 
.darkmode #mw-header-container {margin-top: -50px;}
.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;
}