Files
business-report-templates/styles/report.css
2026-07-18 14:05:07 +03:30

146 lines
2.4 KiB
CSS

@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;
}
:root {
--text: #1f2328;
--text2: #57606a;
--stroke: #d0d7de;
--bg: #ffffff;
--fill: #f6f8fa;
}
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: var(--text);
background: var(--bg);
}
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,
p.author,
.quarto-title-meta-author {
display: none;
}
.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;
}
/* Match Inco Mixed ICJ108 HTML table chrome */
table {
border-collapse: separate;
border-spacing: 0;
width: 100%;
margin: 1rem 0;
border: 1px solid var(--stroke);
border-radius: 8px;
overflow: hidden;
}
th, td {
padding: 0.55rem 0.75rem;
text-align: center;
font-size: 1.05rem;
font-variant-numeric: tabular-nums;
border: none;
}
thead th {
background: var(--fill);
font-size: 1rem;
color: var(--text2);
border-bottom: 1px solid var(--stroke);
line-height: 1.35;
}
tbody tr + tr td {
border-top: 1px solid var(--stroke);
}
/* Keep compound LTR numerics (e.g. 0.850 ± 0.05) in visual LTR order inside RTL tables */
table [dir="ltr"],
table .ltr {
direction: ltr;
unicode-bidi: isolate;
display: inline-block;
}
/* Summary / callout box — same chrome as tables */
.summary-box {
border: 1px solid var(--stroke);
border-radius: 8px;
background: var(--fill);
padding: 0.85rem 1.1rem;
margin: 1rem 0;
color: var(--text);
}
.summary-box > :first-child {
margin-top: 0;
}
.summary-box > :last-child {
margin-bottom: 0;
}
.summary-box [dir="ltr"],
.summary-box .ltr {
direction: ltr;
unicode-bidi: isolate;
display: inline-block;
}
code {
direction: ltr;
unicode-bidi: embed;
}