Template:If mobile/styles.css

From "PTTLink Wiki"
< Template:If mobile
Revision as of 05:03, 26 December 2020 by Mediawiki>Pseudo Classes (Fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
.ifmobile > .mobile:nth-child(2n) {
    display: none;
}

/*
    Force nomobile element to display when present.
    Overrides skin-based css for hiding the nomobile class, e.g. Timeless skin with screen size less than 850px.
*/
.ifmobile > .nomobile {
    display: inherit; /* The fallback */
    display: initial;
}