Skip to content

Commit 2e91691

Browse files
committed
Fix styles
1 parent e8c1f70 commit 2e91691

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

index.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# https://vitepress.dev/reference/default-theme-home-page
33
layout: home
44

5+
pageClass: index-page
6+
57
title: Be a blue bubble on Android
68

79
head:
@@ -50,7 +52,7 @@ features:
5052
---
5153

5254
<style>
53-
:root {
55+
.index-page {
5456
--vp-home-hero-name-color: transparent;
5557
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #5CA7F8 30%, #256cb9);
5658
--vp-button-brand-bg: var(--vp-c-brand-3);
@@ -76,13 +78,13 @@ features:
7678
}
7779

7880
@media (max-width: 767px) {
79-
.background {
81+
.index-page .background {
8082
display: block !important;
8183
}
82-
.vp-doc {
84+
.index-page .vp-doc {
8385
padding: 0 !important;
8486
}
85-
.VPHome {
87+
.index-page .VPHome {
8688
margin-bottom: 0 !important;
8789
}
8890
}

openpigeon.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# https://vitepress.dev/reference/default-theme-home-page
33
layout: home
44

5+
pageClass: openpigeon-page
6+
57
title: Play GamePigeon on Android
68

79
head:
@@ -116,7 +118,7 @@ We're [Open Source on GitHub!](https://github.com/OpenBubbles/OpenPigeon) We're
116118

117119

118120
<style>
119-
:root {
121+
.openpigeon-page {
120122
--vp-home-hero-name-color: transparent;
121123
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #f85c5c 30%, #f8995c);
122124
--vp-button-brand-bg: #f85c5c;
@@ -137,12 +139,6 @@ We're [Open Source on GitHub!](https://github.com/OpenBubbles/OpenPigeon) We're
137139
}
138140
}
139141

140-
@media (max-width: 767px) {
141-
.vp-doc {
142-
padding: 0 24px !important;
143-
}
144-
}
145-
146142
.image-src {
147143
max-width: 252px;
148144
max-height: 192px;

0 commit comments

Comments
 (0)