Skip to content

Commit

Permalink
fix: missing theme overrides (#96)
Browse files Browse the repository at this point in the history
Co-authored-by: Raphael Strotz <Xzelsius@users.noreply.github.com>
  • Loading branch information
Xzelsius and Xzelsius authored Oct 8, 2024
1 parent c0ad00e commit 9dd4601
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 38 deletions.
37 changes: 37 additions & 0 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
/* Customize the brand colors */
:root {
--vp-c-brand-1: var(--vp-c-green-1);
--vp-c-brand-2: var(--vp-c-green-2);
--vp-c-brand-3: var(--vp-c-green-3);
--vp-c-brand-soft: var(--vp-c-green-soft);
}

/* Customize the home page */
:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #298459 30%, #E3CF46);

--vp-home-hero-image-background-image: linear-gradient(-45deg, #298459 50%, #E3CF46 50%);
--vp-home-hero-image-filter: blur(44px);
}

.VPHomeHero .VPImage {
max-width: 150px;
max-height: 150px;
}

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

.VPHomeHero .VPImage {
max-width: 200px;
min-height: 200px;
}
}

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

.VPHomeHero .VPImage {
max-width: 250px;
max-height: 250px;
}
}
2 changes: 1 addition & 1 deletion docs/en/guide/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ See [.NET and .NET Core Support Policy](https://dotnet.microsoft.com/en-us/platf
There are no plans for any multi-target builds, as I don't want the additional complexity of such.
:::

<style>
<style scoped>
img.release-cadence {
content: url(https://dotnet.microsoft.com/blob-assets/images/illustrations/release-schedule.svg);
}
Expand Down
37 changes: 0 additions & 37 deletions docs/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,40 +23,3 @@ features:
- title: Soon&trade;
details: Keep an eye out for upcoming features and enhancements.
---

<style>
:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #298459 30%, #E3CF46);

--vp-home-hero-image-background-image: linear-gradient(-45deg, #298459 50%, #E3CF46 50%);
--vp-home-hero-image-filter: blur(44px);
}

.VPHomeHero .image-src {
max-width: 150px;
max-height: 150px;
}

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

.VPHomeHero .imgage-src {
max-width: 200px;
min-height: 200px;
}
}

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

.VPHomeHero .image-src {
max-width: 250px;
max-height: 250px;
}
}
</style>

0 comments on commit 9dd4601

Please sign in to comment.