Browse Source

remove old code

pull/1800/head
Zach Ramsay 7 years ago
parent
commit
8ff95bf32c
2 changed files with 0 additions and 27 deletions
  1. +0
    -17
      docs/_static/custom_collapsible_code.css
  2. +0
    -10
      docs/_static/custom_collapsible_code.js

+ 0
- 17
docs/_static/custom_collapsible_code.css View File

@ -1,17 +0,0 @@
.toggle {
padding-bottom: 1em ;
}
.toggle .header {
display: block;
clear: both;
cursor: pointer;
}
.toggle .header:after {
content: " ▼";
}
.toggle .header.open:after {
content: " ▲";
}

+ 0
- 10
docs/_static/custom_collapsible_code.js View File

@ -1,10 +0,0 @@
let makeCodeBlocksCollapsible = function() {
$(".toggle > *").hide();
$(".toggle .header").show();
$(".toggle .header").click(function() {
$(this).parent().children().not(".header").toggle({"duration": 400});
$(this).parent().children(".header").toggleClass("open");
});
};
// we could use the }(); way if we would have access to jQuery in HEAD, i.e. we would need to force the theme
// to load jQuery before our custom scripts

Loading…
Cancel
Save