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

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
Fix
 
m 1 revision imported
(No difference)

Revision as of 17:38, 2 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;
}