summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2024-02-24 15:29:19 +0900
committerMatan Kushner <hello@matchai.dev>2024-02-24 15:29:19 +0900
commitdde53b4496c0784e6775560788a7b8942f12a60c (patch)
treea4e6e66793fd71a28adb56ccc066e31cbc810ddf
parentb4046a0f74cc2296d08551dd0abfb5e6e76261c6 (diff)
A bit more style tweakingfix-up-styles
-rw-r--r--docs/.vitepress/theme/index.styl15
-rw-r--r--docs/README.md12
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.
---
-<div class="center">
- <video class="demo-video" muted autoplay loop playsinline>
- <source src="/demo.webm" type="video/webm">
- <source src="/demo.mp4" type="video/mp4">
- </video>
-</div>
+<video class="demo-video" muted autoplay loop playsinline>
+ <source src="/demo.webm" type="video/webm">
+ <source src="/demo.mp4" type="video/mp4">
+</video>
### 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