Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.
/* Navigation pills grid layout */
.template-navpills {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    grid-auto-rows: 3rem;
    font-size: 0.875rem;
}

/* Individual pill styling */
.template-navpill {
    position: relative;
    border: 1px solid #a2a9b1;
    border-radius: 0.375rem;
    font-weight: 500;
    line-height: 1.2;
    overflow: hidden;
}

/* Background image container */
.template-navpill-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Dark gradient overlay on background */
.template-navpill-background:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, #000, transparent);
    transition: transform 250ms ease;
}

/* Background image styling with hover effect */
.template-navpill-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 200ms ease;
}

/* Slide out overlay on hover */
.template-navpill:hover .template-navpill-background:after {
    transform: translateX(-100%);
}

/* Zoom image on hover */
.template-navpill:hover .template-navpill-background img {
    transform: scale(1.1);
}

/* Link styling within pill */
.template-navpill > a {
    position: relative;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    color: #0645ad;
    text-decoration: none;
    height: 100%;
}

/* White text with shadow for pills with background images */
.template-navpill > .template-navpill-background + a {
    color: #fff;
    text-shadow: -1px 0 0.2em #000, 0 1px 0.2em #000, 1px 0 0.2em #000, 0 -1px 0.2em #000;
}

/* Hover state for pills */
.template-navpill:hover {
    background: #eaecf0;
}

/* Active state for pills */
.template-navpill:active {
    background: #c8ccd1;
}