escience_theme 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/escience_5.1.0.esm.js +0 -36
- package/package.json +1 -1
package/escience_5.1.0.esm.js
CHANGED
|
@@ -695,42 +695,6 @@ footer {
|
|
|
695
695
|
// TODO: Refactor this quick hack into a Reveal plugin form (it works at least)
|
|
696
696
|
const initDecorations = function(Reveal) {
|
|
697
697
|
|
|
698
|
-
if (!document.getElementById('syntax_highlighting'))
|
|
699
|
-
{
|
|
700
|
-
var head = document.getElementsByTagName('head')[0];
|
|
701
|
-
var link = document.createElement('link');
|
|
702
|
-
link.id = 'syntax_highlighting';
|
|
703
|
-
link.rel = 'stylesheet';
|
|
704
|
-
link.type = 'text/css';
|
|
705
|
-
link.href = 'plugin/highlight/monokai.css';
|
|
706
|
-
link.media = 'all';
|
|
707
|
-
head.appendChild(link);
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
if (!document.getElementById('black_base_theme'))
|
|
711
|
-
{
|
|
712
|
-
var head = document.getElementsByTagName('head')[0];
|
|
713
|
-
var link = document.createElement('link');
|
|
714
|
-
link.id = 'black_base_theme';
|
|
715
|
-
link.rel = 'stylesheet';
|
|
716
|
-
link.type = 'text/css';
|
|
717
|
-
link.href = 'dist/theme/black.css';
|
|
718
|
-
link.media = 'all';
|
|
719
|
-
head.appendChild(link);
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
//if (!document.getElementById('nlescCss'))
|
|
723
|
-
//{
|
|
724
|
-
// var head = document.getElementsByTagName('head')[0];
|
|
725
|
-
// var link = document.createElement('link');
|
|
726
|
-
// link.id = 'nlescCss';
|
|
727
|
-
// link.rel = 'stylesheet';
|
|
728
|
-
// link.type = 'text/css';
|
|
729
|
-
// link.href = 'plugin/escience/escience_5.1.0.css';
|
|
730
|
-
// link.media = 'all';
|
|
731
|
-
// head.appendChild(link);
|
|
732
|
-
//}
|
|
733
|
-
|
|
734
698
|
if (!document.getElementById('fonts'))
|
|
735
699
|
{
|
|
736
700
|
var head = document.getElementsByTagName('head')[0];
|