Difference between revisions of "Template:If mobile/styles.css"

From "PTTLink Wiki"
Jump to navigation Jump to search
Mediawiki>Pseudo Classes
(Fix)
 
m (1 revision imported)
 

Latest revision as of 19:14, 21 January 2022

.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;
}