escience_theme 0.0.3 → 0.1.0

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.
@@ -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];
@@ -1544,6 +1508,12 @@ function addDecorations() {
1544
1508
  data_state += " logo blue_overlay touch_pane purple_blob right_e_bottom";
1545
1509
  };
1546
1510
 
1511
+ // title
1512
+ if ( data_state.includes("title"))
1513
+ {
1514
+ data_state += " blue_overlay yellow_flag yellow_strip purple_half_circle_bottom purple_blob right_e_top";
1515
+ };
1516
+
1547
1517
  // individual elements
1548
1518
 
1549
1519
  // purple overlay
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "escience_theme",
3
- "version": "0.0.3",
3
+ "version": "0.1.0",
4
4
  "description": "eScience Center theme for web presentations",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/test/script.js DELETED
@@ -1,3 +0,0 @@
1
- import Escience from 'escience_theme';
2
-
3
- console.log(Escience);