برچسبها: ویرایش همراه ویرایش از وبگاه همراه |
|
خط ۱٬۷۶۰: |
خط ۱٬۷۶۰: |
| } | | } |
|
| |
|
|
| |
|
| |
|
| |
| /* When <div class="nonumtoc"> is used on the table of contents, the ToC will display without numbers */
| |
| .nonumtoc .tocnumber { display:none; }
| |
| .nonumtoc #toc ul,
| |
| .nonumtoc .toc ul {
| |
| line-height: 1.5em;
| |
| list-style: none;
| |
| margin: .3em 0 0;
| |
| padding: 0;
| |
| }
| |
| .nonumtoc #toc ul ul,
| |
| .nonumtoc .toc ul ul {
| |
| margin: 0 0 0 2em;
| |
| }
| |
|
| |
| /* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
| |
| instance, will limit to showing ==headings== and ===headings=== but no further (as long as
| |
| there are no =headings= on the page, which there shouldn't be according to the MoS). */
| |
| .toclimit-2 .toclevel-2 {display:none;}
| |
| .toclimit-3 .toclevel-3 {display:none;}
| |
| .toclimit-4 .toclevel-4 {display:none;}
| |
| .toclimit-5 .toclevel-5 {display:none;}
| |
| .toclimit-6 .toclevel-6 {display:none;}
| |
| .toclimit-7 .toclevel-7 {display:none;}
| |
|
| |
|
| |
|
| |
|
| |
| .tocnumber {
| |
| color: #333;
| |
| }
| |
| .toc, #toc,
| |
| .catlinks,
| |
| .mw-gallery-traditional li.gallerybox div.thumb,
| |
| div.thumbinner {
| |
| border-width: 1px;
| |
| border-style: solid;
| |
| border-color: #E0E0E0 #B1B1B1 #B1B1B1 #E0E0E0;
| |
| box-shadow: 0.25em 0.25em 0.5em rgba(0, 0, 0, 0.05);
| |
| }
| |
|
| |
|
| |
| .mw-body h1, .mw-body h2, .mw-body #firstHeading,
| |
| .mw-body .mw-editsection, .mw-body .mw-editsection-like,
| |
| .mw-body #toc h2, .mw-body .toc h2, #wpTextbox1,
| |
| #template-documentation, #documentation-meta-data {
| |
| /* generally a serif font should be here but Arial is not acceptable for Persian */
| |
| font-family: vazir, Tahoma, 'Iranian Serif', 'Noto Kufi Arabic', 'Droid Arabic Naskh', 'Iranian Sans', 'DejaVu Sans', serif;
| |
| }
| |
|
| |
| /* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */
| |
| .ace_editor { font-family: 'Courier New', monospace!important; }
| |
|
| |
| /* If is IE Edge/Windows 10, Arabic diacritics are broken so use Segoe UI as default font instead */
| |
| _:-ms-lang(x), _:-webkit-full-screen, body { font-family: vazir, 'Segoe UI', Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; }
| |
|
| |
| /* Similarly, Safari 10.1/11 hack to use a better font and avoid Yeh diacrictic issue with CoreText and replace it with '.Arabic UI Display', their brand new font https://stackoverflow.com/a/25975282 */
| |
| @media not all and (min-resolution:.001dpcm) { @media {
| |
| body, .mw-body h1, .mw-body h2, .mw-body #firstHeading, .mw-body .mw-editsection, .mw-body .mw-editsection-like, .mw-body #toc h2, .mw-body .toc h2, #template-documentation, #documentation-meta-data {
| |
| font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
| |
| }
| |
| textarea { font-family: 'Courier New', monospace; font-size: 100%; }
| |
| } }
| |
|
| |
|
|
| |
|