Template:Infobox election/styles.css: Difference between revisions
Appearance
Created page with "→Row hidden for users, show to screen readers: .infobox-election-row-hidden { display: block; position: absolute !important; →stylelint-disable-line declaration-no-important: clip: rect( 1px, 1px, 1px, 1px ); width: 1px; height: 1px; margin: -1px; border: 0; padding: 0; overflow: hidden; } →To avoid seeming biased on responsive skins - make sure all images are the same width and displayed e.g. not hidden by a scrollable element: /* {{pp-tem..." |
Steven Buber (talk | contribs) m 1 revision imported |
(No difference)
|
Latest revision as of 17:11, 5 January 2025
/* Row hidden for users, show to screen readers */ .infobox-election-row-hidden { display: block; position: absolute !important; /* stylelint-disable-line declaration-no-important */ clip: rect( 1px, 1px, 1px, 1px ); width: 1px; height: 1px; margin: -1px; border: 0; padding: 0; overflow: hidden; } /* To avoid seeming biased on responsive skins - make sure all images are the same width and displayed e.g. not hidden by a scrollable element */ /* {{pp-template}} */ @media all and ( min-width: 6400px ) { body.skin--responsive:not( .skin-monobook ):not( .skin-timeless ) .infobox { min-width: 460px; } } @media all and ( max-width: 640px ) { body.skin--responsive:not( .skin-monobook ):not( .skin-timeless ) .infobox .notpageimage.noresize img { height: 80px !important; width: auto; } }