Skip to content

Commit

Permalink
fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 committed Jul 6, 2024
1 parent a4ea794 commit 32dcb93
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
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 32dcb93

Please sign in to comment.