Compare commits

..

No commits in common. "vanillahtml" and "main" have entirely different histories.

5 changed files with 241 additions and 309 deletions

View File

@ -16,7 +16,6 @@ all: $(PDF_FILES)
%.html: $(SOURCES_FOLDER)/%.md %.html: $(SOURCES_FOLDER)/%.md
pandoc \ pandoc \
--css=$(CSS_FILE) --template=$(HTML_TEMPLATE) \ --css=$(CSS_FILE) --template=$(HTML_TEMPLATE) \
--toc --toc-depth=2 \
--to=html --standalone \ --to=html --standalone \
--out=$@ $< --out=$@ $<

View File

@ -5,8 +5,7 @@ date: Printemps 2026
id: 20250808095505 id: 20250808095505
tags: ["OpenAthens", "navigateur web", "bookmarklet"] tags: ["OpenAthens", "navigateur web", "bookmarklet"]
logo: logo:
- path: ./static/images/logo-openathens.svg - ./static/images/logo-openathens.svg
alt: "Logo d'OpenAthens."
toc-title: Table des matières toc-title: Table des matières
--- ---
@ -15,6 +14,7 @@ toc-title: Table des matières
[CC BY-SA 4.0][12] --- [Sources][13] [CC BY-SA 4.0][12] --- [Sources][13]
::: :::
## Description ## Description
Un *bookmarklet* est un signet (marqueur, favori ou *bookmark*) ajouté au 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

View File

@ -1,5 +1,3 @@
/* --- Règles pour pagedjs --- */
@media print { @media print {
/* ************************** /* **************************
@ -58,12 +56,11 @@
* ************************ */ * ************************ */
body { body {
font-family: "Noto Sans", "Open Sans",
Arial, Helvetica, sans-serif;
/* Définit les trois variables de compteur nécessaires */ /* 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: figureNumber toc tableNumber; */
counter-reset: toc;
} }
/* Définit que string(date) contient la date indiquée dans le frontmatter /* Définit que string(date) contient la date indiquée dans le frontmatter
* de la source markdown */ * de la source markdown */
.date { .date {
@ -140,68 +137,11 @@
.footnotes { .footnotes {
break-before: page; break-before: page;
} }
}
/* --- Règles par défaut --- */
/* ************* /* *************
* Contenu * * 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 { h2 {
color: #d80669; color: #d80669;
text-decoration: underline; text-decoration: underline;
@ -244,13 +184,6 @@ code {
padding-left: .5em; padding-left: .5em;
} }
@media screen {
figure {
max-width: max-content;
margin: 1em auto;
}
}
figure { figure {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -329,4 +262,4 @@ table > caption {
table > caption:before { table > caption:before {
content: "Table " counter(tableNumber) " : "; content: "Table " counter(tableNumber) " : ";
} }
}

View File

@ -65,7 +65,7 @@ $endif$
$if(logo)$ $if(logo)$
<div class="logo"> <div class="logo">
$for(logo)$ $for(logo)$
<img src="$logo.path$" alt="$logo.alt$" /> <img src="$logo$" />
$endfor$ $endfor$
</div> </div>
$endif$ $endif$