Add Quarto HTML+Typst business report templates.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-15 00:43:08 +03:30
commit 3cdc5918a9
18 changed files with 536 additions and 0 deletions

88
styles/report.css Normal file
View File

@@ -0,0 +1,88 @@
@font-face {
font-family: "IRNazanin";
src: url("../assets/fonts/IRNazanin.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "IRNazanin";
src: url("../assets/fonts/IRNazanin-Bold.ttf") format("truetype");
font-weight: bold;
font-style: normal;
}
html {
direction: rtl;
lang: fa;
}
body {
font-family: "IRNazanin", "Tahoma", sans-serif;
font-size: 1.05rem;
line-height: 1.7;
max-width: 48rem;
margin: 2rem auto;
padding: 0 1.25rem;
color: #1a1a1a;
background: #fff;
}
h1, h2, h3 {
font-weight: bold;
line-height: 1.4;
}
h1.title {
font-size: 1.75rem;
margin-bottom: 0.25rem;
}
.subtitle {
font-size: 1.1rem;
color: #444;
margin-top: 0;
}
.quarto-title-meta,
.quarto-title-meta-contents {
text-align: right;
}
.report-meta {
margin: 1.5rem 0;
padding: 1rem 1.25rem;
background: #f6f6f6;
border-radius: 6px;
}
.report-meta dt {
font-weight: bold;
margin-top: 0.5rem;
}
.report-meta dd {
margin: 0.15rem 0 0.5rem 0;
}
table {
width: 100%;
border-collapse: collapse;
margin: 1rem 0;
font-size: 0.95rem;
}
th, td {
border: 1px solid #ccc;
padding: 0.4rem 0.6rem;
text-align: center;
}
th {
background: #eee;
}
code {
direction: ltr;
unicode-bidi: embed;
}