10000 DOC: Follow-up fixes for new theme · melissawm/numpy@26df13c · GitHub
[go: up one dir, main page]

Skip to content

Commit 26df13c

Browse files
committed
DOC: Follow-up fixes for new theme
Fixes spacing between logo and navbar section titles, and admonition colors. [skip azp] [skip cirrus]
1 parent 50a705c commit 26df13c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

doc/source/_static/numpy.css

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ body {
1212
font-size: medium;
1313
}
1414

15+
/* Making sure the navbar shows correctly in one line
16+
Reduces the space between the top-left logo and the navbar section titles */
17+
18+
.col-lg-3 {
19+
width: 15%;
20+
}
21+
1522
/* Version switcher colors from PyData Sphinx Theme */
1623

1724
.version-switcher__button[data-active-version-name*="devdocs"] {
@@ -58,12 +65,10 @@ div.admonition-legacy {
5865
border-color: var(--pst-color-warning);
5966
}
6067

61-
.admonition>.admonition-title::after,
62-
div.admonition>.admonition-title::after {
68+
div.admonition-legacy>.admonition-title::after {
6369
color: var(--pst-color-warning);
6470
}
6571

66-
.admonition>.admonition-title,
67-
div.admonition>.admonition-title {
72+
div.admonition-legacy>.admonition-title {
6873
background-color: var(--pst-color-warning-bg);
6974
}

0 commit comments

Comments
 (0)
0