man-to-html/man-template.html

41 lines
667 B
HTML
Raw Permalink Normal View History

2019-04-10 18:15:13 -07:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>$title$</title>
<style>
body, p, h1 {
font-family: monospace;
display: inline-block;
max-width: 73ch;
width: 73ch;
margin: 0;
line-height: 1rem;
font-size: 1rem;
word-wrap: wrap;
}
body { margin: 1rem }
p { margin-left: 7ch; margin-bottom: 1rem }
2019-04-11 13:12:50 -07:00
.formatted {
width: 80ch;
max-width: 80ch;
display: flex;
justify-content: space-between;
}
.formatted p { margin-left: 0; width:max-content }
2019-04-10 18:15:13 -07:00
</style>
</head>
<body>
2019-04-11 13:12:50 -07:00
<div class="formatted">
<p>$cmd$</p>
<p>$title$</p>
<p>$cmd$</p>
</div>
2019-04-10 18:15:13 -07:00
$body$
2019-04-11 13:12:50 -07:00
<div class="formatted">
<p>$version$</p>
<p>$date$</p>
<p>$cmd$</p>
</div>
2019-04-10 18:15:13 -07:00
</body>
</html>