MediaWiki:Common.css

De Fab Labs Québec
Aller à :navigation, rechercher

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  • Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
  • Opera : appuyez sur Ctrl + F5.
/* Le CSS placé ici sera appliqué à tous les habillages. */
.tallTokens, .tallTokens .select2-choices {
        min-height:80px;
}

#resizable_image_container img {height:24px; padding-right: 5px; padding-left: 5px;}

#mw-content-text {max-width:88rem;} 

#machineTable td:empty {
    display: none;
}

#p-logo img {
    width:100%; /* you can use % */
    height: auto;
}

/*https://www.mediawiki.org/wiki/Skin_talk:Tweeki#Long_TOC_and_showing_the_category*/
.sidebar-wrapper { position:absolute }

//allow line breaks
.panel-info {
    overflow : auto;
    overflow-wrap: break-word;
}

//allow line breaks
.panel-body {
    overflow : auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

//https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/
.dont-break-out {

  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;

}