Différences entre les versions de « MediaWiki:Common.scss »
Aller à la navigation
Aller à la recherche
Ligne 1 : | Ligne 1 : | ||
@charset "UTF-8"; | |||
/* == Outils == */ | /* == Outils == */ | ||
.clearfix { | .clearfix { | ||
Ligne 45 : | Ligne 13 : | ||
} | } | ||
.d-none { | |||
display: none !important; | |||
} | |||
.d-inline { | |||
display: inline !important; | |||
} | |||
.d-inline-block { | |||
display: inline-block !important; | |||
} | |||
.d-block { | |||
display: block !important; | |||
} | |||
.d-flex { | |||
display: flex !important; | |||
} | |||
.d-inline-flex { | |||
display: inline-flex !important; | |||
} | |||
.justify-content-normal { | |||
justify-content: normal !important; | |||
} | |||
.justify-content-start { | |||
. | justify-content: flex-start !important; | ||
} | |||
} | |||
.justify-content-end { | |||
justify-content: flex-end !important; | |||
} | |||
.justify-content-center { | |||
justify-content: center !important; | |||
} | |||
.justify-content-stretch { | |||
justify-content: stretch !important; | |||
} | |||
.justify-content-left { | |||
justify-content: left !important; | |||
} | |||
.justify-content-right { | |||
justify-content: right !important; | |||
} | |||
.justify-content-space-between { | |||
justify-content: space-between !important; | |||
} | |||
.justify-content-space-around { | |||
justify-content: space-around !important; | |||
} | |||
.justify-content-space-evenly { | |||
justify-content: space-evenly !important; | |||
} | |||
.align-items-normal { | |||
align-items: normal !important; | |||
} | |||
.align-items-start { | |||
align-items: flex-start !important; | |||
} | |||
.align-items-end { | |||
align-items: flex-end !important; | |||
} | |||
.align-items-center { | |||
align-items: center !important; | |||
} | |||
.align-items-stretch { | |||
align-items: stretch !important; | |||
} | } | ||
Ligne 63 : | Ligne 107 : | ||
.mw-documentation { | .mw-documentation { | ||
padding: 1em 1em 0.8em; | padding: 1em 1em 0.8em; | ||
background: | background: #ecfcf4; | ||
border: 1px solid | border: 1px solid #aaaaaa; | ||
} | } | ||
Ligne 74 : | Ligne 118 : | ||
margin-top: 1.5em; | margin-top: 1.5em; | ||
padding-top: 0.5em; | padding-top: 0.5em; | ||
border-top: 1px solid | border-top: 1px solid #a2a9b1; | ||
} | } | ||
Ligne 83 : | Ligne 127 : | ||
margin-top: 1em; | margin-top: 1em; | ||
background: #fdfdfd; | background: #fdfdfd; | ||
border: 1px solid | border: 1px solid #aaaaaa; | ||
font-size: 0.75rem; | font-size: 0.75rem; | ||
} | } | ||
Ligne 106 : | Ligne 150 : | ||
} | } | ||
.mw-navigation tr:nth-child(2n + 1) td { | .mw-navigation tr:nth-child(2n+1) td { | ||
background: #eaecf0; | background: #eaecf0; | ||
} | } | ||
.mw-navigation .mw-navigation{ | .mw-navigation .mw-navigation { | ||
width: calc(100% + 6px); | width: calc(100% + 6px); | ||
margin: -3px; | margin: -3px; | ||
background: transparent; | background: transparent; | ||
border: none; } | border: none; | ||
} | |||
.mw-navigation .mw-navigation tr:nth-child(2n + 1) td { | .mw-navigation .mw-navigation tr:nth-child(2n+1) td { | ||
background: none; | background: none; | ||
} | } | ||
Ligne 154 : | Ligne 199 : | ||
} | } | ||
.mw-information-box .mw-gallery | .mw-information-box .mw-gallery .mw-gallery-tabs { | ||
display: flex; | |||
flex-wrap: wrap; | |||
margin-left: 0; | |||
position: relative; | |||
top: 1px; | |||
z-index: 2; | |||
list-style: none; | |||
} | |||
.mw-information-box .mw-gallery .mw-gallery-tabs li { | |||
display: inline-block; | |||
margin-bottom: 0; | |||
} | |||
.mw-information-box .mw-gallery .mw-gallery-tabs li + li { | |||
margin-left: 5px; | |||
} | |||
.mw-information-box .mw-gallery .mw-gallery-tabs button { | |||
padding: 8px; | |||
background: #ffffff; | |||
border: solid #a7d7f9; | |||
border-width: 1px; | |||
color: #0645ad; | |||
} | |||
.mw-information-box .mw-gallery .mw-gallery-tabs button:hover, .mw-information-box .mw-gallery .mw-gallery-tabs button:focus { | |||
text-decoration: underline; | |||
} | |||
.mw-information-box .mw-gallery .mw-gallery-tabs button:hover { | |||
cursor: pointer; | |||
} | |||
.mw-information-box .mw-gallery .mw-gallery-tabs button.active { | |||
border-bottom-width: 0; | |||
color: #000000; | |||
} | |||
.mw-information-box .mw-gallery .mw-gallery-pane { | |||
display: none; | |||
background: #ffffff; | |||
border: 1px solid #a7d7f9; | |||
} | |||
.mw-information-box .mw-gallery .mw-gallery-pane.active { | |||
display: block; | |||
} | } | ||
Ligne 219 : | Ligne 251 : | ||
} | } | ||
.mw-information-box table | .mw-information-box table { | ||
width: 100%; | width: 100%; | ||
} | } | ||
Ligne 235 : | Ligne 267 : | ||
padding: 0.25em 1em; | padding: 0.25em 1em; | ||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
background: #cccccc; | background: #cccccc; | ||
} | } | ||
/* Déclinaisons de couleur */ | /* Déclinaisons de couleur */ | ||
.mw-information-box.light-yellow .mw-title, | |||
.mw-information-box.#{ | .mw-information-box.light-yellow .mw-section-title { | ||
.mw-information-box.#{ | background: #ffeda6; | ||
} | |||
.mw-information-box.light-blue .mw-title, | |||
.mw-information-box.light-blue .mw-section-title { | |||
background: #9fd6f2; | |||
} | |||
.mw-information-box.light-green .mw-title, | |||
.mw-information-box.light-green .mw-section-title { | |||
background: #ddffdd; | |||
} | |||
.mw-information-box.light-red .mw-title, | |||
.mw-information-box.light-red .mw-section-title { | |||
background: #ee6c6c; | |||
} | |||
.mw-information-box.light-purple .mw-title, | |||
.mw-information-box.light-purple .mw-section-title { | |||
background: #ad88c6; | |||
} | |||
.mw-information-box.light-pink .mw-title, | |||
.mw-information-box.light-pink .mw-section-title { | |||
background: #e1afd1; | |||
} | |||
.mw-information-box.light-orange .mw-title, | |||
.mw-information-box.light-orange .mw-section-title { | |||
background: #ffbf78; | |||
} | |||
.mw-information-box.blue .mw-title, | |||
.mw-information-box.blue .mw-section-title { | |||
background: #1E90FF; | |||
} | } | ||
/* Déclinaisons d'ajah */ | /* Déclinaisons d'ajah */ | ||
.mw-information-box.blue-ajah .mw-title, | |||
.mw-information-box.# | .mw-information-box.blue-ajah .mw-section-title { | ||
background: #1c2677; | |||
color: #ffffff; | |||
} | |||
.mw-information-box.blue-black-ajah .mw-title, | |||
.mw-information-box.blue-black-ajah .mw-section-title { | |||
} | background: linear-gradient(to right, #1c2677 0%, #1c2677 75%, #000000 90%); | ||
} | |||
.mw-information-box.red-ajah .mw-title, | |||
.mw-information-box.red-ajah .mw-section-title { | |||
background: #b51a1c; | |||
} | |||
.mw-information-box.red-black-ajah .mw-title, | |||
.mw-information-box.red-black-ajah .mw-section-title { | |||
background: linear-gradient(to right, #b51a1c 0%, #b51a1c 75%, #000000 90%); | |||
} | |||
.mw-information-box.white-ajah .mw-title, | |||
.mw-information-box.white-ajah .mw-section-title { | |||
background: #fcfdff; | |||
} | |||
.mw-information-box.#{ | .mw-information-box.white-black-ajah .mw-title, | ||
.mw-information-box.# | .mw-information-box.white-black-ajah .mw-section-title { | ||
background: linear-gradient(to right, | background: linear-gradient(to right, #fcfdff 0%, #fcfdff 75%, #000000 90%); | ||
} | } | ||
.mw-information-box.green-ajah .mw-title, | |||
.mw-information-box.green-ajah .mw-section-title { | |||
background: #3c833b; | |||
} | |||
.mw-information-box.green-black-ajah .mw-title, | |||
.mw-information-box.green-black-ajah .mw-section-title { | |||
background: linear-gradient(to right, #3c833b 0%, #3c833b 75%, #000000 90%); | |||
} | |||
.mw-information-box.brown-ajah .mw-title, | |||
.mw-information-box.brown-ajah .mw-section-title { | |||
background: #a56635; | |||
} | |||
.mw-information-box.brown-black-ajah .mw-title, | |||
.mw-information-box.brown-black-ajah .mw-section-title { | |||
background: linear-gradient(to right, #a56635 0%, #a56635 75%, #000000 90%); | |||
} | |||
.mw-information-box.yellow-ajah .mw-title, | |||
.mw-information-box.yellow-ajah .mw-section-title { | |||
background: #e1bd15; | |||
} | |||
.mw-information-box.yellow-black-ajah .mw-title, | |||
.mw-information-box.yellow-black-ajah .mw-section-title { | |||
background: linear-gradient(to right, #e1bd15 0%, #e1bd15 75%, #000000 90%); | |||
} | |||
.mw-information-box.grey-ajah .mw-title, | |||
.mw-information-box.grey-ajah .mw-section-title { | |||
background: #737886; | |||
} | |||
.mw-information-box.grey-black-ajah .mw-title, | |||
.mw-information-box.grey-black-ajah .mw-section-title { | |||
background: linear-gradient(to right, #737886 0%, #737886 75%, #000000 90%); | |||
} | |||
.mw-information-box.black-ajah .mw-title, | |||
.mw-information-box.black-ajah .mw-section-title { | |||
background: #000000; | |||
color: #ffffff; | |||
} | |||
.mw-information-box.black-black-ajah .mw-title, | |||
.mw-information-box.black-black-ajah .mw-section-title { | |||
background: linear-gradient(to right, #000000 0%, #000000 75%, #000000 90%); | |||
} | } | ||
Ligne 272 : | Ligne 403 : | ||
/* == Cartes */ | /* == Cartes */ | ||
.map-container { | .map-container { | ||
display: inline-block; | |||
max-width: 100%; | |||
border: 1px solid #c8ccd1; | |||
overflow: auto; | |||
} | } |