Skip to content

RTL For W3Schools.com by elyas

Screenshot of RTL For W3Schools.com

Details

Authorelyas

LicenseNo License

Categoryw3schools

Created

Updated

Size677 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

اضافه کردن یک استایل راست به چپ برای سایت w3schools.com در گوشی که برای زبان فارسی تست شده است .
*این یک استایل اولیه است و احتمالا دارای خطا میباشد
لطفا در صورت مشاهده هر گونه خطایی به ما پیام بدید.

Adding a right-to-left style for the w3school.com site, which has been tested for the Persian language in mobile.
*This is an initial style and may contain errors
Please let us know if you see any errors.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           RTL For W3Schools.com
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
@-moz-document domain("w3schools.com") {
           @import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

    *{
    font-family: Vazirmatn, sans-serif;
    direction: rtl;
	text-align: right;  
       }


	.w3-code {
		direction: ltr !important;
		text-align: left !important;
	}
	.exerciseprecontainer {
		direction: ltr !important;
		text-align: left !important;
	}

	pre {
		direction: ltr !important;
		text-align: left !important;
	}
}

Reviews

No reviews yet.