Skip to content

Commit 4341fd3

Browse files
committed
refactor(css): Scope Persian font to specific text elements
Replaces the universal selector (*) with a specific list of text-containing elements for applying the Vazirmatn font.
1 parent 18fdce1 commit 4341fd3

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

assets/css/custom.scss

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,18 @@ blockquote {
268268
direction: rtl; /* Right to Left */
269269
}
270270

271-
* {
271+
p,
272+
a,
273+
li,
274+
span,
275+
label,
276+
h1,
277+
h2,
278+
h3,
279+
h4,
280+
h5,
281+
h6,
282+
footer {
272283
font-family: 'Vazirmatn', sans-serif;
273284
}
274285
}

0 commit comments

Comments
 (0)