forked from progit2-fa/progit2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
تغییراتی که ارائه شده فهرست، تیترها، توضیحات عکسها، هدر جداول و... را چپ به راست میکند.
- Loading branch information
Showing
1 changed file
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,27 @@ | ||
<style> | ||
div, dl, dt, dd, ul, ol, li, h1, h2, h3, #toctitle, .sidebarblock>.content>.title, h4, h5, h6, form, p, blockquote, th, td, #content { | ||
div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, #toctitle, .sidebarblock>.content>.title, form, p, blockquote, th, td, #content, .title { | ||
direction: rtl; | ||
text-align: right; /* Fallback align for converted outputs such as Docx */ | ||
text-align: justify; | ||
} | ||
code { | ||
direction: ltr; | ||
unicode-bidi: embed; | ||
} | ||
/* Force Right align to some elements */ | ||
th, .title { | ||
text-align: right !important; | ||
} | ||
/* For TOC */ | ||
ul[class^="sectlevel"] { | ||
margin-right: 1.25em; | ||
margin-left: 0; | ||
margin-bottom: 0; | ||
font-size: 1em; | ||
} | ||
/* For lists */ | ||
ul, ol { | ||
margin-right: 1.5em; | ||
margin-left: 0; | ||
} | ||
</style> |