Compare commits
6 Commits
dev
...
59eccec7c4
Author | SHA1 | Date | |
---|---|---|---|
59eccec7c4
|
|||
adc2a36fc2
|
|||
3368bdb999
|
|||
8f5d1a1a3b
|
|||
b6e69f5596
|
|||
bbb49d7a34
|
@@ -7,7 +7,7 @@ const fuse = new Fuse(data, {
|
|||||||
keys: [
|
keys: [
|
||||||
{
|
{
|
||||||
name: HEADERS,
|
name: HEADERS,
|
||||||
weight: 2
|
weight: 1.5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: PATH,
|
name: PATH,
|
||||||
@@ -19,7 +19,7 @@ const fuse = new Fuse(data, {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: TITLE,
|
name: TITLE,
|
||||||
weight: 1.5
|
weight: 4
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
includeMatches: true
|
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/base.css");
|
||||||
@import url("https://styles.alv.cx/modules/search.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/buttonlist.css");
|
||||||
|
@import url("https://styles.alv.cx/modules/darkmode.css");
|
||||||
|
|
||||||
html {
|
html {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
@@ -29,10 +31,10 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.matchHighlight {
|
.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 > * {
|
#header > * {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -71,12 +73,12 @@ body {
|
|||||||
|
|
||||||
#sidebar,
|
#sidebar,
|
||||||
#toc li > a {
|
#toc li > a {
|
||||||
color: #656565;
|
color: var(--fg-lc);
|
||||||
}
|
}
|
||||||
|
|
||||||
#toc li, ul#articlelist { list-style: none; }
|
#toc li, ul#articlelist { list-style: none; }
|
||||||
#toc ul, ul#articlelist { margin-left: 0.75em ; padding-left: 0.75em; }
|
#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%;}
|
#toc > ul { padding; none; padding: 0; margin: 0; border: none;max-width: 100%;}
|
||||||
li { padding: 0 !important; }
|
li { padding: 0 !important; }
|
||||||
|
|
||||||
@@ -91,12 +93,12 @@ ul#articlelist > a{
|
|||||||
}
|
}
|
||||||
#toc li > a:hover,
|
#toc li > a:hover,
|
||||||
ul#articlelist li a:hover {
|
ul#articlelist li a:hover {
|
||||||
background: #d9d9d9;
|
background: var(--bg-lc);
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
mjx-container {
|
mjx-container {
|
||||||
overflow-x: scroll;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 60em) {
|
@media (max-width: 60em) {
|
||||||
|
Reference in New Issue
Block a user