MediaWiki:Common.css: Skillnad mellan sidversioner

ingen redigeringssammanfattning
(Skapade sidan med '→‎https://wikimediadc.org/index.php?title=MediaWiki:Common.css: @media screen and (max-width:767px) { .no-narrow { display: none; } } @media screen and (min-width:768px...')
 
Ingen redigeringssammanfattning
Rad 1: Rad 1:
/* https://wikimediadc.org/index.php?title=MediaWiki:Common.css */
/* Main Page CSS */
 
body #t-cite,
body #siteSub,
body #contentSub,
body.page-Home.action-view #jump-to-nav {
  display: none !important;
}
 
/* Copied from Wikivoyage for scalable-width images */
 
@media screen and (max-width:767px) {
@media screen and (max-width:767px) {
.no-narrow {
  .banner-image {
display: none;
    position: relative;
}
    overflow: hidden;
    max-width: 1125px;
    width: 100%;
    height: auto;
    margin-bottom: .6em;
    text-align: center;
    padding-left: 0 !important;
  }
  .banner-image img {
    width: 100%;
    height: auto;
    width: auto\9;
    margin:0 auto;
  }
}
}
@media screen and (min-width:768px) {
@media screen and (min-width:768px) {
.narrow-only {
  .banner-image {
display: none;
    position: relative;
}
    overflow: hidden;
    max-width: 1125px;
    height: auto;
    margin-bottom: .6em;
  }
  .banner-image img {
    width: 100%;
    height: auto;
    width: auto\9;
  }
  .banner-image-left {
    float: left !important;
  }
  .banner-image-left img {
    float: left !important;
  }
  .banner-image-right {
    float: right !important;
  }
  .banner-image-right img {
    float: right !important;
  }
  .banner-image-none {
    float: none !important;
  }
  .banner-image-none img {
    float: none !important;
  }
  .banner-image-center {
    padding-left: none !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .banner-image-center img {
    float: none !important;
  }
}
}
Byråkrater, emailconfirmed, Administratörer
37

redigeringar