We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e4ff41 commit 8ac0e8aCopy full SHA for 8ac0e8a
2 files changed
src/sphinx_book_theme/assets/styles/index.scss
@@ -47,3 +47,6 @@
47
@import "extensions/myst-nb";
48
@import "extensions/sphinx-tabs";
49
@import "extensions/thebe";
50
+
51
+// Page-specific CSS
52
+@import "pages/search";
src/sphinx_book_theme/assets/styles/pages/_search.scss
@@ -0,0 +1,28 @@
1
+/**
2
+ * Search page special-cases
3
+ */
4
5
+// Turn off the extra search UI at the top of the page
6
+#search-documentation {
7
+ display: none;
8
+ & ~ p,
9
+ ~ form {
10
11
+ }
12
+}
13
14
+// Whitespace
15
+div#search-results > h2 {
16
+ margin-top: 0;
17
18
19
+// The results of a search
20
+ul.search {
21
+ margin: 0;
22
+ list-style: none;
23
24
+ li {
25
+ background-image: none;
26
+ padding: 0;
27
28
0 commit comments