Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions assets/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,14 @@ blockquote {
-webkit-appearance: none;
}

@font-face {
font-family: 'Vazirmatn';
src: url('/assets/fonts/Vazirmatn-Variable.woff2') format('woff2-variations');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}

*:lang(fa) {
Copy link
Preview

Copilot AI Jun 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using a universal selector here (*) can degrade rendering performance and may unintentionally affect non-text elements. Consider scoping to html:lang(fa) or body:lang(fa) instead.

Copilot uses AI. Check for mistakes.

.article-body,
.lead,
Expand All @@ -259,4 +267,19 @@ blockquote {
h3 {
direction: rtl; /* Right to Left */
}

p,
a,
li,
span,
label,
h1,
h2,
h3,
h4,
h5,
h6,
footer {
font-family: 'Vazirmatn', sans-serif;
}
}
Binary file added assets/fonts/Vazirmatn-Variable.woff2
Binary file not shown.
Loading