Compare commits
2 commits
b65140edce
...
443347cad6
Author | SHA1 | Date | |
---|---|---|---|
|
443347cad6 | ||
|
8cff085e59 |
|
@ -18,6 +18,9 @@
|
|||
|
||||
<link rel="stylesheet" href="{% getBundleFileUrl "css" %}">
|
||||
<link rel="stylesheet" href="{% getBundleFileUrl "css", "defer" %}">
|
||||
<script src="{% getBundleFileUrl "js" %}"></script>
|
||||
<script src="{% getBundleFileUrl "js", "module %}"></script>
|
||||
{% getBundle "html", "head" %}
|
||||
</head>
|
||||
<body>
|
||||
<a href="#skip" class="visually-hidden">Skip to main content</a>
|
||||
|
|
|
@ -27,9 +27,6 @@ export default async function (eleventyConfig) {
|
|||
"./node_modules/reveal.js/plugin/": "/revealjs-plugins/",
|
||||
});
|
||||
|
||||
// Run Eleventy when these files change:
|
||||
// https://www.11ty.dev/docs/watch-serve/#add-your-own-watch-targets
|
||||
|
||||
// Watch content images for the image pipeline.
|
||||
eleventyConfig.addWatchTarget("content/**/*.{svg,webp,png,jpeg}");
|
||||
|
||||
|
@ -146,7 +143,6 @@ export default async function (eleventyConfig) {
|
|||
// return `<section data-transition=${transition}> ${mdIt.renderInline(content)} </section>`;
|
||||
//})
|
||||
//
|
||||
// Paired shortcode for callout
|
||||
eleventyConfig.addPairedShortcode("callout", function(content) {
|
||||
// The 'content' variable holds the text/HTML placed between
|
||||
// {% callout %} and {% endcallout %}
|
||||
|
@ -154,6 +150,10 @@ export default async function (eleventyConfig) {
|
|||
return `<div class="callout">${content}</div>`;
|
||||
});
|
||||
|
||||
eleventyConfig.addBundle("css");
|
||||
eleventyConfig.addBundle("js");
|
||||
eleventyConfig.addBundle("html");
|
||||
|
||||
// Features to make your build faster (when you need them)
|
||||
|
||||
// If your passthrough copy gets heavy and cumbersome, add this line
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
/* Message Box */
|
||||
.message-box {
|
||||
--color-message-box: #ffc;
|
||||
|
||||
display: block;
|
||||
background-color: var(--color-message-box);
|
||||
color: var(--color-gray-90);
|
||||
padding: 1em 0.625em; /* 16px 10px /16 */
|
||||
}
|
||||
.message-box ol {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.message-box {
|
||||
--color-message-box: #082840;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue