Blame view

template.html 1.67 KB
73f2ae9d   Geoffrey PREUD'HOMME   Outils de rédaction
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
  <!DOCTYPE html>
  <html lang="fr">
  
  <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;
          }
          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;
          }
          p code {
              border: 1px solid #ccc;
              border-radius: 2px;
              padding: 0px 2px;
          }
          @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>
      <main class="page-content" aria-label="Content">
  %BODY%
      </main>
  </body>
  
  </html>