Skip to content

Noto Nastaleeq Urdu font for all websites by faisalsarosh

Details

Authorfaisalsarosh

LicenseNo License

Category*.*

Created

Updated

Size3.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Font style correction for Urdu language webpages

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name       Noto Nastaleeq Urdu font for all websites
@version    20240401.15.24
@namespace  ?
==/UserStyle== */

@-moz-document regexp("https:.*"), regexp("http:.*") {
@font-face {
		font-family: 'Noto Nastaliq Urdu';
		font-style: normal;
		font-weight: 400;
		src: url(https://fonts.gstatic.com/ea/notonastaliqurdu/v1/NotoNastaliqUrdu-Regular.eot);
		src: url(https://fonts.gstatic.com/ea/notonastaliqurdu/v1/NotoNastaliqUrdu-Regular.eot?#iefix) format('embedded-opentype'),
			url(https://fonts.gstatic.com/ea/notonastaliqurdu/v1/NotoNastaliqUrdu-Regular.woff2) format('woff2'),
			url(https://fonts.gstatic.com/ea/notonastaliqurdu/v1/NotoNastaliqUrdu-Regular.woff) format('woff'),
			url(https://fonts.gstatic.com/ea/notonastaliqurdu/v1/NotoNastaliqUrdu-Regular.ttf) format('truetype');
	}
	[dir="rtl"] *:not(.fa):not(.fas):not([class*="icon"]),
	[dir="rtl"]:not(.fa):not(.fas):not([class*="icon"]),
	[lang="ur"] *:not(.fa):not(.fas):not([class*="icon"]),
	[lang="ur"]:not(.fa):not(.fas):not([class*="icon"]) {
		font-family: 'Noto Nastaliq Urdu', 'Faiz Lahori Nastaleeq', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', Helvetica, sans-serif !important;
		line-height: 2.5 !important;
		-webkit-font-feature-settings: unset !important;
	}
}

@-moz-document domain("facebook.com") {
*[dir=rtl],
	html[dir=rtl] > body,
	div[dir=rtl], span[dir=rtl],
	.webMessengerMessageGroup ._38 p,
	._6nm,
	.direction_rtl,
	._1mk,
	html[dir=rtl] * {
		font-family: 'Noto Nastaliq Urdu', sans-serif !important;
		line-height: 2.5 !important;
	}
	h1[dir=auto],
	div[dir=auto] {
        font-family: 'Noto Nastaliq Urdu', sans-serif !important;
        line-height: 2.2;
	}
	span[dir=auto],
	h4[dir=auto] {
		font-family: 'Noto Nastaliq Urdu', sans-serif !important;
	}
}

@-moz-document domain("twitter.com") {
[lang="ur"] span,
	[lang="ur"]  + div [dir="auto"],
	[lang="fa"] span,
	[lang="fa"]  + div [dir="auto"],
	[lang="ar"] span,
	[lang="ar"]  + div [dir="auto"],
	.public-DraftStyleDefault-rtl {
		font-family: 'Noto Nastaliq Urdu', 'Faiz Lahori Nastaleeq', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', Helvetica, sans-serif !important;
		line-height: 2.5 !important;
	}
}

@-moz-document domain("bbc.com") {
* {
		font-family: 'Noto Nastaliq Urdu', sans-serif !important;
		line-height: 2.5 !important;
	}
	.navigation-wide-list {
		height: 60px !important;
	}
}

@-moz-document domain("google.com"), domain("youtube.com") {
pre[dir="rtl"] {
		height: auto !important;
	}
	input[title="Search"],
	[role="option"] {
		font-family: 'Noto Nastaliq Urdu', arial, sans-serif !important;
		word-spacing: 0.2em;
		line-height: 2.5 !important;
	}

#content-text.ytd-comment-renderer{
    font-family: 'Noto Nastaliq Urdu', arial, sans-serif !important;
		word-spacing: 0.2em;
		line-height: 2.5 !important;
}
}

@-moz-document url-prefix("https://www.olx.com.pk") {
.CBG3S p {
	font-family: "Noto Nastaliq Urdu",Roboto,Arial,Helvetica,sans-serif;
	margin: 0;
	color: #002f34;
	font-size: 16px;
	line-height: 200%;
}
}

@-moz-document domain("goodreads.com") {
#description b,
	.ctaBannerShown div,
	[itemprop="name"] {
		font-family: 'Noto Nastaliq Urdu', "Merriweather", "Georgia", serif !important;
	}
}

Reviews

No reviews yet.