Jump to content
Health NZ Taranaki Lab Manual

MediaWiki:Mobile.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
}
}


/* MediaWiki:Common.css */
.iframe-wrapper {
@media (max-width: 767px) {
   width: 100%;
  .iframe-desktop { display: none; }
   height: 90vh;
   .iframe-mobile { display: block; }
   overflow: hidden;
}
@media (min-width: 768px) {
  .iframe-desktop { display: block; }
   .iframe-mobile { display: none; }
}
 
/* Hide iframe on mobile */
@media (max-width: 767px) {
   .iframe-desktop {
    display: none;
  }
  .iframe-mobile {
    display: block;
  }
}
}


/* Hide link on desktop */
.iframe-wrapper iframe {
@media (min-width: 768px) {
  width: 100% !important;
   .iframe-desktop {
   height: 100% !important;
    display: block;
   min-width: 1024px !important;
   }
   min-height: 800px !important;
   .iframe-mobile {
  border: none !important;
    display: none;
   display: block;
   }
}
}

Latest revision as of 15:35, 23 July 2025

/* All CSS here will be loaded for users of the mobile site */

* {
  font-family: Poppins, Arial, sans-serif;
}

.iframe-wrapper {
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.iframe-wrapper iframe {
  width: 100% !important;
  height: 100% !important;
  min-width: 1024px !important;
  min-height: 800px !important;
  border: none !important;
  display: block;
}