diff --git a/docs/docs/getting-started/install.md b/docs/docs/getting-started/install.md index da04e8468..e894596fb 100644 --- a/docs/docs/getting-started/install.md +++ b/docs/docs/getting-started/install.md @@ -7,9 +7,7 @@ keywords: [install, installation, getting started, vs code, jetbrains] ## VS Code 1. Click `Install` on the [Continue extension page in the Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=Continue.continue) - 2. This will open the Continue extension page in VS Code, where you will need to click `Install` again - 3. The Continue logo will appear on the left sidebar. For a better experience, move Continue to the right sidebar ![move-to-right-sidebar](/img/move-to-right-sidebar.gif) @@ -20,10 +18,8 @@ If you have any problems, see the [troubleshooting guide](troubleshooting.md) or ## JetBrains -1. Open your JetBrains IDE and open **Settings** using `cmd/ctrl + ,` - +1. Open your JetBrains IDE and open **Settings** using cmd/ctrl + , 2. Select **Plugins** on the sidebar and search for "Continue" in the marketplace - 3. Click `Install`, which will cause the Continue logo to show up on the right toolbar ![jetbrains-getting-started.png](/img/jetbrains-getting-started.png) diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index da6a4abd6..6002807cc 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -15,6 +15,14 @@ --ifm-color-primary-lightest: rgb(67, 31, 242); --ifm-code-font-size: 95%; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); + --ifm-list-item-margin: 0.70rem; + /* These vars control the colors of the kbd tag 3d keycap */ + --kbd-keycap-bg-color: #ffffffce; + --kbd-keycap-border-color: #ccc; + --kbd-text-color: #ca3a18; + --kbd-shadow-color: #b4b4b4; + --kbd-shadow-color-outer: #9c9c9c; + --kbd-shadow-tint: rgba(0, 0, 0, .4); } /* For readability concerns, you should choose a lighter palette in dark mode. */ @@ -26,5 +34,33 @@ --ifm-color-primary-light: #59bc89ff; --ifm-color-primary-lighter: #59bc89ff; --ifm-color-primary-lightest: #59bc89ff; - --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); + --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.4); + /* These vars control the colors of the kbd tag 3d keycap */ + --kbd-keycap-bg-color: #414859; + --kbd-keycap-border-color: #495265; + --kbd-text-color: #9ad7fa; + --kbd-shadow-color: #2e3341; + --kbd-shadow-color-outer: #373e4b; + --kbd-shadow-tint: rgba(173, 212, 247, 0.4); +} + +kbd { + display: inline-block; + padding: 0.3em 0.4em; + font-family: var(--ifm-font-family-monospace); + font-size: .8rem; + font-weight: 500; + line-height: .8; + color: var(--kbd-text-color); + text-align: center; + white-space: nowrap; + background-color: var(--kbd-keycap-bg-color); + border: 1px solid var(--kbd-keycap-border-color); + border-radius: 0.3em; + box-shadow: + 0 2px 0 1px var(--kbd-shadow-color), + 0 3px 0 2px var(--kbd-shadow-color-outer), + 0 4px 6px var(--kbd-shadow-tint); + position: relative; + top: 0; }