|
|
| (Une version intermédiaire par le même utilisateur non affichée) |
| Ligne 1 : |
Ligne 1 : |
| /* Tout CSS placé ici sera chargé avec les pages accédées par les utilisateurs de l’habillage Vector */
| |
|
| |
|
| @media all and (min-width: 960px) {
| |
| /* Ordering of containers in home page */
| |
| .container-fluid > .row {display: flex; flex-wrap: nowrap;}
| |
| .container-fluid > .row > .col {flex: 1;}
| |
| .container-fluid > .row > .col > .row {display: flex;}
| |
| .container-fluid > .row > .col > .row > .col {flex: 1;}
| |
| }
| |
|
| |
| @media all and (max-width: 959px) {
| |
| body, html {
| |
| width: 100vw !important;
| |
| overflow-x: hidden !important
| |
| }
| |
|
| |
| .mw-header {
| |
| display: flex !important;
| |
| flex-direction: row !important;
| |
| }
| |
|
| |
| /* Adjust page sheet width */
| |
| .container {width: 100% !important;}
| |
|
| |
| /* To avoid x overflow of search input in home page */
| |
| .bodySearch.mw-inputbox-form { overflow: hidden; }
| |
| .bodySearch.mw-inputbox-form .bodySearchWrap .cdx-text-input { width: auto; min-width: auto !important; }
| |
|
| |
| .embedvideo .embedvideo-wrapper { margin: 0.5em 0 !important; } /* Inefective, overwritten by skin */
| |
|
| |
| /* For table horizontal scrolling */
| |
| table { display: block; overflow-x: auto; width: auto !important; }
| |
| .tabs-container { overflow-x: auto; }
| |
|
| |
| /* For summary top left button */
| |
| #vector-page-titlebar-toc .vector-dropdown-label:not(.cdx-button--weight-quiet) {
| |
| transform: translateY(var(--header-height));
| |
| }
| |
|
| |
| /* Hide user login/create account */
| |
| #p-personal {
| |
| display: none;
| |
| }
| |
|
| |
| /* navbar right part */
| |
| .vector-header-end a, .vector-header-end label {
| |
| min-width: 32px !important;
| |
| min-height: 32px !important;
| |
| }
| |
| }
| |
|
| |
| /* Align navbar items to the right */
| |
| .mw-header .vector-header-end { justify-content: end !important; }
| |
|
| |
| /* Avoid images to be shrinked inside tables */
| |
| .tabs-container figure img.mw-file-element { max-width: none !important; }
| |
|
| |
| /* resize images in right panel */
| |
| .container .col-sm img {width: -webkit-fill-available; height: auto;}
| |
|
| |
| /* Avoid embed videos styling issues */
| |
| .embedvideo-privacyNotice__buttons p button {
| |
| appearance: none;
| |
| padding: 0.5rem 1rem;
| |
| border: 0;
| |
| border-radius: 1000px;
| |
| color: #fff;
| |
| font-size: inherit;
| |
| cursor: pointer;
| |
| }
| |
|
| |
| /* hide user logged in dropdown */
| |
| .vector-user-menu-logged-in {
| |
| display: none;
| |
| }
| |
|
| |
| /* For edition toolbar height */
| |
| .wikiEditor-ui-top {
| |
| height: fit-content;
| |
| }
| |
|
| |
| /* hide user theme preference option */
| |
| #skin-client-prefs-skin-theme {
| |
| display: none;
| |
| }
| |