prune sim: align documentation style with sphinx/alabaster ones

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-11-08 14:02:27 +01:00
parent 8a40e22691
commit b690bb69eb
1 changed files with 32 additions and 13 deletions

View File

@ -2,27 +2,45 @@
<html> <html>
<head> <head>
<style> <style>
/* similar to sphinx alabaster theme ones */
body { body {
max-width: 90ch; max-width: 90ch;
margin-left: 2ch; margin-left: 2ch;
margin-right: 2ch; margin-right: 2ch;
line-height: 1.5em; line-height: 1.4em;
color: #454545; /* avoid the very high contrast of black on white, tone it down a bit */
color: #3E4349;
hyphens: auto;
text-align: left;
font-family: 'Open Sans', sans-serif;
font-size: 17px;
} }
h1, h2, h3 { h1, h2, h3 {
line-height:1.2 font-family: Lato, sans-serif;
font-size: 150%;
line-height:1.2
} }
tt, code { tt, code {
background-color: #ecf0f3; background-color: #ecf0f3;
color: #222; color: #222;
} }
pre, tt, code { pre, tt, code {
font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
font-size: 0.9em; font-size: 0.9em;
} }
div.note { div.note {
background-color: #EEE; background-color: #EEE;
border: 1px solid #CCC; border: 1px solid #CCC;
margin: 10px 0;
padding: 0px 20px;
}
p.note-title {
font-weight: bolder;
padding: 0;
margin: 10px 0 0 0;
}
div.note > p.last {
margin: 5px 0 10px 0;
} }
</style> </style>
</head> </head>
@ -60,7 +78,8 @@ backup for a single day, only the latest is kept.</dd>
<dd>Keep backups for the last <code class="docutils literal notranslate"><span class="pre">&lt;N&gt;</span></code> weeks. If there is more than one <dd>Keep backups for the last <code class="docutils literal notranslate"><span class="pre">&lt;N&gt;</span></code> weeks. If there is more than one
backup for a single week, only the latest is kept. backup for a single week, only the latest is kept.
<div class="last admonition note"> <div class="last admonition note">
<p class="last"><b>Note:</b> Weeks start on Monday and end on Sunday. The software <p class="note-title">Note:</p>
<p class="last">Weeks start on Monday and end on Sunday. The software
uses the <a class="reference external" href="https://en.wikipedia.org/wiki/ISO_week_date">ISO week date</a> system and handles weeks at uses the <a class="reference external" href="https://en.wikipedia.org/wiki/ISO_week_date">ISO week date</a> system and handles weeks at
the end of the year correctly.</p> the end of the year correctly.</p>
</div> </div>