Skip to content

Commit

Permalink
add glightbox cf. zoom image
Browse files Browse the repository at this point in the history
add css : shadow around images
  • Loading branch information
jmhasenfratz committed Dec 13, 2024
1 parent af10fbd commit cb46875
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/Plus-info-Mkdocs/3-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,13 @@ définis (par exemple, sur `push`).

## Debuguer le workflow

![Action button](Images/2024-12-13_11-28-35.png){ width="400" }
![Action button](Images/2024-12-13_11-28-35.png){ width="500" }

![build](Images/2024-12-13_11-37-06.png){ width="400" }
![build](Images/2024-12-13_11-37-06.png){ width="500" }

![gh-pages](Images/2024-12-13_11-37-31.png){ width="400" }
![see build details](Images/2024-12-13_11-38-08.png){ width="500" }

![see build details](Images/2024-12-13_11-38-08.png){ width="400" }

![build details](Images/2024-12-13_11-38-30.png){ width="400" }
![build details](Images/2024-12-13_11-38-30.png){ width="500" }


 
Expand Down
Binary file not shown.
4 changes: 4 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
img {
box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, 0.2);
border-radius: 10px
}
16 changes: 16 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,29 @@ markdown_extensions:
- pymdownx.tasklist:
custom_checkbox: true # Listes de tâches avec cases à cocher personnalisées

extra_css:
- stylesheets/extra.css # Ajout d'ombre autour des images

plugins:
- search:
lang:
- en
- fr # Plugin de recherche avec support pour l'anglais et le français
- awesome-pages # Organisation avancée des pages
- macros # Définition et utilisation de macros
- glightbox:
touchNavigation: true
loop: false
effect: zoom
slide_effect: slide
width: auto
height: auto
zoomable: true
draggable: true
skip_classes:
- custom-skip-class-name
auto_caption: false
caption_position: bottom

- page-to-pdf:
disableOnServe: true
Expand Down

0 comments on commit cb46875

Please sign in to comment.