Skip to content

Commit

Permalink
Add pages menu to small width.
Browse files Browse the repository at this point in the history
  • Loading branch information
create3000 committed Dec 13, 2023
1 parent bca72d7 commit f746b8b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions docs/assets/css/jekyll-theme-chirpy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
--system-yellow: rgb(255, 214, 10);
--system-blue: rgb(10, 132, 255);
--system-green: rgb(48, 209, 88);
--playground-toolbar-color: rgba(48, 17, 78, 0.7);
--playground-toolbar-color: rgba(38, 38, 38, 0.7);
--playground-editor-background: rgba(0, 0, 0, 0.2);
}

Expand All @@ -35,8 +35,8 @@
--system-yellow: rgb(255, 204, 0);
--system-blue: rgb(0, 122, 255);
--system-green: rgb(52, 199, 89);
--playground-toolbar-color: rgba(176, 176, 176, 0.7);
--playground-editor-background: rgba(0, 0, 0, 0.03);
--playground-toolbar-color: rgba(237, 239, 240, 0.7);
--playground-editor-background: rgba(227, 229, 230, 0.7);
}

@media (prefers-color-scheme: dark) {
Expand All @@ -59,6 +59,12 @@
}
}

@media all and not (max-width: 1199px) {
.post-tail-wrapper > .nav-wrapper {
display: none;
}
}

/* append your custom style below */

header a.rounded-circle {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"postmake": "npm i -P electron",
"release": "node build/release.js",
"download": "node build/download.js",
"predocs": "rm -r docs/_site/",
"predocs": "mkdir -p docs/_site/ && rm -r docs/_site/",
"docs": "cd docs && bundle exec jekyll serve --incremental --host=`ipconfig getifaddr en0`",
"docs-install": "cd docs && bundle install",
"docs-update": "cd docs && bundle update",
Expand Down

0 comments on commit f746b8b

Please sign in to comment.