Skip to content

Commit c92ef33

Browse files
committed
removed main.css changes, enabling use of updated pt_lightning_sphinx_theme via PR Lightning-Universe/lightning_sphinx_theme#41 , (pip install -r requirements/doc.txt to test)
1 parent 088dbbe commit c92ef33

File tree

2 files changed

+1
-53
lines changed

2 files changed

+1
-53
lines changed

docs/source/_static/main.css

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,3 @@
11
col {
22
width: 50% !important;
33
}
4-
5-
/**
6-
* Enable side-by-side comparative code blocks with header descriptions
7-
*/
8-
.sbs-code {
9-
display: grid;
10-
grid-template-columns: repeat(2, 1fr);
11-
grid-column-gap: 10px;
12-
grid-template-rows: auto;
13-
grid-template-areas:
14-
"sbs-hdr1 sbs-hdr2"
15-
"sbs-blk1 sbs-blk2";
16-
margin-bottom: 1.5rem;
17-
}
18-
.sbs-code.container p {
19-
display: flex;
20-
justify-content: left;
21-
align-items: center;
22-
font-style: italic;
23-
color: #000080;
24-
margin-bottom: 0rem;
25-
}
26-
27-
.sbs-hdr1 { grid-area: sbs-hdr1;}
28-
.sbs-hdr2 { grid-area: sbs-hdr2; }
29-
.sbs-blk1 { grid-area: sbs-blk1; }
30-
.sbs-blk2 { grid-area: sbs-blk2; }
31-
32-
div.sbs-code :is(.highlight, pre) {
33-
height: 100%;
34-
margin-bottom: 0rem;
35-
}
36-
37-
/**
38-
* Display footnotes in more compact form
39-
*/
40-
dl.footnote.brackets {
41-
display: grid;
42-
grid-template-columns: max-content auto;
43-
}
44-
.footnote.brackets dt {
45-
grid-column-start: 1;
46-
margin-right: 1rem;
47-
}
48-
.footnote.brackets dd { grid-column-start: 2; }
49-
50-
/* set footnote labels to superscript */
51-
a.footnote-reference {
52-
vertical-align: super;
53-
font-size: 80%;
54-
line-height: 0rem; /* avoid extending line-height */
55-
}

requirements/docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pandoc>=1.0
66
docutils>=0.16,<0.18 # Sphinx not yet compatible with docutils >= 0.18
77
sphinxcontrib-fulltoc>=1.0
88
sphinxcontrib-mockautodoc
9-
https://github.com/PyTorchLightning/lightning_sphinx_theme/archive/master.zip#egg=pt-lightning-sphinx-theme
9+
git+git://github.com/speediedan/lightning_sphinx_theme.git@ee6935124c2475804571ff5afe24d3218acbc96f#egg=pt_lightning_sphinx_theme
1010
sphinx-autodoc-typehints>=1.0
1111
sphinx-paramlinks>=0.5.1
1212
sphinx-togglebutton>=0.2

0 commit comments

Comments
 (0)