Skip to content

Commit 9c41b1f

Browse files
committed
Address review comments
1 parent 2c55d7d commit 9c41b1f

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

python_docs_theme/static/pydoctheme.css

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,6 @@ div.body {
240240
padding-inline-start: 1.2em;
241241
}
242242

243-
body[dir='rtl'] div.body {
244-
direction: rtl;
245-
}
246-
247243
div.body p, div.body dd, div.body li, div.body blockquote {
248244
text-align: start;
249245
line-height: 1.6;
@@ -267,11 +263,6 @@ div.body hr {
267263
height: 1px;
268264
}
269265

270-
dl > dt span ~ em,
271-
.sig {
272-
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
273-
}
274-
275266
pre,
276267
code,
277268
div.highlight,
@@ -484,6 +475,11 @@ div.footer a:hover {
484475
--refcount-return-borrowed-ref: var(--middle-color);
485476
}
486477

478+
dl > dt span ~ em,
479+
.sig {
480+
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
481+
}
482+
487483
.refcount {
488484
color: var(--refcount);
489485
}
@@ -669,6 +665,7 @@ div.genindex-jumpbox a {
669665
flex: auto;
670666
border: 1px solid #a9a9a9;
671667
align-items: stretch;
668+
position: relative;
672669
}
673670
.nav-content .search input[type=search] {
674671
border: 0;
@@ -686,7 +683,8 @@ div.genindex-jumpbox a {
686683
}
687684
.nav-content .search svg {
688685
position: absolute;
689-
align-self: center;
686+
top: 50%;
687+
transform: translateY(-50%);
690688
inset-inline-start: 4px;
691689
}
692690
.toggler__input {
@@ -898,4 +896,4 @@ div.soft-deprecated .versionmodified {
898896
div.mobile-nav {
899897
display: none;
900898
}
901-
}
899+
}

0 commit comments

Comments
 (0)