document: ajoute une image de la bibliothèque CMU
- Corrige la feuille de style pour afficher l'image en grand. - Ajoute l'image. - Ajoute un Makefile pour faciliter les différents rendus. Co-Authored-by: iGor milhit <igor@milhit.ch>main v0.1.0
parent
ae908d0f73
commit
ad84a38f92
|
@ -1,2 +1,2 @@
|
||||||
*.pdf
|
*.pdf
|
||||||
présentation-services.html
|
*présentation-services.html
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Modifier le nom et le nombre des fichiers
|
||||||
|
# contenant les sources du document
|
||||||
|
input_files := \
|
||||||
|
présentation-services.md
|
||||||
|
|
||||||
|
output_file_name := cmu-présentation-services
|
||||||
|
|
||||||
|
pandoc := \
|
||||||
|
pandoc -s --citeproc \
|
||||||
|
--css=style.css --template=template.html \
|
||||||
|
# --toc --toc-depth=2 \
|
||||||
|
|
||||||
|
pandoc_html := \
|
||||||
|
$(pandoc) \
|
||||||
|
--to=html --output=$(output_file_name).html \
|
||||||
|
$(input_files)
|
||||||
|
|
||||||
|
pandoc_pdf := \
|
||||||
|
$(pandoc) \
|
||||||
|
-V noscript=true \
|
||||||
|
--embed-resource --to=pdf \
|
||||||
|
--pdf-engine=pagedjs-cli \
|
||||||
|
--output=$(output_file_name).pdf \
|
||||||
|
$(input_files)
|
||||||
|
|
||||||
|
html: $(input_files)
|
||||||
|
$(pandoc_html)
|
||||||
|
|
||||||
|
watch_html: $(input_files)
|
||||||
|
watchexec -r -w . -i $(output_file_name).html \
|
||||||
|
" $(pandoc_html)"
|
||||||
|
|
||||||
|
pdf: $(input_files)
|
||||||
|
$(pandoc_pdf)
|
||||||
|
|
||||||
|
serve:
|
||||||
|
watchexec -r -w . "python -m http.server"
|
|
@ -4,6 +4,8 @@ subtitle: Aide mémoire
|
||||||
date: Printemps 2025
|
date: Printemps 2025
|
||||||
creation_date: 2025-04-09T10:15:25+0200
|
creation_date: 2025-04-09T10:15:25+0200
|
||||||
id: 20250409101525
|
id: 20250409101525
|
||||||
|
logo:
|
||||||
|
- ./static/cmu.jpg
|
||||||
lang: fr
|
lang: fr
|
||||||
tags: [tags]
|
tags: [tags]
|
||||||
---
|
---
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 133 KiB |
|
@ -81,11 +81,11 @@
|
||||||
.logo {
|
.logo {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 60%;
|
/* width: 60%; */
|
||||||
margin: 2em auto 1em auto;
|
margin: 2em auto 1em auto;
|
||||||
}
|
}
|
||||||
.logo img {
|
.logo img {
|
||||||
max-width: 50%;
|
max-width: 100%;
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue