-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
32 lines (32 loc) · 978 Bytes
/
Copy pathstyles.css
File metadata and controls
32 lines (32 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* Mintlify sets lang but the local renderer does not consistently set dir. */
html[lang="ar"] {
font-family: Tahoma, Arial, sans-serif;
}
html[lang="ar"]
:is(#header, #content, .mdx-content, #mobile-nav, #sidebar-content, #table-of-contents-content, #footer, #pagination, .nav-tabs-item) {
direction: rtl;
text-align: right;
}
html[lang="ar"] :is(#content, .mdx-content) :is(ul, ol) {
padding-left: 0;
padding-right: 1.5em;
}
html[lang="ar"] :is(#content, .mdx-content) :is(th, td) {
text-align: right;
}
/* HTTP paths, source examples and diagram geometry stay left to right. */
html[lang="ar"] :is(pre, .code-block, .code-group, .mermaid, [data-language], #request-example, #response-example) {
direction: ltr;
text-align: left;
}
html[lang="ar"] :not(pre) > code {
direction: ltr;
unicode-bidi: isolate;
}
html[lang="ar"] .mermaid .nodeLabel {
direction: rtl;
unicode-bidi: plaintext;
}
.mermaid {
overflow-x: auto;
}