« MediaWiki:Foreground.css » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 14 : | Ligne 14 : | ||
#searchInput { | #searchInput { | ||
width:100%; | width:100%; | ||
} | |||
.search { | |||
display: none !important; | |||
} | } | ||
/* | /* adaptation de la responsivité de la topbar */ | ||
@media screen and (min-width: 875px){ | |||
.top-bar{ | |||
height: auto !important; | |||
overflow: visible !important; | |||
} | |||
} | |||
/* Modifications des couleurs de la top-bar + repositionnements + sticky */ | |||
.top-bar, | .top-bar, | ||
.top-bar-section ul, | .top-bar-section ul, | ||
Ligne 28 : | Ligne 38 : | ||
min-height: 50px !important; | min-height: 50px !important; | ||
} | } | ||
#top-bar-left { | #top-bar-left { | ||
padding-top: 7px !important; | padding-top: 7px !important; | ||
} | } | ||
#top-bar-right { | #top-bar-right { | ||
padding-top: 7px !important; | padding-top: 7px !important; | ||
} | } | ||
.title-area { | .title-area { | ||
padding-top: 7px !important; | padding-top: 7px !important; | ||
} | } | ||
.top-bar-section > ul > .divider, | .top-bar-section > ul > .divider, | ||
.top-bar-section > ul > [role="separator"] { | .top-bar-section > ul > [role="separator"] { | ||
border-color: #0A2342; | border-color: #0A2342; | ||
} | } | ||
.vertical-divider { | .vertical-divider { | ||
width: 100%; | width: 100%; | ||
Ligne 59 : | Ligne 57 : | ||
height: 1px; | height: 1px; | ||
} | } | ||
.top-bar-section li.active:not(.has-form) a:not(.button), | .top-bar-section li.active:not(.has-form) a:not(.button), | ||
.top-bar-section li.active:not(.has-form) a:hover:not(.button) { | .top-bar-section li.active:not(.has-form) a:hover:not(.button) { | ||
background: #0A2342; | background: #0A2342; | ||
} | } | ||
.top-bar input { | .top-bar input { | ||
width: auto; | width: auto; | ||
display: inline; | display: inline; | ||
} | } | ||
.top-bar-section ul li ul.dropdown li > a { | .top-bar-section ul li ul.dropdown li > a { | ||
background: #0A2342; | background: #0A2342; | ||
} | } | ||
.top-bar ul li a { | .top-bar ul li a { | ||
background-color: #0A2342 !important; | background-color: #0A2342 !important; | ||
} | } | ||
.top-bar { | .top-bar { | ||
position: fixed; | position: fixed; | ||
Ligne 84 : | Ligne 77 : | ||
} | } | ||
/* Adaptation de la hauteur des containers sous la topbar */ | |||
#logo { | #logo { | ||
padding-top:50px; | padding-top:50px; | ||
Ligne 90 : | Ligne 84 : | ||
#dons { | #dons { | ||
padding-top:55px; | padding-top:55px; | ||
} | } |
Version du 10 novembre 2022 à 04:35
/* Corrige l'absence de centrage des images centrées du skin foreground */ .center { text-align: center !important; } /* Reformatage de la searchbox dans la topbar */ .mw-search { padding-top:10px; } #searchtop { width:275px; } #searchInput { width:100%; } .search { display: none !important; } /* adaptation de la responsivité de la topbar */ @media screen and (min-width: 875px){ .top-bar{ height: auto !important; overflow: visible !important; } } /* Modifications des couleurs de la top-bar + repositionnements + sticky */ .top-bar, .top-bar-section ul, .top-bar-section ul li.active > a, .top-bar-section li a:not(.button), .top-bar-section .has-form, .top-bar.expanded .title-area { background: #0A2342; color: white; min-height: 50px !important; } #top-bar-left { padding-top: 7px !important; } #top-bar-right { padding-top: 7px !important; } .title-area { padding-top: 7px !important; } .top-bar-section > ul > .divider, .top-bar-section > ul > [role="separator"] { border-color: #0A2342; } .vertical-divider { width: 100%; display: block; background: #0A2342; height: 1px; } .top-bar-section li.active:not(.has-form) a:not(.button), .top-bar-section li.active:not(.has-form) a:hover:not(.button) { background: #0A2342; } .top-bar input { width: auto; display: inline; } .top-bar-section ul li ul.dropdown li > a { background: #0A2342; } .top-bar ul li a { background-color: #0A2342 !important; } .top-bar { position: fixed; width: 100%; z-index: 999; } /* Adaptation de la hauteur des containers sous la topbar */ #logo { padding-top:50px; } #dons { padding-top:55px; }