Skip to content

Commit

Permalink
Merge pull request #323 from bavix/docs-fixes
Browse files Browse the repository at this point in the history
Docs fixes
  • Loading branch information
rez1dent3 authored Jul 6, 2024
2 parents d5a9607 + 32dcb93 commit fc1e72a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
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>

0 comments on commit fc1e72a

Please sign in to comment.