Munurin millum rættingarnar hjá "Fyrimynd:Script/Arabic/doc"

Content deleted Content added
Stovnaði síðu við "{{Documentation subpage}} <div style="float:right">__TOC__</div>__NOTOC__ <!-- Categories and interwikis go at the bottom of this page. --> This template is to render pro..."
 
Xqbot (kjak | íkøst)
s Bot: Erstatt forældet <source> -tag og parameteren "enclose" [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html]
 
Linja 40:
 
An example making the font size 105%, and choosing Droid Arabic Naskh to be the main font with Arial as an additional font :
<sourcesyntaxhighlight lang="css">
.script-arabic {
font-size: 105% !important;
font-family: 'Droid Arabic Naskh', Arial, sans-serif !important;
}
</syntaxhighlight>
</source>
: Font names containing spaces (or any other character than a letter) need to be put between <code><strong>'</strong></code> or <code><strong>"</strong></code>.
: The list of fonts should always be terminated by the pseudo-font names "sans-serif" and/or "serif", to allow using the fonts defined in user preferences in their browser, or the fonts set by default in browsers.
Linja 54:
 
Example:
<sourcesyntaxhighlight lang="css">
.script-arabic {
font-size: 175% !important;
Linja 77:
!important;
}
</syntaxhighlight>
</source>
 
<br/>
The same example without the notes:
<sourcesyntaxhighlight lang="css">
.script-arabic {
font-size: 175% !important;
Linja 88:
'Arabic Typesetting', Arial, 'Arabic Transparent', 'Times New Roman', sans-serif !important;
}
</syntaxhighlight>
</source>
 
== See also ==