This commit is contained in:
Geoffrey Frogeye 2017-05-16 07:24:29 +02:00
parent b0e0a8d9a4
commit c8ada584c2
8 changed files with 401 additions and 187 deletions

View file

@ -1,29 +1,54 @@
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>$title$</title>
<meta name="date" content="$date$" scheme="DD/MM/YYYY">
<meta name="author" content="$author$">
<style type="text/css">
body {
font-family: "Source Sans Pro", Calibri, Carlito, sans-serif;
font-size: 15pt;
margin: 1cm;
}
<!DOCTYPE html>
<html lang="fr">
@media print {
a {
color: black;
text-decoration: none;
}
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/styles/xcode.min.css" integrity="sha256-OED7Gmqde0cMVVeo1zVd+3fBD4EST32D4h9YT7KY0aY=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css" integrity="sha384-wITovz90syo1dJWVh32uuETPVEtGigN07tkttEqPv+uR2SE/mbQcG7ATL28aI9H0" crossorigin="anonymous">
<style type="text/css">
body {
font-family: Cantarell;
font-size: 12px;
}
</style>
code {
white-space: pre-wrap;
}
h1, h2, h3 {
text-decoration: underline;
margin-bottom: 0;
}
h1:first-of-type {
text-align: center;
text-decoration: none;
margin-bottom: 0;
}
h2:first-of-type {
color: gray;
text-align: center;
text-decoration: none;
margin-top: 0;
}
img {
max-width: 100%;
}
p {
text-align: justify;
}
@media print {
code {page-break-inside: avoid;}
h1, h2, h3, h4, h5 {page-break-after: avoid;}
img {page-break-after: avoid;}
}
</style>
<title>%TITLE%</title>
</head>
<body lang="fr-FR">
<h1>$title$</h1>
<h2>$author$</h2>
<hr/>
$body$
<body>
<main class="page-content" aria-label="Content">
%BODY%
</main>
</body>
</html>