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

From blackwiki
Jump to navigation Jump to search
imported>Pseudo Classes
(This edit imported from Template:If mobile/styles.css is powered by Duplicator Premium.)
imported>Evad37
(Force nomobile element to display when present, overriding skin-based css)
Line 1: Line 1:
 
.ifmobile > .mobile:nth-child(2n) {
 
.ifmobile > .mobile:nth-child(2n) {
 
     display: none;
 
     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:initial;
 
}
 
}

Revision as of 06:18, 30 October 2020

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