From dde53b4496c0784e6775560788a7b8942f12a60c Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Sat, 24 Feb 2024 15:29:19 +0900 Subject: A bit more style tweaking --- docs/.vitepress/theme/index.styl | 15 +++++---------- docs/README.md | 12 ++++++------ 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/docs/.vitepress/theme/index.styl b/docs/.vitepress/theme/index.styl index d8d6d8eb5..bdb036b5c 100644 --- a/docs/.vitepress/theme/index.styl +++ b/docs/.vitepress/theme/index.styl @@ -25,16 +25,11 @@ .VPHero .main margin: 0 auto -.center - margin 0 auto - width: 80% - .demo-video - width: 100% - margin: 50px 0 - border-radius: 6px - -.hero - margin: 150px 25px 70px +.demo-video + max-width: 700px // The width of the video + width: 100% + margin: 50px auto + border-radius: 6px .action-button background-color: #dd0b78 !important diff --git a/docs/README.md b/docs/README.md index 0115892ea..2cf7a0c27 100644 --- a/docs/README.md +++ b/docs/README.md @@ -22,12 +22,10 @@ metaTitle: "Starship: Cross-Shell Prompt" description: Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, and PowerShell. --- -
- -
+ ### Prerequisites @@ -54,6 +52,7 @@ description: Starship is the minimal, blazing fast, and extremely customizable p ```sh brew install starship ``` + With [Winget](https://github.com/microsoft/winget-cli): ```powershell @@ -146,6 +145,7 @@ description: Starship is the minimal, blazing fast, and extremely customizable p ::: Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell): + ```sh mkdir ~/.cache/starship starship init nu | save -f ~/.cache/starship/init.nu -- cgit v1.2.3