diff --git a/.marprc.yml b/.marprc.yml index 70bf767..c834fb5 100644 --- a/.marprc.yml +++ b/.marprc.yml @@ -1,4 +1,4 @@ -engine: ./engine.mjs +engine: ./engine.js output: index.html themeSet: - themes/rose-pine-dawn.css diff --git a/engine.mjs b/engine.js similarity index 100% rename from engine.mjs rename to engine.js diff --git a/index.html b/index.html index f6bd2d8..9006c47 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@ palette in :root */div#\:\$p>svg>foreignObject>:where(section):not([root]){--base:#191724;--surface:#1f1d2e;--overlay:#26233a;--muted:#6e6a86;--subtle:#908caa;--text:#e0def4;--love:#eb6f92;--gold:#f6c177;--rose:#ebbcba;--pine:#31748f;--foam:#9ccfd8;--iris:#c4a7e7;--highlight-low:#21202e;--highlight-muted:#403d52;--highlight-high:#524f67;font-family:Pier Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,'Apple Color Emoji','Segoe UI Emoji',Segoe UI Symbol,'Noto Color Emoji';font-weight:initial;background-color:var(--base)} /* Common style */div#\:\$p>svg>foreignObject>section :is(h1,marp-h1){color:var(--rose);padding-bottom:2mm;margin-bottom:12mm}div#\:\$p>svg>foreignObject>section :is(h2,marp-h2){color:var(--rose)}div#\:\$p>svg>foreignObject>section :is(h3,marp-h3){color:var(--rose)}div#\:\$p>svg>foreignObject>section :is(h4,marp-h4){color:var(--rose)}div#\:\$p>svg>foreignObject>section :is(h5,marp-h5){color:var(--rose)}div#\:\$p>svg>foreignObject>section :is(h6,marp-h6){color:var(--rose)}div#\:\$p>svg>foreignObject>section a{color:var(--iris)}div#\:\$p>svg>foreignObject>section p{font-size:20pt;font-weight:600;color:var(--text)}div#\:\$p>svg>foreignObject>section code{color:var(--text);background-color:var(--highlight-muted)}div#\:\$p>svg>foreignObject>section text{color:var(--text)}div#\:\$p>svg>foreignObject>section ul{color:var(--subtle)}div#\:\$p>svg>foreignObject>section li{color:var(--subtle)}div#\:\$p>svg>foreignObject>section img{background-color:var(--highlight-low)}div#\:\$p>svg>foreignObject>section strong{color:var(--text);font-weight:inherit;font-weight:800}div#\:\$p>svg>foreignObject>section mjx-container{color:var(--text)}div#\:\$p>svg>foreignObject>section marp-pre{background-color:var(--overlay);border-color:var(--highlight-high)} -/* Code blok */div#\:\$p>svg>foreignObject>section .hljs-comment{color:var(--muted)}div#\:\$p>svg>foreignObject>section .hljs-attr{color:var(--foam)}div#\:\$p>svg>foreignObject>section .hljs-punctuation{color:var(--subtle)}div#\:\$p>svg>foreignObject>section .hljs-string{color:var(--gold)}div#\:\$p>svg>foreignObject>section .hljs-title{color:var(--foam)}div#\:\$p>svg>foreignObject>section .hljs-keyword{color:var(--pine)}div#\:\$p>svg>foreignObject>section .hljs-variable{color:var(--text)}div#\:\$p>svg>foreignObject>section .hljs-literal{color:var(--rose)}div#\:\$p>svg>foreignObject>section .hljs-type{color:var(--love)}div#\:\$p>svg>foreignObject>section .hljs-number{color:var(--gold)}div#\:\$p>svg>foreignObject>section .hljs-built_in{color:var(--love)}div#\:\$p>svg>foreignObject>section .hljs-params{color:var(--iris)}div#\:\$p>svg>foreignObject>section .hljs-symbol{color:var(--foam)}div#\:\$p>svg>foreignObject>section .hljs-meta{color:var(--subtle)}div#\:\$p>svg>foreignObject>section{justify-content:start}div#\:\$p>svg>foreignObject>section :is(pre,marp-pre){max-height:calc(100vh);overflow:auto}div#\:\$p>svg>foreignObject>section[data-marpit-scope-PhUonaK9]{justify-content:center}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]{columns:initial!important;display:block!important;padding:0!important}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]:after,div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]:before,div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=content]:after,div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=content]:before{display:none!important}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]>div[data-marpit-advanced-background-container]{all:initial;display:flex;flex-direction:row;height:100%;overflow:hidden;width:100%}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]>div[data-marpit-advanced-background-container][data-marpit-advanced-background-direction=vertical]{flex-direction:column}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background][data-marpit-advanced-background-split]>div[data-marpit-advanced-background-container]{width:var(--marpit-advanced-background-split,50%)}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background][data-marpit-advanced-background-split=right]>div[data-marpit-advanced-background-container]{margin-left:calc(100% - var(--marpit-advanced-background-split, 50%))}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]>div[data-marpit-advanced-background-container]>figure{all:initial;background-position:center;background-repeat:no-repeat;background-size:cover;flex:auto;margin:0}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]>div[data-marpit-advanced-background-container]>figure>figcaption{position:absolute;border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;white-space:nowrap;width:1px}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=content],div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=pseudo]{background:transparent!important}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=pseudo],div#\:\$p>svg[data-marpit-svg]>foreignObject[data-marpit-advanced-background=pseudo]{pointer-events:none!important}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background-split]{width:100%;height:100%}