Skip to content

Commit

Permalink
Change the banner color to Inria red and add the Inria logo.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhasenfratz committed Dec 13, 2024
1 parent eca6d48 commit e57c1c9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
Binary file added docs/assets/images/inr_logo_blanc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 22 additions & 2 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
/* Applique une ombre légère et un arrondi à toutes les images du site */
img {
box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, 0.2);
border-radius: 10px
box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, 0.2); /* Ombre légère */
border-radius: 10px; /* Coins arrondis */
}

/* Supprime l'ombre et l'arrondi uniquement pour l'icône du logo */
.md-header__button.md-logo img {
box-shadow: none !important; /* Supprime l'ombre */
border-radius: 0 !important; /* Supprime l'arrondi */
background-color: transparent; /* Facultatif : assure que l'arrière-plan est transparent */
}

/* Change la couleur du bandeau */
.md-header {
background-color: #C9191E !important; /* Rouge foncé */
}

/* Facultatif : ajuste la couleur du texte et des boutons pour un meilleur contraste */
.md-header__title,
.md-header__button,
.md-header__button svg {
color: #ffffff !important; /* Texte blanc pour contraste */
}
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ theme:
# custom_dir: custom/ si on custemise l'affichage cf. Benoit
features:
- navigation.expand
logo: assets/images/inr_logo_blanc.png
markdown_extensions:
- admonition # Blocs spéciaux pour les notes, avertissements, etc.
- abbr # Gestion des abréviations avec infobulles explicatives
Expand Down

0 comments on commit e57c1c9

Please sign in to comment.