Skip to content

Commit

Permalink
Merge pull request #50 from electron-vite/dev
Browse files Browse the repository at this point in the history
feat: update hero page
  • Loading branch information
caoxiemeihao committed Sep 7, 2023
2 parents 6094cb7 + c7b91c8 commit 82bf503
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
25 changes: 22 additions & 3 deletions .vitepress/theme/styles/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,26 @@
transition: color 0.25s;
}

.VPHero .image-src {
width: 240px;
height: 240px;
@media (min-width: 640px) {
.VPHero .text {
font-size: 34px;
line-height: 1.14;
}

.VPHero .image-src {
width: 190px;
height: 190px;
}
}

@media (min-width: 960px) {
.VPHero .text {
font-size: 40px;
line-height: 1.14;
}

.VPHero .image-src {
width: 240px;
height: 240px;
}
}
3 changes: 2 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ layout: home

hero:
name: "Electron⚡️Vite"
tagline: Create desktop applications using Electron and Vite
text: The easiest way to turn a Vite App into an Electron App
tagline: Full-featured Renderer process support, especially <code>C/C++</code> addons.
image:
src: /electron-vite.animate.svg
alt: electron-vite
Expand Down

0 comments on commit 82bf503

Please sign in to comment.