Jump to content

Template:Infobox election/styles.css

Permanently protected template
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Jdlrobson (talk | contribs) at 02:36, 15 June 2024 (Limit to <= tablet breakpoint). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

/* 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;
  }
}