MediaWiki:Common.css
De Wiki Latitude-Cartagène
Révision datée du 4 décembre 2020 à 15:55 par Sharon (discussion | contributions)
Note : après avoir enregistré 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 pressez Ctrl-F5 ou Ctrl-R (⌘-R sur un Mac).
- Google Chrome : appuyez sur Ctrl-Maj-R (⌘-Shift-R sur un Mac).
- Internet Explorer : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5.
- Opera : allez dans Menu → Settings (Opera → Préférences sur un Mac) et ensuite à Confidentialité et sécurité → Effacer les données d’exploration → Images et fichiers en cache.
/**** VECTOR TABS & VECTOR MENU ****/
/* sizing and font styles for non-active tabs */
div#mw-head div.vectorMenu h3 span,
div#mw-head div.vectorTabs span a {
font-weight: bold;
text-transform: uppercase;
color: #FFD700;
height: 1em;
padding: 0;
font-size: 100%;
}
/* styles for the currently selected tab and on-hover dropdown menus */
div#mw-head div.vectorMenu:hover h3 span,
div#mw-navigation div.vectorMenu div.menu li a,
div#pageWrapper div#mw-navigation li.selected a {
color: #FFD700;
}
/* sizing and aesthetic styles for search input */
div#simpleSearch #searchInput {
color: #FFD700;
padding: 0.5em 0;
height: 1em;
box-sizing: content-box;
text-overflow: ellipsis;
}
/* styling for the search placeholder text */
div#simpleSearch #searchInput::placeholder {
color: #000000;
opacity: 0.7;
font-style: italic;
}
.mediawiki .suggestions-results,
.mediawiki .suggestions-special {
border-color: #000000;
}
.suggestions a.mw-searchSuggest-link,
.suggestions a.mw-searchSuggest-link:active,
.suggestions a.mw-searchSuggest-link:focus,
.suggestions a.mw-searchSuggest-link:hover,
.suggestions-result,
.suggestions-special .special-label,
.suggestions-special .special-query {
color: #000000;
}
/* background and text color for hover-highlighted suggestion */
.mediawiki .suggestions-result-current,
.mediawiki .suggestions-result-current .special-label,
.mediawiki .suggestions-result-current .special-query {
background: #FFFFFF;
color: #000000;
}
/* highlight color for matched characters in search suggestions */
.mediawiki .suggestions-result .highlight {
color: #000000;
}
.yellow, yellow > *, .yellow * { color: gold !important; }
.black, black > *, .black * { color: black !important; }
/**** SIDEBAR ****/
/* style the background of the sidebar section headers */
.mediawiki div#mw-panel div.portal h3 {
font-size: 80%;
padding: 0.5em;
background-color: #FFD700;
border-radius: 2px;
}
/* text styles for sidebar headers */
.mediawiki div#mw-panel div.portal h3,
div#pageWrapper div#mw-panel h3 a {
text-transform: uppercase;
font-weight: bold;
color: #FFD700;
}
/* remove underline on hover of collapsed sidebar headers */
#mw-panel.collapsible-nav .portal.collapsed h3:hover {
text-decoration: none;
}
/* switch arrow image on collapsible sidebar headers */
.mediawiki div#mw-panel.collapsible-nav div.portal h3 {
padding-left:calc(16px + 0.5em);
background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E %3Cpath d=%22M11.05 3.996l-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5%22 fill=%22%23fff%22/%3E %3C/svg%3E");
background-position: 0.5em center;
}
/**** WIKI EDITOR ****/
/* reset some default styles */
div.wikiEditor-ui,
div.wikiEditor-ui-controls,
div.wikiEditor-ui-toolbar .booklet .pages {
background: transparent;
border: 0;
}
/* border around the editor and toolbars */
div.wikiEditor-ui div.wikiEditor-ui-view {
border: 1px solid 0000;
margin-bottom: 0.5em;
}
div.wikiEditor-ui .wikiEditor-ui-top {
border-bottom: 1px solid #FFD700;
}
/* style the main toolbar */
div.wikiEditor-ui-toolbar {
background: #FFD700;
border-bottom: 1px solid #FFD700;
}
div.wikiEditor-ui-toolbar .group {
border-right: 1px solid #0000;
}
/* special border for the search tool */
div.wikiEditor-ui-toolbar .group-search {
border-left: 1px solid #0000;
border-right: none;
}
/* switch to ve button */
form#editform .ve-init-mw-editSwitch .oo-ui-popupToolGroup {
background: #0000;
}
form#editform .ve-init-mw-editSwitch .oo-ui-popupToolGroup .oo-ui-popupToolGroup-handle:hover {
background: #0000;
}
/* heading dropdown menu */
.wikiEditor-ui-toolbar .group .tool-select {
background: #FFD700;
border: 1px solid #4f3169;
}
/* heading dropdown menu text */
div.wikiEditor-ui-toolbar .group .tool-select .label {
color: #fff;
}
/* heading dropdown menu menu */
.wikiEditor-ui-toolbar .group .tool-select .menu .options {
background: #FFD700;
border: 1px solid #4f3169;
}
/* heading dropdown menu entries */
.wikiEditor-ui-toolbar .group .tool-select .options .option {
color: #0000;
}
.wikiEditor-ui-toolbar .group .tool-select .options .option:hover {
background: #4f3169;
}
/* subtoolbars */
div.wikiEditor-ui-toolbar .sections .section {
background: #222;
border-top: 1px solid #4f3169;
}
/* tabs on special characters and help subtoolbars */
div.wikiEditor-ui-toolbar .booklet .index div {
color: #fff;
}
/* current tab */
div.wikiEditor-ui-toolbar .booklet .index .current {
background-color: #4f3169;
color: #fff;
}
/* special characters list */
div.wikiEditor-ui-toolbar .page-characters div span {
border: 1px solid #4f3169;
color: #fff;
}
div.wikiEditor-ui-toolbar .page-characters div span:hover {
background: #4f3169;
color: #fff;
border: 1px solid #4f3169;
}
/* help table */
div.wikiEditor-ui-toolbar .page-table {
padding: 0;
}
/* help table headers */
div.wikiEditor-ui-toolbar .page-table th {
background: #4f3169;
color: #fff;
}
/* help table cells */
div.wikiEditor-ui-toolbar .page-table td {
border-top: 1px solid #4f3169;
color: #fff;
}
/* text box colors */
.mw-editform #wpTextbox1 {
background: 0000;
color: #FFD700;
}
/* match editoptions area to editor */
div.editOptions {
background-color: #1c1c1c;
border: 1px solid #4f3169;
}
/**** MSUPLOAD ****/
/* main msupload area */
#msupload-div {
background: #FFD700;
border: 1px solid transparent;
}
/* msupload drop area color and border */
#msupload-dropzone {
border: 1px dotted #fff;
color: #0000;
}
/* msupload file list */
#msupload-div #msupload-list .file {
background: #FFD700;
border: 0;
}
/* msupload file list text */
#msupload-div #msupload-list .file .file-size,
#msupload-div #msupload-list .file .file-title,
#msupload-div #msupload-list .file .file-warning {
color: #0000;
}
Result