MediaWiki:Common.css: Difference between revisions
From Polyphasic Sleep Wiki
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1,099: | Line 1,099: | ||
.mobileonly { | .mobileonly { | ||
display:none; | 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. */ | |||
} | |||
} | } | ||
