Skip to content

Commit 48aa8a6

Browse files
committed
spacing, deprecated styles
1 parent e522fff commit 48aa8a6

File tree

1 file changed

+41
-0
lines changed
  • doc/sphinx/source/themes/neo4j/static/css

1 file changed

+41
-0
lines changed

doc/sphinx/source/themes/neo4j/static/css/neo4j.css

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ body.sphinx .content .search {
5656
height: auto;
5757
background: initial;
5858
}
59+
60+
body.sphinx .sphinxsidebar {
61+
background: #f5f7fa;
62+
}
5963

6064
body.sphinx .nav-panel-menu:not(.is-active)::after {
6165
background: initial;
@@ -190,3 +194,40 @@ div.code-block-caption:hover > a.headerlink {
190194
display: block;
191195
padding: 0.25rem 0;
192196
}
197+
198+
/* lists */
199+
200+
body.sphinx .doc ul li{
201+
margin-bottom: 0.5rem;
202+
}
203+
204+
/* functions */
205+
206+
body.sphinx .doc dl.py.function {
207+
padding-top: 2rem;
208+
padding: 1rem;
209+
/* border-top: 2px dotted #eee; */
210+
}
211+
212+
/* deprecated */
213+
214+
body.sphinx .deprecated::after,
215+
body.sphinx .deprecated > *::after {
216+
content: unset;
217+
}
218+
219+
body.sphinx .doc dl.deprecated,
220+
body.sphinx .doc div.deprecated {
221+
border-left: 4px solid #d53f8c;
222+
color: #702459;
223+
background-color: #fed7e2;
224+
}
225+
226+
body.sphinx .doc dl.deprecated {
227+
margin-bottom: 0;
228+
padding-bottom: 0;
229+
}
230+
231+
body.sphinx .doc div.deprecated {
232+
padding: 1rem;
233+
}

0 commit comments

Comments
 (0)