Skip to content
Merged
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
23 changes: 16 additions & 7 deletions .vitepress/theme/components/AsideSponsors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const sponsors = computed(() => {
</template>

<style>
.vite-event {
.viteconf {
margin-top: 1rem;
margin-bottom: 1rem;
border-radius: 14px;
Expand All @@ -53,26 +53,35 @@ const sponsors = computed(() => {
border: 2px solid var(--vp-c-bg-alt);
transition: border-color 0.5s;
}
.vite-event:hover {
.viteconf:hover {
border: 2px solid var(--vp-c-brand-light);
}
.vite-event img {
.viteconf img {
transition: transform 0.5s;
transform: scale(1.25);
}
.vite-event:hover img {
.viteconf:hover img {
transform: scale(1.75);
}
.vite-event .heading {
background-image: var(--vp-home-hero-name-background);
.viteconf .heading {
background-image: linear-gradient(
120deg,
#b047ff 16%,
var(--vp-c-brand-lighter),
var(--vp-c-brand-lighter)
);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.vite-event .extra-info {
.viteconf .extra-info {
color: var(--vp-c-text-1);
opacity: 0;
font-size: 0.7rem;
padding-left: 0.1rem;
transition: opacity 0.5s;
}
.viteconf:hover .extra-info {
opacity: 0.9;
}
</style>