Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs fixes #323

Merged
merged 2 commits into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export default defineConfig({
search: {
provider: 'local'
},
logo: "/mr.cookie.svg",
editLink: {
pattern: 'https://github.com/bavix/gripmock/edit/master/docs/:path'
},
Expand Down
16 changes: 16 additions & 0 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
:root {
--vp-home-hero-image-background-image: linear-gradient(-44deg, #b033ec 50%, #41b9ea 50%);
--vp-home-hero-image-filter: blur(46px);
}

@media (min-width: 640px) {
:root {
--vp-home-hero-image-filter: blur(50px);
}
}

@media (min-width: 960px) {
:root {
--vp-home-hero-image-filter: blur(75px);
}
}
4 changes: 4 additions & 0 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import DefaultTheme from 'vitepress/theme'
import './custom.css'

export default DefaultTheme
19 changes: 0 additions & 19 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,3 @@ hero:
# - title: Feature C
# details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
---

<style>
:root {
--vp-home-hero-image-background-image: linear-gradient(-44deg, #b033ec 50%, #41b9ea 50%);
--vp-home-hero-image-filter: blur(46px);
}

@media (min-width: 640px) {
:root {
--vp-home-hero-image-filter: blur(50px);
}
}

@media (min-width: 960px) {
:root {
--vp-home-hero-image-filter: blur(75px);
}
}
</style>
Loading