use jinja2 templates to add css and formatting

This commit is contained in:
2026-01-26 22:38:22 -07:00
parent 0b17117566
commit 50a8281508
4 changed files with 104 additions and 1 deletions
+54
View File
@@ -0,0 +1,54 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{{ name }}</title>
<style>
body {
font-family: Arial, sans-serif;
max-width: 100ch; /* 100 characters max width */
margin: 0 auto;
padding: 20px;
line-height: 1.6;
}
h1 {
text-align: center;
margin-bottom: 20px;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
th, td {
text-align: left;
padding: 8px;
border-bottom: 1px solid #ddd;
}
th {
text-align: left;
padding: 8px;
}
td {
text-align: left;
padding: 8px;
}
ul {
padding-left: 20px;
}
li {
margin-bottom: 5px;
}
.section {
margin-bottom: 20px;
}
.section h2 {
border-bottom: 2px solid #333;
padding-bottom: 5px;
}
</style>
</head>
<body>
{{ content }}
</body>
</html>