mirror of https://github.com/tycrek/ass
parent
bd4b1d618d
commit
873dd80750
@ -0,0 +1,13 @@
|
|||||||
|
/* Modest dark fixes */
|
||||||
|
pre, code { background-color: unset !important; }
|
||||||
|
h1, h2, h3 { border-bottom: 2px solid #323232 !important; }
|
||||||
|
|
||||||
|
/* Dark theme */
|
||||||
|
body {
|
||||||
|
background-color: #212121;
|
||||||
|
color: #BDBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
body, button {
|
||||||
|
text-shadow: 1px 1px 2px black;
|
||||||
|
}
|
@ -1,17 +1,13 @@
|
|||||||
meta(name='viewport' content='width=device-width, initial-scale=1.0, viewport-fit=cover')
|
meta(name='viewport' content='width=device-width, initial-scale=1.0, viewport-fit=cover')
|
||||||
|
|
||||||
//- Markdown stylesheet & Highlight.js theme
|
//- Markdown stylesheet & Highlight.js theme
|
||||||
|
style: include css/ass.css
|
||||||
style: include css/modest.css
|
style: include css/modest.css
|
||||||
style: include css/dracula.highlight.js.css
|
style: include css/dracula.highlight.js.css
|
||||||
|
|
||||||
//- jQuery; DarkReader for easy dark modes; Highlight.js for codeblocks
|
//- jQuery; Highlight.js for codeblocks
|
||||||
script(src='https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js')
|
script(src='https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js')
|
||||||
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(src='https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.7.1/build/highlight.min.js')
|
||||||
script.
|
script.
|
||||||
// Dark mode with Dark Reader
|
|
||||||
DarkReader.setFetchMethod(window.fetch);
|
|
||||||
DarkReader.enable({}, { css: '#content { background-color: #121212 !important; }' }); // Fix the card colour
|
|
||||||
|
|
||||||
// Highlight code blocks
|
// Highlight code blocks
|
||||||
hljs.highlightAll();
|
hljs.highlightAll();
|
||||||
|
Loading…
Reference in new issue