Skip to content

Commit f986e54

Browse files
committed
feat(ui): enhance layout of team page
1 parent 19a5886 commit f986e54

File tree

2 files changed

+43
-51
lines changed

2 files changed

+43
-51
lines changed

docs/.vitepress/theme/style.css

Lines changed: 43 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,13 @@
9292

9393
:root {
9494
--vp-home-hero-name-color: transparent;
95-
--vp-home-hero-name-background: -webkit-linear-gradient(
96-
120deg,
97-
#3451b2 30%,
98-
#131681
99-
);
100-
101-
--vp-home-hero-image-background-image: linear-gradient(
102-
-45deg,
103-
#bd34fe 50%,
104-
#47caff 50%
105-
);
95+
--vp-home-hero-name-background: -webkit-linear-gradient(120deg,
96+
#3451b2 30%,
97+
#131681);
98+
99+
--vp-home-hero-image-background-image: linear-gradient(-45deg,
100+
#bd34fe 50%,
101+
#47caff 50%);
106102
--vp-home-hero-image-filter: blur(44px);
107103
}
108104

@@ -131,27 +127,26 @@
131127

132128
@media (min-width: 960px) {
133129
.name[data-v-72cc4481] {
134-
font-size: 70px;
135-
line-height: 80px;
130+
font-size: 70px;
131+
line-height: 80px;
136132
}
137133
}
138134

139135
@media (min-width: 960px) {
140136
.text[data-v-72cc4481] {
141-
font-size: 54px;
142-
line-height: 80px;
137+
font-size: 54px;
138+
line-height: 80px;
143139
}
144140
}
145141

146142
@media (min-width: 960px) {
147143
.tagline[data-v-72cc4481] {
148-
font-size: 28px;
144+
font-size: 28px;
149145
}
150146
}
151147

152148
.title[data-v-55e263fd] {
153-
display: flex
154-
;
149+
display: flex;
155150
align-items: center;
156151
border-bottom: 1px solid transparent;
157152
width: 100%;
@@ -179,3 +174,33 @@
179174
--docsearch-primary-color: var(--vp-c-brand-1) !important;
180175
}
181176

177+
178+
@media (min-width: 768px) {
179+
.VPPage .VPTeamPage {
180+
margin: 5vh 0;
181+
}
182+
}
183+
184+
@media (min-width: 960px) {
185+
.VPPage .VPTeamPageTitle {
186+
padding: 0px 40px 48px;
187+
}
188+
}
189+
190+
@media (min-width: 768px) {
191+
.VPPage .lead {
192+
max-width: 740px;
193+
letter-spacing: 0.1px;
194+
line-height: 28px;
195+
font-size: 20px;
196+
}
197+
}
198+
199+
.title-line[data-v-38a4eb39] {
200+
position: absolute;
201+
top: 16px;
202+
left: 0;
203+
width: 100%;
204+
height: 1px;
205+
background-color: var(--vp-c-divider);
206+
}

docs/team.md

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -81,39 +81,6 @@ const members = [
8181
]
8282
</script>
8383

84-
<style>
85-
86-
@media (min-width: 768px) {
87-
.VPTeamPage[data-v-5f7da39d] {
88-
margin: 5vh 0;
89-
}
90-
}
91-
92-
@media (min-width: 960px) {
93-
.VPTeamPageTitle[data-v-baf690b4] {
94-
padding: 0px 40px 48px;
95-
}
96-
}
97-
98-
@media (min-width: 768px) {
99-
.lead[data-v-baf690b4] {
100-
max-width: 740px;
101-
letter-spacing: 0.1px;
102-
line-height: 28px;
103-
font-size: 20px;
104-
}
105-
}
106-
107-
.title-line[data-v-38a4eb39] {
108-
position: absolute;
109-
top: 16px;
110-
left: 0;
111-
width: 100%;
112-
height: 1px;
113-
background-color: var(--vp-c-divider);
114-
}
115-
</style>
116-
11784
<VPTeamPage>
11885

11986
<VPTeamPageSection>

0 commit comments

Comments
 (0)