forked from ginkgo-project/ginkgo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9c4bfe
commit e8046a5
Showing
3 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
html{ | ||
--pst-font-size-base: 17px; | ||
} | ||
html[data-theme="light"] { | ||
--pst-color-primary: #F7A71E; | ||
} | ||
.bd-page-width { | ||
max-width: 100rem; /* default is 88rem */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2020 Chris Holdgraf | ||
|
||
SPDX-License-Identifier: BSD-3-Clause | ||
#} | ||
|
||
{# | ||
Copied from: https://github.com/executablebooks/sphinx-book-theme/blob/master/src/sphinx_book_theme/theme/sphinx_book_theme/macros/buttons.html | ||
to remove the light/dark theme switcher button | ||
#} | ||
|
||
{% from "sphinx_book_theme/macros/buttons.html" import render_funcs with context %} | ||
|
||
<div class="article-header-buttons"> | ||
{%- for button in header_buttons -%} | ||
{% set btype = button.get("type") %} | ||
{% set bopts = button.copy() %} | ||
{% set _ = bopts.pop("type") %} | ||
{{ render_funcs[btype](**bopts) }} | ||
{%- endfor -%} | ||
|
||
{#- Extra theme buttons #} | ||
{% include "search-button.html" %} | ||
{% include "toggle-secondary-sidebar.html" %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters