A bit more style tweaking

This commit is contained in:
Matan Kushner 2024-02-24 15:29:19 +09:00
parent b4046a0f74
commit dde53b4496
No known key found for this signature in database
2 changed files with 11 additions and 16 deletions

View File

@ -25,16 +25,11 @@
.VPHero .main .VPHero .main
margin: 0 auto margin: 0 auto
.center .demo-video
margin 0 auto max-width: 700px // The width of the video
width: 80% width: 100%
.demo-video margin: 50px auto
width: 100% border-radius: 6px
margin: 50px 0
border-radius: 6px
.hero
margin: 150px 25px 70px
.action-button .action-button
background-color: #dd0b78 !important background-color: #dd0b78 !important

View File

@ -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. 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>
<video class="demo-video" muted autoplay loop playsinline> <source src="/demo.webm" type="video/webm">
<source src="/demo.webm" type="video/webm"> <source src="/demo.mp4" type="video/mp4">
<source src="/demo.mp4" type="video/mp4"> </video>
</video>
</div>
### Prerequisites ### Prerequisites
@ -54,6 +52,7 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
```sh ```sh
brew install starship brew install starship
``` ```
With [Winget](https://github.com/microsoft/winget-cli): With [Winget](https://github.com/microsoft/winget-cli):
```powershell ```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): Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell):
```sh ```sh
mkdir ~/.cache/starship mkdir ~/.cache/starship
starship init nu | save -f ~/.cache/starship/init.nu starship init nu | save -f ~/.cache/starship/init.nu