You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ass/views/head.pug

17 lines
686 B

meta(name='viewport' content='width=device-width, initial-scale=1.0, viewport-fit=cover')
//- Markdown stylesheet & Highlight.js theme
style: include css/modest.css
style: include css/dracula.highlight.js.css
//- DarkReader for easy dark modes & Highlight.js for codeblocks
3 years ago
script(src='https://cdn.jsdelivr.net/npm/darkreader@4/darkreader.min.js')
script(src='https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.7.1/build/highlight.min.js')
script.
// Dark mode with Dark Reader
DarkReader.setFetchMethod(window.fetch);
DarkReader.enable({}, { css: '#content { background-color: #121212 !important; }' }); // Fix the card colour
3 years ago
// Highlight code blocks
hljs.highlightAll();