Skip to content

Commit 61fe270

Browse files
committed
Address review comments
1 parent 2263680 commit 61fe270

1 file changed

Lines changed: 15 additions & 13 deletions

File tree

python_docs_theme/static/pydoctheme.css

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -269,14 +269,16 @@ div.body hr {
269269
height: 1px;
270270
}
271271

272-
pre,
273-
code,
274-
div.highlight,
275-
dl > dt span ~ em,
276-
.sig,
277-
.sig-param {
278-
direction: ltr;
279-
unicode-bidi: isolate;
272+
body[dir='rtl'] {
273+
& pre,
274+
& code,
275+
& div.highlight,
276+
& dl > dt span ~ em,
277+
& .sig,
278+
& .sig-param {
279+
direction: ltr;
280+
unicode-bidi: isolate;
281+
}
280282
}
281283

282284
body[dir='rtl'] .sig {
@@ -475,6 +477,11 @@ body[dir='rtl'] div#search-results ul.search li p {
475477
text-align: right;
476478
}
477479

480+
dl > dt span ~ em,
481+
.sig {
482+
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
483+
}
484+
478485
body[dir='rtl'] div.citation > span {
479486
float: right;
480487
}
@@ -501,11 +508,6 @@ div.footer a {
501508
text-underline-offset: auto;
502509
}
503510

504-
dl > dt span ~ em,
505-
.sig {
506-
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
507-
}
508-
509511
div.footer a:hover {
510512
color: #0095c4;
511513
}

0 commit comments

Comments
 (0)