« MediaWiki:Chameleon.css » : différence entre les versions

De Wiki Campus Cyber
Aller à :navigation, rechercher
(Creation)
 
(Tools)
Ligne 18 : Ligne 18 :
#mw-navigation.p-navbar .mw-list-item:hover a.nav-link {
#mw-navigation.p-navbar .mw-list-item:hover a.nav-link {
     background-color: #4042cc;
     background-color: #4042cc;
}
/* EchoIcons */
ul.navbar-tools.echo-icons {
    display: none;
}
/* PersonalToolsIcon */
a.navbar-userloggedin:before {
    margin-right: 0;
}
}



Version du 9 mai 2022 à 13:56

/* ***** TOP NAVBAR ***** */
/* navbar */
nav#mw-navigation.p-navbar {
    background-color: transparent;
}
/* logo */
.p-navbar .navbar-brand.p-logo {
    height: 100%;
    padding-top: 0.3125rem;
}
/* links -> buttons */
#mw-navigation.p-navbar a.nav-link {
    background-color: #2e3094;
    color: white !important;
    transition: .25s;
}
/* buttons :hover */
#mw-navigation.p-navbar .mw-list-item:hover a.nav-link {
    background-color: #4042cc;
}
/* EchoIcons */
ul.navbar-tools.echo-icons {
    display: none;
}
/* PersonalToolsIcon */
a.navbar-userloggedin:before {
    margin-right: 0;
}

/* ** RESPONSIVE ** */
/* navbar */
@media (max-width: 768px) {
    nav#mw-navigation.p-navbar {
        margin-top: 0 !important;
    }
}