Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pydata_sphinx_theme/static/webpack-macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@

{% macro head_pre_bootstrap() %}
<link href="{{ pathto('_static/css/theme.css', 1) }}" rel="stylesheet">
<link href="{{ pathto('_static/css/index.ef515bf865743bbaed9984579188973e.css', 1) }}" rel="stylesheet">
<link href="{{ pathto('_static/css/index.adfc57296990d4b2f3a187d629e201b3.css', 1) }}" rel="stylesheet">
{% endmacro %}

{% macro head_js_preload() %}
<link rel="preload" as="script" href="{{ pathto('_static/js/index.9c9e368bceed924a6569.js', 1) }}">
<link rel="preload" as="script" href="{{ pathto('_static/js/index.bf9e07489fed6cf49b0d.js', 1) }}">
{% endmacro %}

{% macro body_post() %}
<script src="{{ pathto('_static/js/index.9c9e368bceed924a6569.js', 1) }}"></script>
<script src="{{ pathto('_static/js/index.bf9e07489fed6cf49b0d.js', 1) }}"></script>
{% endmacro %}
23 changes: 23 additions & 0 deletions src/scss/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,29 @@ $grid-breakpoints: (
@import './api';

// Custom css, TODO: to be refactored in different partials
// GitHub blockquote style
blockquote {
padding: 0 1em;
color: #6a737d;
border-left: .25em solid #dfe2e5;
}

// For consistency, add bracket around footnotes/citations which are
// cited more than once. E.g. [Newton](1,2) instead of Newton(1,2)
dt.label > span.brackets:not(:only-child):before {
content: "[";
}

dt.label > span.brackets:not(:only-child):after {
content: "]";
}

// Make footnote as a supercript
a.footnote-reference {
vertical-align: super;
font-size: small;
}

div.deprecated {
margin-bottom: 10px;
margin-top: 10px;
Expand Down