Skip to content

Commit 470a2b5

Browse files
committed
docs: Remove redundant custom CSS
My fork `sphinx_rtd_theme` handles everything but the logo Trying this again after RTD switched on the `PIP_ALWAYS_UPGRADE` flag for the project: readthedocs/readthedocs.org#4156
1 parent ca09123 commit 470a2b5

File tree

1 file changed

+0
-190
lines changed

1 file changed

+0
-190
lines changed

docs/_static/custom.css

-190
Original file line numberDiff line numberDiff line change
@@ -1,148 +1,3 @@
1-
@import url(//fonts.googleapis.com/css?family=Roboto+Mono:400,700|Roboto:400,700);
2-
/* Layout */
3-
.wy-nav-content-wrap {
4-
background: #fff;
5-
}
6-
@media screen and (min-width: 1400px) {
7-
.wy-nav-content-wrap {
8-
background: #f3f4f4;
9-
}
10-
}
11-
.wy-nav-content {
12-
max-width: 900px;
13-
background: #fff;
14-
}
15-
16-
/* Typography */
17-
body,
18-
h1, h2, h3, h4, h5, h6 {
19-
font-family: 'Roboto', 'Helvetica Neue', sans-serif;
20-
}
21-
body {
22-
font-size: 16px;
23-
}
24-
body p {
25-
line-height: 1.5;
26-
}
27-
28-
/* Headers */
29-
h2 {
30-
border-bottom: 1px solid #eaecef;
31-
padding-bottom: 10px;
32-
margin-top: 30px;
33-
}
34-
35-
/* Paragraphs */
36-
p {
37-
margin-bottom: 16px;
38-
}
39-
40-
/* Code */
41-
pre,
42-
code,
43-
tt,
44-
.highlight
45-
.docutils.literal span.pre,
46-
.rst-content pre,
47-
.rst-content tt,
48-
.rst-content code {
49-
font-family: 'Roboto Mono', 'Monaco', monospace;
50-
font-size: 85%;
51-
border: none;
52-
border-radius: 3px;
53-
background: rgba(27, 31, 35, 0.05);
54-
}
55-
56-
/* Code literals */
57-
.rst-content code.literal {
58-
color: inherit;
59-
padding-top: 0.15em;
60-
padding-right: 0.5em;
61-
padding-bottom: 0.15em;
62-
padding-left: 0.5em;
63-
font-weight: normal;
64-
}
65-
66-
/* Syntax-highlighted blocks */
67-
.rst-content div[class^='highlight'],
68-
div[class^='highlight'] {
69-
border: none;
70-
border-radius: 3px;
71-
background: #f6f8fa;
72-
}
73-
/* Code blocks */
74-
.rst-content div[class^='highlight'] pre,
75-
div[class^='highlight'] pre {
76-
font-family: 'Roboto Mono', 'Monaco', monospace;
77-
font-size: 90%;
78-
background: none;
79-
padding: 16px;
80-
border: none;
81-
line-height: 1.45;
82-
}
83-
.admonition div[class^='highlight'] {
84-
background: rgba(27, 31, 35, 0.05);
85-
}
86-
87-
88-
/* Module headers */
89-
h1 > code.xref.py.py-mod.docutils.literal {
90-
background: none;
91-
padding-left: 0;
92-
margin-left: 0;
93-
font-size: 100%;
94-
}
95-
code.xref.py.docutils.literal {
96-
font-weight: normal;
97-
}
98-
99-
/* Lists with code items */
100-
ul.simple > li > a.reference.internal > code.literal {
101-
line-height: 2.25;
102-
}
103-
104-
/* Class/function headers */
105-
.rst-content dl:not(.docutils) dt {
106-
border-top: none;
107-
border-radius: 3px;
108-
border-left: solid 3px #6ab0de;
109-
font-size: 100%;
110-
}
111-
.rst-content dl.attribute:not(.docutils) dt,
112-
.rst-content dl.method:not(.docutils) dt {
113-
font-size: 95%;
114-
}
115-
116-
/* Warnings, notes, etc. */
117-
div.admonition {
118-
border-radius: 3px;
119-
}
120-
p.first.admonition-title {
121-
border-radius: 3px 3px 0 0;
122-
}
123-
124-
/* Code links */
125-
a.reference.internal > code.docutils.literal {
126-
color: inherit;
127-
}
128-
a.reference.internal > .docutils.literal:hover {
129-
text-decoration: underline;
130-
}
131-
132-
/* Breadcrumbs */
133-
ul.wy-breadcrumbs > li > code.docutils.literal {
134-
font-size: 100%;
135-
background: none;
136-
}
137-
138-
/* Navbar */
139-
.wy-menu.wy-menu-vertical a.reference.internal > .docutils.literal {
140-
font-size: 100%;
141-
margin: 5px;
142-
}
143-
.wy-menu-vertical li.current > a {
144-
border: none;
145-
}
1461
.wy-side-nav-search > a img.logo {
1472
background-image: url(https://github.com/wmayner/pyphi/raw/develop/docs/_static/phi_144x144.png);
1483
background-size: 144px 144px;
@@ -157,48 +12,3 @@ ul.wy-breadcrumbs > li > code.docutils.literal {
15712
background-image: url(https://github.com/wmayner/pyphi/raw/develop/docs/_static/phi_288x288.png);
15813
}
15914
}
160-
161-
/* Napoleon style fixes (parameters, return type, etc.) */
162-
.wy-table td, .rst-content table.docutils td, .rst-content table.field-list td,
163-
.wy-table th, .rst-content table.docutils th, .rst-content table.field-list th {
164-
font-size: 100%
165-
}
166-
.rst-content table.field-list th {
167-
padding-top: 5px;
168-
}
169-
.rst-content table.field-list td>strong {
170-
margin-top: 0;
171-
}
172-
.rst-content dt > em {
173-
font-size: 100%;
174-
}
175-
.rst-content dt > .sig-paren {
176-
font-family: 'Roboto Mono', 'Monaco', monospace;
177-
font-size: 100%;
178-
}
179-
table.field-list td.field-body > p {
180-
line-height: 1.5;
181-
}
182-
table.field-list td.field-body {
183-
padding-top: 3px;
184-
}
185-
.section ul > li {
186-
line-height: 1.5;
187-
margin-top: 5px;
188-
}
189-
190-
/* Table of contents */
191-
.toctree-wrapper ul > li {
192-
line-height: 1.5;
193-
}
194-
195-
.toctree-wrapper ul > li > a.reference.internal > code.literal {
196-
line-height: 2.25;
197-
}
198-
199-
/* Search result highlighting */
200-
.rst-content .highlighted {
201-
background: yellow;
202-
font-weight: inherit;
203-
padding: 0;
204-
}

0 commit comments

Comments
 (0)