مدیاویکی گپ:Common.css: نسخه‌ئون ِفرق

Page contents not supported in other languages.
ویکی‌پدیا، آزادِ دانشنومه، جه
محتوای حذف‌شده محتوای افزوده‌شده
Arlolra (گپ | کایری)
۴۵ بند: ۴۵ بند:
</div>
</div>
<!-- پیام توسط کاربر:Nemo bis@metawiki با استفاده از فهرست در http://meta.wikimedia.org/w/index.php?title=Meta:Sandbox&oldid=8118966 ارسال شده‌است -->
<!-- پیام توسط کاربر:Nemo bis@metawiki با استفاده از فهرست در http://meta.wikimedia.org/w/index.php?title=Meta:Sandbox&oldid=8118966 ارسال شده‌است -->

== Cleanup after T154077 ==

Please make an edit similar to,

https://en.wikipedia.org/w/index.php?title=MediaWiki%3ACommon.css&diff=765412915&oldid=759894267

It should no longer be needed.

Thanks, [[کارور:Arlolra|Arlolra]] ([[کارور گپ:Arlolra|گپ]]) ‏۳۱ ژانویه ۲۰۲۳، ساعت ۲۳:۰۸ (UTC)

دچی‌یه‌ئونی که ‏۳۱ ژانویه ۲۰۲۳، ساعت ۲۳:۰۸ جا دکتنه

Hi! I don't speak Mazandarani language. Anyway, there is a problem with the codes in here. textarea {font-family: "Tahoma", sans-serif, sans; }. This is where we see the text while editing. It must use a monospace font in the text area. My suggestion for fixing this is by editing it to:

textarea { font-family: monospace; }

You can also enlarge the text size here, by typing: font-size: 140% (or more than 140 if needed):

textarea { font-family: monospace; font-size: 140%; }

You may also want to ensure that the lines are spaced well:

textarea { font-family: monospace; font-size: 140%; line-height: 125%; }

To specify a certain font, but I don't advise you to do it:

textarea { font-family: FONTNAME, monospace; font-size: 140%; line-height: 125%; }

Just don't forget that it must be a monospace font.




The wrest of those codes are written incorrectly:

h1 {font-family: "Tahoma", sans-serif, sans; }
h2 {font-family: "Tahoma", sans-serif, sans; }
h3 {font-family: "Tahoma", sans-serif, sans; }
h4 {font-family: "Tahoma", sans-serif, sans; }
h5 {font-family: "Tahoma", sans-serif, sans; }
h6 {font-family: "Tahoma", sans-serif, sans; }
p {font-family: "Tahoma", sans-serif, sans; }
li {font-family: "Tahoma", sans-serif, sans; }
div {font-family: "Tahoma", sans-serif, sans; }
body {font-family: "Tahoma", sans-serif, sans; }
input {font-family: "Tahoma", sans-serif, sans; }

They all musn't have in the end , sans. The word sans-serif has already specified that if the computer doesn't have Tahoma font, then it would try to choose a sans-serif font. You only type " before and after the name of the font if it is contained of more than one word:

body { font-family: Tahoma, sans-serif; }

While:

body { font-family: Tahoma, "Segoe UI", sans-serif; }

, "Segoe UI" is written between " because its name contains more than one word. If you wanted the computers to choose Tahoma, type it first, as shown and if the computer doesn't have Tahoma, it would use Segoe UI. If none of these fonts are installed on the computer, it would try to use a sans-serif font. Thank you. --Mahmudmasri ‏۱۵ نـووه‌مـبـر ۲۰۱۰، ساعت ۱۷:۵۳ (UTC)

Thank you for your comments Mahmud, We aren't a pro on html and .css files, however your feedback was helpful, Thankyou again for your attention )_|_\\_\ ‏۱۵ نـووه‌مـبـر ۲۰۱۰، ساعت ۲۱:۰۰ (UTC)

You're welcome. I hope that my note was helpful to you. Thanks. I also have a suggestion if you wanted to make the body text bigger:

body { font-size: 105%; font-family: Tahoma, "Segoe UI", sans-serif; }

--Mahmudmasri ‏۱۶ نـووه‌مـبـر ۲۰۱۰، ساعت ۱۲:۱۷ (UTC)

External links icons removed

Hello! If this CSS adds or modifies icons shown after external links, you'll be interested in knowing that such icons have been removed from MediaWiki core, a change which will reach this wiki in few days. You may want to consider whether you still need them. If you have questions, please ask at bugzilla:63725. Regards, Nemo ‏۱۰ آوریـل ۲۰۱۴، ساعت ۰۹:۴۵ (UTC)

Cleanup after T154077

Please make an edit similar to,

https://en.wikipedia.org/w/index.php?title=MediaWiki%3ACommon.css&diff=765412915&oldid=759894267

It should no longer be needed.

Thanks, Arlolra (گپ) ‏۳۱ ژانویه ۲۰۲۳، ساعت ۲۳:۰۸ (UTC)[جواب]