Light-Bulb icon by Till Teenck.svg Samsynwikin reder ut begreppen. Här presenteras de väsentligaste orden för universitetens samverkan. Definitionerna mognar olika snabbt och vi tar gärna emot respons för att utveckla dem vidare. Skapa ditt användarkonto här alternativt maila till samsyn(at)su.se. Mer information: Huvudsidan.

MediaWiki:Common.css: Skillnad mellan sidversioner

Från Samsyn
Hoppa till navigering Hoppa till sök
(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;
  }
}
}

Versionen från 8 februari 2018 kl. 10.39

/* 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) {
  .banner-image {
    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) {
  .banner-image {
    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;
  }
}