generated from igor/bunige-document
Compare commits
No commits in common. "vanillahtml" and "main" have entirely different histories.
vanillahtm
...
main
1
Makefile
1
Makefile
|
|
@ -16,7 +16,6 @@ all: $(PDF_FILES)
|
|||
%.html: $(SOURCES_FOLDER)/%.md
|
||||
pandoc \
|
||||
--css=$(CSS_FILE) --template=$(HTML_TEMPLATE) \
|
||||
--toc --toc-depth=2 \
|
||||
--to=html --standalone \
|
||||
--out=$@ $<
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@ date: Printemps 2026
|
|||
id: 20250808095505
|
||||
tags: ["OpenAthens", "navigateur web", "bookmarklet"]
|
||||
logo:
|
||||
- path: ./static/images/logo-openathens.svg
|
||||
alt: "Logo d'OpenAthens."
|
||||
- ./static/images/logo-openathens.svg
|
||||
toc-title: Table des matières
|
||||
---
|
||||
|
||||
|
|
@ -15,6 +14,7 @@ toc-title: Table des matières
|
|||
[CC BY-SA 4.0][12] --- [Sources][13]
|
||||
:::
|
||||
|
||||
|
||||
## Description
|
||||
|
||||
Un *bookmarklet* est un signet (marqueur, favori ou *bookmark*) ajouté au
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 47 KiB |
|
|
@ -1,5 +1,3 @@
|
|||
/* --- Règles pour pagedjs --- */
|
||||
|
||||
@media print {
|
||||
|
||||
/* **************************
|
||||
|
|
@ -58,12 +56,11 @@
|
|||
* ************************ */
|
||||
|
||||
body {
|
||||
font-family: "Noto Sans", "Open Sans",
|
||||
Arial, Helvetica, sans-serif;
|
||||
/* Définit les trois variables de compteur nécessaires */
|
||||
/* font-family: "Noto Sans", "Open Sans", Arial, Helvetica, sans-serif; */
|
||||
/* counter-reset: figureNumber toc tableNumber; */
|
||||
counter-reset: toc;
|
||||
counter-reset: figureNumber toc tableNumber;
|
||||
}
|
||||
|
||||
/* Définit que string(date) contient la date indiquée dans le frontmatter
|
||||
* de la source markdown */
|
||||
.date {
|
||||
|
|
@ -140,68 +137,11 @@
|
|||
.footnotes {
|
||||
break-before: page;
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Règles par défaut --- */
|
||||
|
||||
/* *************
|
||||
* Contenu *
|
||||
* *********** */
|
||||
|
||||
body {
|
||||
font-family: "Noto Sans", "Open Sans", Arial, Helvetica, sans-serif;
|
||||
counter-reset: figureNumber toc tableNumber;
|
||||
}
|
||||
|
||||
@media screen {
|
||||
body {
|
||||
max-width: 960px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* *****************
|
||||
* Page de titre *
|
||||
* *************** */
|
||||
|
||||
.logo {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
width: 60%;
|
||||
margin: 2em auto 1em auto;
|
||||
}
|
||||
.logo img {
|
||||
max-width: 25%;
|
||||
padding: .5em;
|
||||
}
|
||||
|
||||
#TOC ul {
|
||||
list-style: none;
|
||||
counter-reset: toc;
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
#TOC li {
|
||||
counter-increment: toc;
|
||||
}
|
||||
#TOC li::before {
|
||||
content: counter(toc) ". ";
|
||||
}
|
||||
#TOC a::after {
|
||||
content: target-counter(attr(href url), page);
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
#licence {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#title-block-header {
|
||||
/* Concerne le bloc titre sur la page de titre */
|
||||
text-align: center;
|
||||
margin: 4em 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #d80669;
|
||||
text-decoration: underline;
|
||||
|
|
@ -244,13 +184,6 @@ code {
|
|||
padding-left: .5em;
|
||||
}
|
||||
|
||||
@media screen {
|
||||
figure {
|
||||
max-width: max-content;
|
||||
margin: 1em auto;
|
||||
}
|
||||
}
|
||||
|
||||
figure {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -329,4 +262,4 @@ table > caption {
|
|||
table > caption:before {
|
||||
content: "Table " counter(tableNumber) " : ";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ $endif$
|
|||
$if(logo)$
|
||||
<div class="logo">
|
||||
$for(logo)$
|
||||
<img src="$logo.path$" alt="$logo.alt$" />
|
||||
<img src="$logo$" />
|
||||
$endfor$
|
||||
</div>
|
||||
$endif$
|
||||
|
|
|
|||
Loading…
Reference in New Issue