Note – after saving, it will take 5-10 minutes before the changes take effect. You may also have to bypass your browser’s cache to see the changes.

  • Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
  • Konqueror and Chrome: click Reload or press F5;
  • Opera: clear the cache in Tools → Preferences;
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

Prevents accidental log outs and replaces the ugly default font with Noto Naskh Arabic or Noto Nasta'liq Urdu depending on language.


#pt-logout {
     display: none;
 }
 
/* noto-naskh-arabic-regular - arabic; 
this downloads the Noto Naskh font from google */
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 400;
  src: local(''),
  url(https://fonts.gstatic.com/s/notonaskharabic/v33/RrQ5bpV-9Dd1b1OAGA6M9PkyDuVBePeKNaxcsss0Y7bwvc5Urqcy1fA3un_6.woff2) format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto nastaliq Urdu download */
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 400;
  src: local(''),
  url(https://fonts.gstatic.com/s/notonastaliqurdu/v20/LhWNMUPbN-oZdNFcBy1-DJYsEoTq5pudQ9L940pGPkB3Qt_-PK-V3M35iE283Np1.woff) format('woff'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* css will check if the system already has the font before downloading */
.Arab,
.fa-Arab,
.glk-Arab,
.kk-Arab,
.ku-Arab,
.mzn-Arab,
.ota-Arab,
.sd-Arab,
.ps-Arab,
.tt-Arab,
.ug-Arab,
.ms-Arab {
	font-family: 'Noto Naskh Arabic' , serif ; 
	font-size: 133%;
	width: auto !important;
	direction: rtl;
	font-variant-ligatures: none;
	unicode-bidi: embed;
}

.ur-Arab,
.pa-Arab,
.ks-Arab,
.Arab[lang=ks],
.Arab[lang=bft] {
	font-family: 'Noto Nastaliq Urdu'  ;
	font-size: 100%;
	direction: rtl;
	unicode-bidi: embed;
}