« MediaWiki:Common.css » : différence entre les versions
De Fab Labs Québec
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 26 : | Ligne 26 : | ||
} | } | ||
//https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ | |||
.dont-break-out { | .dont-break-out { | ||
Version du 9 décembre 2020 à 17:00
/* 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;
}
//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;
}