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 @@ -17,13 +17,13 @@

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

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

{% macro body_post() %}
<script src="{{ pathto('_static/js/index.4bc14ce28f4cf826ca84.js', 1) }}"></script>
<script src="{{ pathto('_static/js/index.9ab83e9ee01d4093105a.js', 1) }}"></script>
{% endmacro %}
13 changes: 1 addition & 12 deletions src/scss/_base.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
html {
font-size: var(--font-size-base);
scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
Expand Down Expand Up @@ -108,15 +109,3 @@ pre {
border: 1px solid rgb(201, 201, 201);
box-shadow: 1px 1px 1px #d8d8d8;
}

// offsetting html elements with anchor attached to adjust for fixed header
:target {
&::before {
// offsetting html anchor titles to adjust for fixed header
display: block;
content: '';
height: var(--header-height);
margin: calc(-1 * var(--header-height)) 0 0;
background-color: white;
}
}