Compare commits
8 Commits
dev
...
1c4dad1b2e
Author | SHA1 | Date | |
---|---|---|---|
1c4dad1b2e
|
|||
9ccf00e78a
|
|||
59eccec7c4
|
|||
adc2a36fc2
|
|||
3368bdb999
|
|||
8f5d1a1a3b
|
|||
b6e69f5596
|
|||
bbb49d7a34
|
@@ -4,6 +4,8 @@ View your notes as a static html site. Browse a live sample of it [here](https:/
|
||||
|
||||

|
||||
|
||||
Tested with [pandoc v2.19.2](https://github.com/jgm/pandoc/releases/tag/2.19.2).
|
||||
|
||||
|
||||
## Why?
|
||||
|
||||
|
@@ -7,7 +7,7 @@ const fuse = new Fuse(data, {
|
||||
keys: [
|
||||
{
|
||||
name: HEADERS,
|
||||
weight: 2
|
||||
weight: 1.5
|
||||
},
|
||||
{
|
||||
name: PATH,
|
||||
@@ -19,7 +19,7 @@ const fuse = new Fuse(data, {
|
||||
},
|
||||
{
|
||||
name: TITLE,
|
||||
weight: 1.5
|
||||
weight: 4
|
||||
}
|
||||
],
|
||||
includeMatches: true
|
||||
|
14
styles.css
14
styles.css
@@ -1,6 +1,8 @@
|
||||
@import url("https://styles.alv.cx/colors/gruvbox.css");
|
||||
@import url("https://styles.alv.cx/base.css");
|
||||
@import url("https://styles.alv.cx/modules/search.css");
|
||||
@import url("https://styles.alv.cx/modules/buttonlist.css");
|
||||
@import url("https://styles.alv.cx/modules/darkmode.css");
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
@@ -29,10 +31,10 @@ body {
|
||||
}
|
||||
|
||||
.matchHighlight {
|
||||
background-color: #86c1b9;
|
||||
background-color: var(--blue);
|
||||
}
|
||||
|
||||
#sidebar > #header { padding-bottom: 1em; color: #656565;}
|
||||
#sidebar > #header { padding-bottom: 1em; color: var(--fg-lc);}
|
||||
|
||||
#header > * {
|
||||
margin: 0;
|
||||
@@ -71,12 +73,12 @@ body {
|
||||
|
||||
#sidebar,
|
||||
#toc li > a {
|
||||
color: #656565;
|
||||
color: var(--fg-lc);
|
||||
}
|
||||
|
||||
#toc li, ul#articlelist { list-style: none; }
|
||||
#toc ul, ul#articlelist { margin-left: 0.75em ; padding-left: 0.75em; }
|
||||
#toc ul, ul#articlelist { border-left: 1px solid #b3b3b3;}
|
||||
#toc ul, ul#articlelist { border-left: 1px solid var(--fg-lc);}
|
||||
#toc > ul { padding; none; padding: 0; margin: 0; border: none;max-width: 100%;}
|
||||
li { padding: 0 !important; }
|
||||
|
||||
@@ -91,12 +93,12 @@ ul#articlelist > a{
|
||||
}
|
||||
#toc li > a:hover,
|
||||
ul#articlelist li a:hover {
|
||||
background: #d9d9d9;
|
||||
background: var(--bg-lc);
|
||||
color: black;
|
||||
}
|
||||
|
||||
mjx-container {
|
||||
overflow-x: scroll;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
@media (max-width: 60em) {
|
||||
|
@@ -4,6 +4,13 @@
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" />
|
||||
<link rel="stylesheet" type="text/css" href="/styles.css" />
|
||||
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
||||
<script>
|
||||
MathJax = {
|
||||
tex: {
|
||||
tags: 'ams'
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
||||
<title>$title$</title>
|
||||
</head>
|
||||
|
Reference in New Issue
Block a user