Skip to content

Commit

Permalink
input checkbox styling
Browse files Browse the repository at this point in the history
  • Loading branch information
AakashGfude committed May 1, 2023
1 parent b50aed5 commit be53f5c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion quantecon_book_theme/theme.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Note: this should only be changed in src/jinja/theme.conf.j2
[theme]
inherit = pydata_sphinx_theme
stylesheet = quantecon-book-theme.866c05c0faabf6d4b54fbcf535feb16d.css
stylesheet = quantecon-book-theme.183171c103439446b0686a8efc06e2fa.css

[options]
single_page = False
Expand Down
2 changes: 1 addition & 1 deletion src/js/quantecon-book-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,6 @@ document.addEventListener("DOMContentLoaded", function(){
});

// Highlight page TOC links as user scrolls
$(".sticky .page__toc-nav ul").scrollspy();
$(".sticky #bd-toc-nav ul").scrollspy();

})
5 changes: 5 additions & 0 deletions src/scss/quantecon-book-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1481,6 +1481,11 @@ dl.module, dl.class, dl.exception, dl.function, dl.decorator, dl.data, dl.method
}
}

.toctree-checkbox[type="checkbox"] {
position: absolute;
left: 400rem;
}

// div[class^='collapse'] .highlight {
// height: 22.4rem;
// overflow: hidden;
Expand Down

1 comment on commit be53f5c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.