Add extra JS & CSS
This commit is contained in:
parent
aee774329f
commit
f638a9d5a3
2 changed files with 67 additions and 0 deletions
49
docs.extra/css.extra/extra.css
Normal file
49
docs.extra/css.extra/extra.css
Normal file
|
@ -0,0 +1,49 @@
|
|||
p > img[alt*="center"] {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
hr {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@page {
|
||||
size: a4 portrait;
|
||||
margin: 25mm 10mm 25mm 10mm;
|
||||
counter-increment: page;
|
||||
font-family: "Noto", sans-serif;
|
||||
white-space: pre;
|
||||
color: grey;
|
||||
|
||||
@top-left {
|
||||
font-size: 70%;
|
||||
content: 'Formation « Cloud & Enjeux »';
|
||||
}
|
||||
/*
|
||||
@top-center {
|
||||
content: string(chapter);
|
||||
}*/
|
||||
@top-right {
|
||||
font-size: 70%;
|
||||
/* content: 'SQLI INSTITUT (ASTON)'; */
|
||||
/* content: 'AELION'; */
|
||||
content: '';
|
||||
}
|
||||
|
||||
@bottom-left {
|
||||
font-size: 70%;
|
||||
content: '2017-2022 © Glenn ROLLAND - Ne pas diffuser';
|
||||
}
|
||||
/*
|
||||
@bottom-center {
|
||||
content: string(chapter);
|
||||
}*/
|
||||
|
||||
/*
|
||||
@bottom-right {
|
||||
font-size: 70%;
|
||||
content: 'Page ' counter(page);
|
||||
}*/
|
||||
}
|
||||
|
18
docs.extra/javascript.extra/mathjax.js
Normal file
18
docs.extra/javascript.extra/mathjax.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
window.MathJax = {
|
||||
tex: {
|
||||
inlineMath: [["\\(", "\\)"]],
|
||||
displayMath: [["\\[", "\\]"]],
|
||||
processEscapes: true,
|
||||
processEnvironments: true
|
||||
},
|
||||
options: {
|
||||
ignoreHtmlClass: ".*|",
|
||||
processHtmlClass: "arithmatex"
|
||||
}
|
||||
};
|
||||
|
||||
document$.subscribe(() => {
|
||||
|
||||
|
||||
MathJax.typesetPromise()
|
||||
})
|
Loading…
Reference in a new issue