Skip to content

Commit 08174c2

Browse files
Remove notebook table specific styling (included by nbsphinx) (pandas-dev#27)
1 parent 99af6bd commit 08174c2

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

pandas_sphinx_theme/static/sphinx-bootstrap.css_t

-37
Original file line numberDiff line numberDiff line change
@@ -123,43 +123,6 @@ td.field-body blockquote {
123123
padding-left: 30px;
124124
}
125125

126-
// Adapted from the new Jupyter notebook style
127-
// https://github.com/jupyter/notebook/blob/c8841b68c4c0739bbee1291e0214771f24194079/notebook/static/notebook/less/renderedhtml.less#L59
128-
table {
129-
margin-left: auto;
130-
margin-right: auto;
131-
border: none;
132-
border-collapse: collapse;
133-
border-spacing: 0;
134-
color: @rendered_html_border_color;
135-
table-layout: fixed;
136-
}
137-
thead {
138-
border-bottom: 1px solid @rendered_html_border_color;
139-
vertical-align: bottom;
140-
}
141-
tr, th, td {
142-
vertical-align: middle;
143-
padding: 0.5em 0.5em;
144-
line-height: normal;
145-
white-space: normal;
146-
max-width: none;
147-
border: none;
148-
}
149-
th {
150-
font-weight: bold;
151-
}
152-
th.col_heading {
153-
text-align: right;
154-
}
155-
tbody tr:nth-child(odd) {
156-
background: #f5f5f5;
157-
}
158-
159-
table td.data, table th.row_heading table th.col_heading {
160-
font-family: monospace;
161-
text-align: right;
162-
}
163126

164127
/**
165128
* Styling for autosummary tables

0 commit comments

Comments
 (0)