MediaWiki:Common.css: Difference between revisions

From Polyphasic Sleep Wiki
No edit summary
No edit summary
 
(33 intermediate revisions by the same user not shown)
Line 138: Line 138:
.navbox {                    /* Navbox container style */
.navbox {                    /* Navbox container style */
box-sizing: border-box;
box-sizing: border-box;
border: 0px solid #a2a9b1;
border: 1px solid #a2a9b1;
width: 100%;
width: 100%;
clear: both;
clear: both;
font-size: 88%;
font-size: 88%;
text-align: center;
text-align: center;
padding: 0px;
padding: 1px;
margin: 1em auto 0;      /* Prevent preceding content from clinging to navboxes */
margin: 1em auto 0;      /* Prevent preceding content from clinging to navboxes */
}
}
Line 1,095: Line 1,095:
.onlymobile {
.onlymobile {
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;}
.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;
}
}