presi-slides 1.0.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.
- package/LICENSE +28 -0
- package/dist/presi-slides.cjs +111 -0
- package/dist/presi-slides.js +8538 -0
- package/dist/prism-coy-without-shadows.css +143 -0
- package/dist/prism-theme.css +144 -0
- package/dist/slides.css +1456 -0
- package/eleventy.config.js +48 -0
- package/index.html +42 -0
- package/layouts/presentation.njk +23 -0
- package/package.json +38 -0
- package/public/prism-coy-without-shadows.css +143 -0
- package/public/prism-theme.css +144 -0
- package/public/slides.css +1456 -0
- package/slide-decks/Sample Presi.textbundle/assets/image 6.png +0 -0
- package/slide-decks/Sample Presi.textbundle/info.json +10 -0
- package/slide-decks/Sample Presi.textbundle/text.md +45 -0
- package/slide-decks/slide-decks.11tydata.json +3 -0
- package/src/index.js +10 -0
- package/src/slide-footer.js +109 -0
- package/src/slide-presi.js +120 -0
- package/src/slide-view.js +142 -0
- package/src/slides.js +18 -0
- package/transforms/slides.js +75 -0
- package/vite.config.js +9 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coy without shadows
|
|
3
|
+
* Based on Tim Shedor's Coy theme for prism.js
|
|
4
|
+
* Author: RunDevelopment
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
code[class*="language-"],
|
|
8
|
+
pre[class*="language-"] {
|
|
9
|
+
color: black;
|
|
10
|
+
background: none;
|
|
11
|
+
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
12
|
+
font-size: 1em;
|
|
13
|
+
text-align: left;
|
|
14
|
+
white-space: pre;
|
|
15
|
+
word-spacing: normal;
|
|
16
|
+
word-break: normal;
|
|
17
|
+
word-wrap: normal;
|
|
18
|
+
line-height: 1.5;
|
|
19
|
+
|
|
20
|
+
-moz-tab-size: 4;
|
|
21
|
+
-o-tab-size: 4;
|
|
22
|
+
tab-size: 4;
|
|
23
|
+
|
|
24
|
+
-webkit-hyphens: none;
|
|
25
|
+
-moz-hyphens: none;
|
|
26
|
+
-ms-hyphens: none;
|
|
27
|
+
hyphens: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Code blocks */
|
|
31
|
+
pre[class*="language-"] {
|
|
32
|
+
position: relative;
|
|
33
|
+
border-left: 10px solid #358ccb;
|
|
34
|
+
box-shadow: -1px 0 0 0 #358ccb, 0 0 0 1px #dfdfdf;
|
|
35
|
+
background-color: #fdfdfd;
|
|
36
|
+
background-image: repeating-linear-gradient(
|
|
37
|
+
transparent,
|
|
38
|
+
transparent 1.5em,
|
|
39
|
+
rgba(69, 142, 209, 0.05) 1.5em,
|
|
40
|
+
rgba(69, 142, 209, 0.05) 3em);
|
|
41
|
+
background-origin: content-box;
|
|
42
|
+
background-attachment: local;
|
|
43
|
+
margin: .5em 0;
|
|
44
|
+
padding: 0 1em;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
pre[class*="language-"] > code {
|
|
48
|
+
display: block;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Inline code */
|
|
52
|
+
:not(pre) > code[class*="language-"] {
|
|
53
|
+
position: relative;
|
|
54
|
+
padding: .2em;
|
|
55
|
+
border-radius: 0.3em;
|
|
56
|
+
color: #c92c2c;
|
|
57
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
58
|
+
display: inline;
|
|
59
|
+
white-space: normal;
|
|
60
|
+
background-color: #fdfdfd;
|
|
61
|
+
-webkit-box-sizing: border-box;
|
|
62
|
+
-moz-box-sizing: border-box;
|
|
63
|
+
box-sizing: border-box;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.token.comment,
|
|
67
|
+
.token.block-comment,
|
|
68
|
+
.token.prolog,
|
|
69
|
+
.token.doctype,
|
|
70
|
+
.token.cdata {
|
|
71
|
+
color: #7D8B99;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.token.punctuation {
|
|
75
|
+
color: #5F6364;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.token.property,
|
|
79
|
+
.token.tag,
|
|
80
|
+
.token.boolean,
|
|
81
|
+
.token.number,
|
|
82
|
+
.token.function-name,
|
|
83
|
+
.token.constant,
|
|
84
|
+
.token.symbol,
|
|
85
|
+
.token.deleted {
|
|
86
|
+
color: #c92c2c;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.token.selector,
|
|
90
|
+
.token.attr-name,
|
|
91
|
+
.token.string,
|
|
92
|
+
.token.char,
|
|
93
|
+
.token.function,
|
|
94
|
+
.token.builtin,
|
|
95
|
+
.token.inserted {
|
|
96
|
+
color: #2f9c0a;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.token.operator,
|
|
100
|
+
.token.entity,
|
|
101
|
+
.token.url,
|
|
102
|
+
.token.variable {
|
|
103
|
+
color: #a67f59;
|
|
104
|
+
background: rgba(255, 255, 255, 0.5);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.token.atrule,
|
|
108
|
+
.token.attr-value,
|
|
109
|
+
.token.keyword,
|
|
110
|
+
.token.class-name {
|
|
111
|
+
color: #1990b8;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.token.regex,
|
|
115
|
+
.token.important {
|
|
116
|
+
color: #e90;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.language-css .token.string,
|
|
120
|
+
.style .token.string {
|
|
121
|
+
color: #a67f59;
|
|
122
|
+
background: rgba(255, 255, 255, 0.5);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.token.important {
|
|
126
|
+
font-weight: normal;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.token.bold {
|
|
130
|
+
font-weight: bold;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.token.italic {
|
|
134
|
+
font-style: italic;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.token.entity {
|
|
138
|
+
cursor: help;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.token.namespace {
|
|
142
|
+
opacity: .7;
|
|
143
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* prism.js default theme for JavaScript, CSS and HTML
|
|
3
|
+
* Based on dabblet (http://dabblet.com)
|
|
4
|
+
* @author Lea Verou
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
code[class*="language-"],
|
|
8
|
+
pre[class*="language-"] {
|
|
9
|
+
color: black;
|
|
10
|
+
background: none;
|
|
11
|
+
text-shadow: 0 1px white;
|
|
12
|
+
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
|
13
|
+
font-size: 1em;
|
|
14
|
+
text-align: left;
|
|
15
|
+
white-space: pre;
|
|
16
|
+
word-spacing: normal;
|
|
17
|
+
word-break: normal;
|
|
18
|
+
word-wrap: normal;
|
|
19
|
+
line-height: 1.5;
|
|
20
|
+
|
|
21
|
+
-moz-tab-size: 4;
|
|
22
|
+
-o-tab-size: 4;
|
|
23
|
+
tab-size: 4;
|
|
24
|
+
|
|
25
|
+
-webkit-hyphens: none;
|
|
26
|
+
-moz-hyphens: none;
|
|
27
|
+
-ms-hyphens: none;
|
|
28
|
+
hyphens: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
pre[class*="language-"]::-moz-selection,
|
|
32
|
+
pre[class*="language-"] ::-moz-selection,
|
|
33
|
+
code[class*="language-"]::-moz-selection,
|
|
34
|
+
code[class*="language-"] ::-moz-selection {
|
|
35
|
+
text-shadow: none;
|
|
36
|
+
background: #b3d4fc;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
pre[class*="language-"]::selection,
|
|
40
|
+
pre[class*="language-"] ::selection,
|
|
41
|
+
code[class*="language-"]::selection,
|
|
42
|
+
code[class*="language-"] ::selection {
|
|
43
|
+
text-shadow: none;
|
|
44
|
+
background: #b3d4fc;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@media print {
|
|
48
|
+
code[class*="language-"],
|
|
49
|
+
pre[class*="language-"] {
|
|
50
|
+
text-shadow: none;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Code blocks */
|
|
55
|
+
pre[class*="language-"] {
|
|
56
|
+
padding: 1em;
|
|
57
|
+
margin: 0.5em 0;
|
|
58
|
+
overflow: auto;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:not(pre) > code[class*="language-"],
|
|
62
|
+
pre[class*="language-"] {
|
|
63
|
+
background: #f5f2f0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Inline code */
|
|
67
|
+
:not(pre) > code[class*="language-"] {
|
|
68
|
+
padding: 0.1em;
|
|
69
|
+
border-radius: 0.3em;
|
|
70
|
+
white-space: normal;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.token.comment,
|
|
74
|
+
.token.prolog,
|
|
75
|
+
.token.doctype,
|
|
76
|
+
.token.cdata {
|
|
77
|
+
color: slategray;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.token.punctuation {
|
|
81
|
+
color: #999;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.token.namespace {
|
|
85
|
+
opacity: 0.7;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.token.property,
|
|
89
|
+
.token.tag,
|
|
90
|
+
.token.boolean,
|
|
91
|
+
.token.number,
|
|
92
|
+
.token.constant,
|
|
93
|
+
.token.symbol,
|
|
94
|
+
.token.deleted {
|
|
95
|
+
color: #905;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.token.selector,
|
|
99
|
+
.token.attr-name,
|
|
100
|
+
.token.string,
|
|
101
|
+
.token.char,
|
|
102
|
+
.token.builtin,
|
|
103
|
+
.token.inserted {
|
|
104
|
+
color: #690;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.token.operator,
|
|
108
|
+
.token.entity,
|
|
109
|
+
.token.url,
|
|
110
|
+
.language-css .token.string,
|
|
111
|
+
.style .token.string {
|
|
112
|
+
color: #9a6e3a;
|
|
113
|
+
/* This background color was intended by the author of this theme. */
|
|
114
|
+
background: hsla(0, 0%, 100%, 0.5);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.token.atrule,
|
|
118
|
+
.token.attr-value,
|
|
119
|
+
.token.keyword {
|
|
120
|
+
color: #07a;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.token.function,
|
|
124
|
+
.token.class-name {
|
|
125
|
+
color: #dd4a68;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.token.regex,
|
|
129
|
+
.token.important,
|
|
130
|
+
.token.variable {
|
|
131
|
+
color: #e90;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.token.important,
|
|
135
|
+
.token.bold {
|
|
136
|
+
font-weight: bold;
|
|
137
|
+
}
|
|
138
|
+
.token.italic {
|
|
139
|
+
font-style: italic;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.token.entity {
|
|
143
|
+
cursor: help;
|
|
144
|
+
}
|