Custom theme for Duolingo Arabic
Following my technical review of the Arabic course, here is a quick fix: now you can see Arabic texts in a better font (Vazir) and hopefully, a better size too.
- First install Stylish extension on Firefox or Chrome . Alternatively, you can install Stylus on Firefox or Chrome
- And then, go to this page and click on "Install style" button:
- Now, open an Arabic lesson and you'll notice the changes :)
How to use the theme on cell phones and tablets
Instead of using Duolingo's Android/iOS application, open Firefox on your cell phone/tablet and log into Duolingo. This way, you're using the Web version of Duolingo on your device. Now, do the same steps: install Stylish/Stylus and the theme. The screen is smaller but it's quite like studying Duolingo on your laptop/PC using this custom theme.
You're welcome! I'll edit my post and add Stylus as an alternative. A lingot for you :)
Fill in the blanks, translate English to Arabic choices, and new words are still in the original font, though the last is larger.
Thank you so much for doing this.
Please try the updated version and also read my explanation added to the end of the post
I have just installed this (Firefox/Stylus) and I'm not seeing the new font, either. I'm not complaining about this, as I prefer the original font, so your addon has done exactly what I'd have wanted.
However, I'm curious as to why it hasn't changed the font as it was supposed to.
Many thanks for making this, anyway.
Thank you for all your concern, involvement and time. If the initial links could open in their own respective tabs ... In any case, the footwork needed to get to the style extension makes me wonder about a larger issue. Can sequential links be coded into a consolidated one, for users to avoid multiple steps and hop straight to the end? Just an idea to "copyleft" (if it hasn't been implemented already) ...
Sorry. I don't completely understand what you mean. There are only two steps. Installing an extension and then, installing this custom style. It can't become simpler. To open a link in a new tab, you can middle click on it (alternatively, you can hold down Ctrl key before clicking on a link).
Thank you for clarifying and sorry for my confusing. I did install the style and appreciate the difference.
Installation issues or no, perhaps "meta-" or "super"-links (if they may be called) for one-click, one-step navigation through multiple pages or sites is a job for future web technology.
In any case, if you haven't said so already, what would be your style recommendations for mobile (Android, iPhone, iPad, etc.)? The Arabic font problem seems to carry over to the DL app.
A lingot for your interesting suggestion :) However, that makes the theme's scope too general. It can cause problem when you're studying other languages. I'll test it on my computer to see how I can lay the font stack flawlessly.
A couple more notes. The style doesn't currently apply when you choose the general practice button instead of a specific section. That URL is https://www.duolingo.com/practice
It also doesn't apply to the word bank currently (when you choose from the word bank instead of typing your answer). The class I used for that is for the word buttons, and is iNLw3. I didn't check if you were using the surrounding div on others or the buttons themselves.
THANKS! Updated the style. 5 lingots for you :) The URL for practice tests isn't language-specific and the styles will apply to other languages as well but we have no other option: that's the only way to style Arabic texts in a practice test
It works in the course (kudos!), but not in Tinycards, neither when creating cards nor when learning them. Is there a way to apply your neat styling also to Tinycards?
Your Duolingo Arabic user style was very useful during the last weeks, so thank you again!
The companion style just overwrites the font-size value in the Duolingo Arabic user style and makes it a user-customizable variable. I am not sure if something like this is possible with Stylish, so maybe you will need Stylus for it (available for Chrome, Firefox and Opera).
If you want to try it out and if you have already Stylus and the Duolingo Arabic user style installed, you can install the companion style via this link.
Then when you want to change the font size during a lesson on Duolingo click on the Stylus symbol and then on the settings wheel next to "Duolingo Arabic CO..." in the first screenshot:
You can adjust the font size between 20px and 40px, default is 30px.
@alijsh I wonder if you could add something like this to your user style?
Stylus worked great on my laptop. Firefox for iOS does not support extensions, unfortunately, so can't use it on an iPhone.
Thank you so much for this userstyle! I don't know when or why Duolingo changed the font, but using this returned the writing to what I was used to seeing and makes it easier to focus on the exercises.