Changement du menu pour mes nouvelles activités

This commit is contained in:
leosw
2025-07-13 15:10:56 +02:00
parent 687de1ed71
commit 613776264c
3 changed files with 42 additions and 6 deletions

View File

@@ -21,12 +21,18 @@ function reduce() {
}, 100, function() {
// Animation complete.
});
$( "header a.on-bar" ).animate({
$( "header li:not(.with-subtitle) a.on-bar" ).animate({
paddingTop: "15px",
paddingBottom: "5px"
}, 100, function() {
// Animation complete.
});
$( "header li.with-subtitle a.on-bar" ).animate({
paddingTop: "5px",
paddingBottom: "15px"
}, 100, function() {
// Animation complete.
});
}
function enlarge() {
@@ -50,12 +56,18 @@ function enlarge() {
}, 100, function() {
// Animation complete.
});
$( "header a.on-bar" ).animate({
$( "header li:not(.with-subtitle) a.on-bar" ).animate({
paddingTop: "25px",
paddingBottom: "15px"
}, 100, function() {
// Animation complete.
});
$( "header li.with-subtitle a.on-bar" ).animate({
paddingTop: "15px",
paddingBottom: "25px"
}, 100, function() {
// Animation complete.
});
}
$(window).scroll(function() {