Skip to content

Commit 0aebb39

Browse files
committed
Better wiki sidebar styling, fix JSON highlighting
1 parent 464d1e0 commit 0aebb39

File tree

7 files changed

+19
-10
lines changed

7 files changed

+19
-10
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,3 +446,5 @@ $RECYCLE.BIN/
446446
!.vscode/tasks.json
447447
!.vscode/launch.json
448448
!.vscode/extensions.json
449+
450+
Web/wwwroot/wiki-pages/crafting/

Web/Pages/WikiPage.razor.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
}
66

77
nav.wiki-nav {
8-
width: 30rem;
8+
width: max-content;
9+
min-width: 17rem;
910
margin-right: 1.6rem;
1011
padding: 1rem;
11-
background-color: lightslategray;
12+
background-color: #384048;
1213
color: white;
1314
border-radius: 0.5rem;
15+
height: fit-content;
1416
}
1517
nav.wiki-nav ul {
1618
list-style: none;

Web/Pages/WikiPage.razor.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Web/Pages/WikiPage.razor.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
}
66

77
nav.wiki-nav {
8-
width: 30rem;
8+
width: max-content;
9+
min-width: 17rem;
910
margin-right: 1.6rem;
1011
padding: 1rem;
11-
background-color: lightslategray;
12+
background-color: darken(slategray, 25%);
1213
color: white;
1314
border-radius: .5rem;
15+
height: fit-content;
1416

1517
ul {
1618
list-style: none;

Web/wwwroot/prism/prism.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* PrismJS 1.28.0
2-
https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+clike+javascript+java+json+json5+toml&plugins=toolbar */
2+
https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+clike+javascript+java+json+json5+toml&plugins=toolbar+copy-to-clipboard */
33
code[class*=language-], pre[class*=language-] {
44
color: #ccc;
55
background: 0 0;

Web/wwwroot/prism/prism.js

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Web/wwwroot/prism/prism.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* PrismJS 1.28.0
2-
https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript&plugins=toolbar+copy-to-clipboard */
2+
https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+clike+javascript+java+json+json5+toml&plugins=toolbar+copy-to-clipboard */
33
code[class*=language-], pre[class*=language-] {
44
color: #ccc;
55
background: 0 0;

0 commit comments

Comments
 (0)